MyBB Community Forums
Removing Navigation Background/Border when no Navigation text is present? - 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 Development (https://community.mybb.com/forum-105.html)
+---- Thread: Removing Navigation Background/Border when no Navigation text is present? (/thread-210495.html)



Removing Navigation Background/Border when no Navigation text is present? - JohnSnow - 2017-05-18

I removed the following in order to remove the thread titles from the forum indexes and thread page views. I was successful in removing these.

nav_bit_active
<span class="active">{$navbit['name']}</span>

However, what I haven't been able to figure out is how to remove the navigation background/border when the fields are empty. For example, if I were to remove the MyBB Community Forums > Resources > Themes > Theme development from the top of this page, the background/border I have set for the navigation remains (although shrinks due to auto fit). 

Having a blank/empty but colorized text box is unsightly, and I would like to remove it. I've so far been unable to accomplish this without also removing/disabling/breaking the background and border for when the fields are not empty. 

Thoughts?

bump.