Joomla.it Forum

Joomla! 3 => I Template di Joomla! 3 => : giallu64 05 Jan 2020, 14:42:31

: RISOLTO - Protostar logo al centro
: giallu64 05 Jan 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
: Re:RISOLTO - Protostar logo al centro
: giallu64 05 Jan 2020, 16:19:05
.... cancellato la cronologia logo al centro..  ;D ;)