Back to top

Autore Topic: RISOLTO - Protostar logo al centro  (Letto 1274 volte)

Offline giallu64

  • Nuovo arrivato
  • *
  • Post: 20
  • Sesso: Maschio
  • https://www.cb27mhz.it/
    • Mostra profilo
RISOLTO - Protostar logo al centro
« il: 05 Gen 2020, 14:42:31 »
Volendo spostare il logo al centro nel template protostar ho provato prima in locale, seguendo un post qui sul forum, tutto è andato bene con logo al centro.
Quindi convinto di aver risolto, eseguo i stessi procedimenti in remoto, ma qui il logo rimane piantato alla sua sinistra.
Il consiglio che avevo seguito è il seguente:
  Cambiato la riga 7167 del template/protostar/css/template.css da:

.header {
 margin-bottom: 10px;
}

in
.header {
   margin-bottom: 10px;
   text-align: center;
}

  poi sono andato /template/protostar/index.php riga 153 e ho cambiato il:


<div class="header-inner clearfix">
               <a class="brand pull-left" href="<?php echo $this->baseurl; ?>/">
                  <?php echo $logo; ?>
                  <?php if ($this->params->get('sitedescription')) : ?>
                     <?php echo '<div class="site-description">' . htmlspecialchars($this->params->get('sitedescription'), ENT_COMPAT, 'UTF-8') . '<>'; ?>
                  <?php endif; ?>
               
in
<div class="header-inner clearfix">
 <a  class="brand" href="<?php echo $this->baseurl; ?>">
 <?php echo $logo;?> <?php if ($this->params->get('sitedescription')) { echo '<div class="site-description">'. htmlspecialchars($this->params->get('sitedescription')) .'<>'; } ?>
 


Come mai in locale funziona e in remoto no?  :o
« Ultima modifica: 05 Gen 2020, 16:17:38 da giallu64 »

Offline giallu64

  • Nuovo arrivato
  • *
  • Post: 20
  • Sesso: Maschio
  • https://www.cb27mhz.it/
    • Mostra profilo
Re:RISOLTO - Protostar logo al centro
« Risposta #1 il: 05 Gen 2020, 16:19:05 »
.... cancellato la cronologia logo al centro..  ;D ;)

 



Web Design Bolzano Kreatif