Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

In this Discussion

How can you display the search box only on certain pages

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 :)

Tagged:

Best Answer

  • whu606whu606 I'm not a SuperHero; I just like wearing tights... MVP
    Answer ✓

    @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.

Answers

Sign In or Register to comment.