Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • txt007 Friend
    #186757

    Hi,

    I would like to change the position of the main nav to allow bigger company logo (see pic attached). How can I change the position of the main nav?

    thanks and regards,
    txt007


    1. HowToMoveTheMainNav
    phong nam Friend
    #490037

    Hi txt007,

    Our mainnav on JA Mendozite template is defined in <blockquote>templatesja_mendoziteblocksmainnav.php</blockquote>.
    And its css styles are defined in <blockquote>templatesja_mendozitecssmenumega.css</blockquote>

    Regards,

    Leo


    1. 4-16-2013-8-40-38-PM
    gesto Friend
    #517568

    ¿Could you explain with details? ¿Where can I find de logo in php code? Thanks

    phong nam Friend
    #517587

    @ gesto,

    The logo is defined in …templatesja_mendoziteblocksheader.php file at lines:

    if ($this->getParam('logoType', 'image')=='image'): ?>
    <h1 class="logo">
    <a href="<?php JURI::base(true) ?>" title="<?php echo $siteName; ?>"><span><?php echo $siteName; ?></span></a>
    </h1>
    <?php else:
    $logoText = (trim($this->getParam('logoText'))=='') ? $siteName : JText::_(trim($this->getParam('logoText')));
    $sloganText = JText::_(trim($this->getParam('sloganText'))); ?>
    <div class="logo-text">
    <h1><a href="<?php JURI::base(true) ?>" title="<?php echo $siteName; ?>"><span><?php echo $logoText; ?></span></a></h1>
    <p class="site-slogan"><?php echo $sloganText;?></p>
    </div>
    <?php endif; ?>

    Just note, you should backup the file before any modification.

    procurement Friend
    #520018

    Ya…..great people help you here on this forum, but isn’t it completely rediculous that you need to adjust header.php to just put your logo in place ??? Do Joomla and Mendozite not offer any WSYG solutions for this ?
    Why does Joomlaart make you pay for templates for which you need assistance for every little detail you want to change or customise ? I consider this a RIP OFF !

    I have problems with adding the logo, adjusting sizes of text/image columns/modules and so on …..
    Seems like Joomla and their Open Sources are a sort of: “how to achieve non-productivity and
    spent your time on little bullshit” cms/webbuilder………..

    phong nam Friend
    #520471

    @procurement: In fact, we do not need to edit the header.php block to adjust the logo size. My suggestion was to answer another user’s question when he wanted to know where the logo is defined in php file.

    In your case, you just open the templates/ja_mendozite/css/template.css file:

    h1.logo a {
    background: url('../templates/ja_mendozite/images/logo.png') no-repeat left;
    display: block;
    width: 335px;
    height: 35px;
    background-size: 100% 100%;
    }

    Then you can adjust the logo size as you want. I really understand that you guys just want to change the logo (simple modification) without editing any php or css file. But, you know the logo size of each website will be different so that It will be not good idea to define a same fixed size available in template.

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

This topic contains 6 replies, has 4 voices, and was last updated by  phong nam 10 years, 9 months ago.

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