Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • pavit Moderator
    #904901

    Hi there

    Your website is unreachable for me , blank page could you double check it ?

    Danilo Santana Friend
    #904930

    Add the / portal in the field.

    I want to make the centralized logo and as the page is reduced to smaller it automatically reduces

    pavit Moderator
    #905094

    Hi there

    To have your logo centered follow these steps

    1) Open this file /templates/ja_mitius/tpls/blocks/header.php

    Change from :

        <header id="ja-header" class="ja-header wrap">
      <div class="container">
        <div class="row">
            <!-- LOGO -->
            <div class="span8">
              <div class="logo logo-<?php echo $logotype, ($logoimgsm ? ' logo-control' : '') ?>">
                <h1>
                  <a href="<?php echo JURI::base(true) ?>" title="<?php echo strip_tags($sitename) ?>">
                <?php if($logotype == 'image'): ?>
                  <img class="logo-img" src="<?php echo JURI::base(true) . '/' . $logoimage ?>" alt="<?php echo strip_tags($sitename) ?>" />
                <?php endif ?>
                <?php if($logoimgsm) : ?>
                  <img class="logo-img-sm visible-phone visible-tablet" src="<?php echo JURI::base(true) . '/' . $logoimgsm ?>" alt="<?php echo strip_tags($sitename) ?>" />
                <?php endif ?>
              </a>
                  <small class="site-slogan hidden-phone"><?php echo $slogan ?></small>
                </h1>
              </div>
            </div>
            <!-- //LOGO -->
    
            <div class="span4">     
    
            </div>
        </div>
    
      </div>
    </header>
    <!-- //HEADER -->

    TO :

    <header id="ja-header" class="ja-header wrap">
      <div class="container">
        <div class="row">
            <!-- LOGO -->
            <div class="span12">
              <div class="logo logo-<?php echo $logotype, ($logoimgsm ? ' logo-control' : '') ?>">
                <h1>
                  <a href="<?php echo JURI::base(true) ?>" title="<?php echo strip_tags($sitename) ?>">
                <?php if($logotype == 'image'): ?>
                  <img class="logo-img" src="<?php echo JURI::base(true) . '/' . $logoimage ?>" alt="<?php echo strip_tags($sitename) ?>" />
                <?php endif ?>
                <?php if($logoimgsm) : ?>
                  <img class="logo-img-sm visible-phone visible-tablet" src="<?php echo JURI::base(true) . '/' . $logoimgsm ?>" alt="<?php echo strip_tags($sitename) ?>" />
                <?php endif ?>
              </a>
                  <small class="site-slogan hidden-phone"><?php echo $slogan ?></small>
                </h1>
              </div>
            </div>
            <!-- //LOGO -->
        </div>
      </div>
    </header>
    <!-- //HEADER -->

    2) Open this file /templates/ja_mitius/css/custom.css and add these lines

    .logo{ float:none!important; } 
    .logo-image { margin:0px!important; text-align:center; }

    Look at the image below to see the result

    Best regards


    1. Screenshot_1-5
    Danilo Santana Friend
    #905223

    @pavit

    Thank you!!!

    worked perfectly.

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  Danilo Santana 8 years, 8 months ago.

The topic ‘Centralize logo in Ja mitius’ is closed to new replies.