XF 1.2 Find value of enableSearch within CSS template

brstrm

Active member
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!
 
Top Bottom