-
AuthorPosts
-
anish28 Friend
anish28
- Join date:
- August 2015
- Posts:
- 144
- Downloads:
- 137
- Uploads:
- 20
- Thanks:
- 6
- Thanked:
- 3 times in 3 posts
November 26, 2017 at 10:47 am #1076730Hi 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 ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
November 27, 2017 at 2:28 am #1076823Hi
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 Friendanish28
- Join date:
- August 2015
- Posts:
- 144
- Downloads:
- 137
- Uploads:
- 20
- Thanks:
- 6
- Thanked:
- 3 times in 3 posts
November 27, 2017 at 5:16 am #1076893Hi i did the modification but the logo doesn’t appear anymore.
anish28 Friendanish28
- Join date:
- August 2015
- Posts:
- 144
- Downloads:
- 137
- Uploads:
- 20
- Thanks:
- 6
- Thanked:
- 3 times in 3 posts
November 27, 2017 at 5:20 am #1076894This reply has been marked as private.Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
November 27, 2017 at 6:49 am #1076910Hi
Can you upgrade the user details with superuser access?
Currently, it does not allow me to check your admin side.Regards
anish28 Friendanish28
- Join date:
- August 2015
- Posts:
- 144
- Downloads:
- 137
- Uploads:
- 20
- Thanks:
- 6
- Thanked:
- 3 times in 3 posts
November 27, 2017 at 8:36 am #1076927This reply has been marked as private.Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
November 27, 2017 at 8:57 am #1076937Hi
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.
-
AuthorPosts
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