Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • anish28 Friend
    #1076730

    Hi i would like to know how to display my logo on same line as the Main Nav and remove the white space above the menu bar

    Pankaj Sharma Moderator
    #1076823

    Hi
    To change the logo position, you need to do some custom work in the PHP files of the logo and main nav.
    Open template folder /tpls/bocks/header.php file and cut the logo code.
    http://prntscr.com/hfojmv
    Now open mainnav.php file and paste the logo code before starting of the main nav after line 16.
    save and check,

    Regards

    anish28 Friend
    #1076893

    Hi i did the modification but the logo doesn’t appear anymore.

    anish28 Friend
    #1076894
    This reply has been marked as private.
    Pankaj Sharma Moderator
    #1076910

    Hi
    Can you upgrade the user details with superuser access?
    Currently, it does not allow me to check your admin side.

    Regards

    anish28 Friend
    #1076927
    This reply has been marked as private.
    Pankaj Sharma Moderator
    #1076937

    Hi
    I added this code in main nav.php to load logo

    / get params
    $sitename  = $this->params->get('sitename');
    $slogan    = $this->params->get('slogan', '');
    $logotype  = $this->params->get('logotype', 'text');
    $logoimage = $logotype == 'image' ? $this->params->get('logoimage', T3Path::getUrl('images/logo.png', '', true)) : '';
    $logoimgsm = ($logotype == 'image' && $this->params->get('enable_logoimage_sm', 0)) ? $this->params->get('logoimage_sm', T3Path::getUrl('images/logo-sm.png', '', true)) : false;
    
    if (!$sitename) {
        $sitename = JFactory::getConfig()->get('sitename');
    }

    If you want to show logo in the main navigation bar, in that case, put the logo inside the main nav Div container.

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

This topic contains 6 replies, has 2 voices, and was last updated by  Pankaj Sharma 6 years, 12 months ago.

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