Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
How can you display the search box only on certain pages
darbeey
New
Hi on the default template there is a search box on the top right. I have moved it to another location and i would only like it displayed on the homepage, the discussion topics and posts pages and not on any other pages like the register, activity and search pages. Is there any way i can do this. thanks
0
Best Answer
-
whu606 MVP
You can set css rules for different page 'types'.
So, to prevent the search box displaying on the profile pages, add
.Profile .Search {display:none}
to your theme's custom.css file.
To remove it from both the profile and activity pages:
.Activity .Search, .Profile .Search {display:none}
and so on.
0
Answers
@darbeey
You can set css rules for different page 'types'.
So, to prevent the search box displaying on the profile pages, add
.Profile .Search {display:none}
to your theme's custom.css file.
To remove it from both the profile and activity pages:
.Activity .Search, .Profile .Search {display:none}
and so on.
Cool thanks buddy, thats a great way of implementing css into the overall design, nice