test
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • wan fadli Developer
    #161107

    Dear JA and friends,

    i want my logo placed at the same row with my navigation bar (like the attachment).. means besaide the navigation menu.

    ————————————————————-

    LOGO MENU1 – MENU 2 – MENU 3
    ————————————————————–

    template: JA Portfolio

    can anybody help me how to do it..

    thanks 🙂


    1. Untitled-3
    aman204 Friend
    #379999

    Can you provide a link to your site along with updates done for menu as seen in screenshot

    wan fadli Developer
    #380040

    <em>@aman204 225932 wrote:</em><blockquote>Can you provide a link to your site along with updates done for menu as seen in screenshot</blockquote>

    that not a live website, i only sketched using my photoshop.

    but, this is the sample of the website that i found same with what i want:

    http://www.codethepixels.com/
    http://opencal.com/

    i want the logo beside the main menu navigation.

    thank you.

    khoand Friend
    #380088

    Hi,
    My resolve:
    – Open <joomla url>templatesja_portfolioblocksheader.php file
    – Delete this code

    <?php
    $app = & JFactory::getApplication();
    $siteName = $app->getCfg('sitename');
    if ($this->getParam('logoType', 'image')=='image'): ?>
    <h1 class="logo">
    <a href="index.php" 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="index.php" title="<?php echo $siteName; ?>"><span><?php echo $logoText; ?></span></a></h1>
    <p class="site-slogan"><?php echo $sloganText;?></p>
    </div>
    <?php endif; ?>

    – Save and close this file
    – Open <joomla url>templatesja_portfolioblocksmainnav.php file
    – Add this code

    <?php
    $app = & JFactory::getApplication();
    $siteName = $app->getCfg('sitename');
    if ($this->getParam('logoType', 'image')=='image'): ?>
    <h1 class="logo">
    <a href="index.php" 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="index.php" title="<?php echo $siteName; ?>"><span><?php echo $logoText; ?></span></a></h1>
    <p class="site-slogan"><?php echo $sloganText;?></p>
    </div>
    <?php endif; ?>

    before

    <?php if (($jamenu = $this->loadMenu())) $jamenu->genMenu (); ?>
    – Close and save this file

    wan fadli Developer
    #380397

    It’s working great! :-*

    thanks khoand

    PROBLEM SLOVED

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

This topic contains 5 replies, has 3 voices, and was last updated by  wan fadli 13 years, 9 months ago.

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