MyBB Community Forums
Navigation bar not displaying properly on specific page - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Themes (https://community.mybb.com/forum-103.html)
+---- Forum: Theme Support (https://community.mybb.com/forum-10.html)
+---- Thread: Navigation bar not displaying properly on specific page (/thread-206600.html)



Navigation bar not displaying properly on specific page - Chamimnya - 2016-12-12

This has only been happening recently, so I suspect something in the CSS caused the issue to arise.

When any forum post is viewed, the links in the navigation bar do not align. It does not occur on any other pages.

Link to the forum: http://www.tlx-gaming.net/

Example of what I mean:

Normally it looks like this
[Image: 1peDnJH.png]

When viewing a forum post it looks like this
[Image: NynrRFE.png]


RE: Navigation bar not displaying properly on specific page - iAndrew - 2016-12-13

Something is wrong with your forum category also, try reinstall the theme again and see if it still happens.


RE: Navigation bar not displaying properly on specific page - d3xt3r - 2016-12-14

You've got a <br> tag in the showthread template that shouldn't be there.


RE: Navigation bar not displaying properly on specific page - Chamimnya - 2017-03-28

Just wanted to update this thread since I finally fixed the issue.

It wasn't a template issue since even after reinstalling the theme the problem still occurred. I scanned the showthread template and was never able to locate the <br> tag causing the issue.

Turns out it was a problem with the Select All Code plugin. In its php file, there is code that injects a javascript into the header with a <br> tag above it. Removing the tag fixed the issue.

The file in question was /inc/plugins/sac.php and the code on line 75 was the culprit:
$headerinclude .= "<br /><script type=\"text/javascript\" src=\"{$mybb->settings['bburl']}/jscripts/sac.js\"></script>";