Viewing 15 posts - 16 through 30 (of 32 total)
  • Author
    Posts
  • richardmax Friend
    #511279

    Hello @majdi

    path is: templates/ja_beranis/css/bootstrap-responsive.css

    osorgho Friend
    #511832

    Hi to all
    I will return to the different steps of change logo. I tried to follow this forum but I do not it. Can someone summarize all these steps in a single post? Will have to use the LESS file and after to compile LESS to CSS?
    I use the 3.1 of this template and the logo size is : 145 X 90.


    1. Home_header
    osorgho Friend
    #511845

    Person to meet me ?????:((

    richardmax Friend
    #511869

    @osorgho

    What you is you request?

    phong nam Friend
    #512111

    @osorgho: You can back up the files and refer this tip to change the logo and its size on our T3v3 templates.

    I guess the width span of logo and navigation position in header block may be abandon the size of your logo. The idea is increasing the span grid of logo so that it will display fine the selected size. Just try on that and don’t forget to inform me the result.

    majdi2 Friend
    #517153

    <em>@majdi2 396234 wrote:</em><blockquote>We have the logo width set to 150, but full width of logo is not showing, see attached screenshot…</blockquote>

    We edited the template.css to the following;

    .logo-image h1 a {
    background-image: url("../images/logo.png");
    background-repeat: no-repeat;
    width: 150px;
    height: 95px;

    Why is it so completed to change a logo? This should be a simple process, users should be able to upload a new logo and the template should adjust to the new logo width and hight.

    Can someone please help us fix this problem.

    Thanks

    phong nam Friend
    #517157

    Hi majdi2,

    In fact, you can upload a new logo image inside the Theme tab of template style. However, the logo section size will be different on the JA templates and generally the new logo of you guys always is bigger than our default template logo. That is why adjusting the new logo size with editing the .css file is most potential solution.

    majdi2 Friend
    #517267

    Hi Leo, we did just that and it did not work, please see attachment and how the logo is cut off the right edge.

    phong nam Friend
    #517281

    Hi,

    Can you upload the attachment again and PM me with the site’s url ? I will take a look and give you the suitable override css styles to solve the cut logo.

    majdi2 Friend
    #517380

    @richardmax,

    I followed your instructions and added the custom.css as per Ninja Lead. This is what we get; . You can see the main menu has dropped and remained there even after making changes as per http://www.joomlart.com/forums/topic/resize-logo-4/#post-509473
    Please help…


    1. screenshot1
    majdi2 Friend
    #517382

    Anyone please help…

    phong nam Friend
    #517426

    @ majdi2,

    As mentioned in previous reply, could you send me the site’s url? I will take a look and give you css tweak to fit the logo.

    pguaraz Friend
    #523655

    <em>@richardmax 394221 wrote:</em><blockquote>Yes i know, mega menu is the key.

    I have made ​​progress. Search div on top of menu:

    I did: in templates/ja_beranis/tpls/blocks/header.php find ..

    <header id="t3-header" class="t3-header container">
    <div class="row">

    <!-- LOGO -->
    <div class="span2 logo">
    <div class="logo-<?php echo $logotype ?>">
    <h1>
    <a href="<?php echo JURI::base(true) ?>" title="<?php echo strip_tags($sitename) ?>"<?php echo $logoimage ?>>
    <span><?php echo $sitename ?></span>
    </a>
    </h1>
    <small class="site-slogan hidden-phone"><?php echo $slogan ?></small>
    </div>
    </div>
    <!-- //LOGO -->

    <!-- MAIN NAVIGATION -->

    <nav id="t3-mainnav" class="t3-mainnav navbar-collapse-fixed-top span10">
    <?php if ($this->countModules('position-0')) : ?>
    <div class="head-position<?php $this->_c('position-0')?>">
    <jdoc:include type="modules" name="<?php $this->_p('position-0') ?>" style="raw" />
    </div>
    <?php endif ?>

    <?php if ($this->countModules('languageswitcherload')) : ?>
    <div class="languageswitcher<?php $this->_c('languageswitcherload')?>">
    <jdoc:include type="modules" name="<?php $this->_p('languageswitcherload') ?>" style="raw" />
    </div>
    <?php endif ?>

    <div class="navbar">
    <div class="navbar-inner">
    <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
    <i class="icon-reorder"></i>
    </button>
    <div class="nav-collapse collapse<?php echo $this->getParam('navigation_collapse_showsub', 1) ? ' always-show' : '' ?>">
    <?php if ($this->getParam('navigation_type') == 'megamenu') : ?>
    <?php $this->megamenu($this->getParam('mm_type', 'mainmenu')) ?>
    <?php else : ?>
    <jdoc:include type="modules" name="<?php $this->_p('mainnav') ?>" style="raw" />
    <?php endif ?>
    </div>
    </div>
    </div>
    </nav>
    <!-- //MAIN NAVIGATION -->

    </div>
    </header>

    and Move to upper Logo session :

    <header id="t3-header" class="t3-header container">
    <div class="row">

    <?php if ($this->countModules('position-0')) : ?>
    <div class="head-position<?php $this->_c('position-0')?>">
    <jdoc:include type="modules" name="<?php $this->_p('position-0') ?>" style="raw" />
    </div>
    <?php endif ?>

    <!-- LOGO -->
    <div class="span2 logo">
    <div class="logo-<?php echo $logotype ?>">
    <h1>
    <a href="<?php echo JURI::base(true) ?>" title="<?php echo strip_tags($sitename) ?>"<?php echo $logoimage ?>>
    <span><?php echo $sitename ?></span>
    </a>
    </h1>
    <small class="site-slogan hidden-phone"><?php echo $slogan ?></small>
    </div>
    </div>
    <!-- //LOGO -->

    <!-- MAIN NAVIGATION -->

    <nav id="t3-mainnav" class="t3-mainnav navbar-collapse-fixed-top span10">

    <?php if ($this->countModules('languageswitcherload')) : ?>
    <div class="languageswitcher<?php $this->_c('languageswitcherload')?>">
    <jdoc:include type="modules" name="<?php $this->_p('languageswitcherload') ?>" style="raw" />
    </div>
    <?php endif ?>

    <div class="navbar">
    <div class="navbar-inner">
    <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
    <i class="icon-reorder"></i>
    </button>
    <div class="nav-collapse collapse<?php echo $this->getParam('navigation_collapse_showsub', 1) ? ' always-show' : '' ?>">
    <?php if ($this->getParam('navigation_type') == 'megamenu') : ?>
    <?php $this->megamenu($this->getParam('mm_type', 'mainmenu')) ?>
    <?php else : ?>
    <jdoc:include type="modules" name="<?php $this->_p('mainnav') ?>" style="raw" />
    <?php endif ?>
    </div>
    </div>
    </div>
    </nav>
    <!-- //MAIN NAVIGATION -->

    </div>
    </header>

    And have it:

    but does not look good in smartphone portrait view:

    Thanks</blockquote>
    @richardmax

    I made the suggested change, but it works when the template is the default. In my case I’m using the orange did not take the change. Can you help? thanks

    Site url http://200.110.132.182/~admin15/

    phong nam Friend
    #523771

    @pguaraz: The logo can be displayed differently from various themes. You can go to Template Manager >> JA_Beranis_styles >> and make sure that the same logo was uploaded to all themes.

    richardmax Friend
    #523777

    <em>@pguaraz 412507 wrote:</em><blockquote>@richardmax

    I made the suggested change, but it works when the template is the default. In my case I’m using the orange did not take the change. Can you help? thanks

    Site url http://200.110.132.182/~admin15/</blockquote>

    Hi @pguaraz, @majdi2,

    Are you right. Work only for default template. Follow me:

    Note: My logo is: width: 166px height: 82px. You must work from your own data, of course

    1- Add to templates/ja_beranis/css/customs.css (will be loaded by all themes)


    /* For smartphone portrait view.
    * Width is ok for my logo. Try you
    */

    @media (max-width: 767px) {
    .logo-image h1 a {
    height: 35px !important;
    background-size: 50% !important;
    margin-top: 0px !important;
    }
    }

    /*
    * span2 + span10 (width) can't not bigger than .container (width: 880px;)
    *
    * For Logo container area
    * Width is ok for my logo. Try you
    *
    */

    .span2 {
    width: 166px;
    }

    /* For Nav container area.
    * Width is ok for my logo. Try you
    */

    .span10 {
    width: 690px;
    float: right;
    }

    /* For logo dimensions and picture */
    .logo-image h1 a {
    background-image: url("../images/samg_logo.png");
    background-repeat: no-repeat;
    width: 166px;
    height: 82px;
    }

    2- in templates/ja_beranis/tpls/blocks/header.php find ..

    <header id="t3-header" class="t3-header container">
    <div class="row">

    <!-- LOGO -->
    <div class="span2 logo">
    <div class="logo-<?php echo $logotype ?>">
    <h1>
    <a href="<?php echo JURI::base(true) ?>" title="<?php echo strip_tags($sitename) ?>"<?php echo $logoimage ?>>
    <span><?php echo $sitename ?></span>
    </a>
    </h1>
    <small class="site-slogan hidden-phone"><?php echo $slogan ?></small>
    </div>
    </div>
    <!-- //LOGO -->

    <!-- MAIN NAVIGATION -->

    <nav id="t3-mainnav" class="t3-mainnav navbar-collapse-fixed-top span10">
    <?php if ($this->countModules('position-0')) : ?>
    <div class="head-position<?php $this->_c('position-0')?>">
    <jdoc:include type="modules" name="<?php $this->_p('position-0') ?>" style="raw" />
    </div>
    <?php endif ?>

    <?php if ($this->countModules('languageswitcherload')) : ?>
    <div class="languageswitcher<?php $this->_c('languageswitcherload')?>">
    <jdoc:include type="modules" name="<?php $this->_p('languageswitcherload') ?>" style="raw" />
    </div>
    <?php endif ?>

    <div class="navbar">
    <div class="navbar-inner">
    <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
    <i class="icon-reorder"></i>
    </button>
    <div class="nav-collapse collapse<?php echo $this->getParam('navigation_collapse_showsub', 1) ? ' always-show' : '' ?>">
    <?php if ($this->getParam('navigation_type') == 'megamenu') : ?>
    <?php $this->megamenu($this->getParam('mm_type', 'mainmenu')) ?>
    <?php else : ?>
    <jdoc:include type="modules" name="<?php $this->_p('mainnav') ?>" style="raw" />
    <?php endif ?>
    </div>
    </div>
    </div>
    </nav>
    <!-- //MAIN NAVIGATION -->

    </div>
    </header>

    and Move to upper Logo session :

    <header id="t3-header" class="t3-header container">
    <div class="row">

    <?php if ($this->countModules('position-0')) : ?>
    <div class="head-position<?php $this->_c('position-0')?>">
    <jdoc:include type="modules" name="<?php $this->_p('position-0') ?>" style="raw" />
    </div>
    <?php endif ?>

    <!-- LOGO -->
    <div class="span2 logo">
    <div class="logo-<?php echo $logotype ?>">
    <h1>
    <a href="<?php echo JURI::base(true) ?>" title="<?php echo strip_tags($sitename) ?>"<?php echo $logoimage ?>>
    <span><?php echo $sitename ?></span>
    </a>
    </h1>
    <small class="site-slogan hidden-phone"><?php echo $slogan ?></small>
    </div>
    </div>
    <!-- //LOGO -->

    <!-- MAIN NAVIGATION -->

    <nav id="t3-mainnav" class="t3-mainnav navbar-collapse-fixed-top span10">

    <?php if ($this->countModules('languageswitcherload')) : ?>
    <div class="languageswitcher<?php $this->_c('languageswitcherload')?>">
    <jdoc:include type="modules" name="<?php $this->_p('languageswitcherload') ?>" style="raw" />
    </div>
    <?php endif ?>

    <div class="navbar">
    <div class="navbar-inner">
    <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
    <i class="icon-reorder"></i>
    </button>
    <div class="nav-collapse collapse<?php echo $this->getParam('navigation_collapse_showsub', 1) ? ' always-show' : '' ?>">
    <?php if ($this->getParam('navigation_type') == 'megamenu') : ?>
    <?php $this->megamenu($this->getParam('mm_type', 'mainmenu')) ?>
    <?php else : ?>
    <jdoc:include type="modules" name="<?php $this->_p('mainnav') ?>" style="raw" />
    <?php endif ?>
    </div>
    </div>
    </div>
    </nav>
    <!-- //MAIN NAVIGATION -->

    </div>
    </header>

    It look like this picture:

    Any question send me PM for spanish

    Click Thanks if my post is helpful :-[


    1. orange
Viewing 15 posts - 16 through 30 (of 32 total)

This topic contains 32 replies, has 10 voices, and was last updated by  Ninja Lead 10 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum