XF 1.2 Find value of enableSearch within CSS template

brstrm

Active member
#1
Hello all.
Was wondering if there is a way to wrap some css in a condition that checks to see whether the search engine is enabled or not.

I am aware that the #navigation div is assigned a class of "withSearch" when the search engine is enabled. However, being able to wrap my css in a condition would be loads neater and more concise.

Thanks in advance!
 

Brogan

XenForo moderator
Staff member
#4
For future reference, if you have debug mode enabled, hover or click on the spanner icon for the option and it gives you the ID.
 
Top