Jump to content

Removing Search Box from a Page?


Go to solution Solved by teraßyte,

Recommended Posts

Posted

Is it possible to remove the search box from the Nav Bar on a certain page? That probably sounds a bit odd, but I'm really playing with the possibility of using Pages to create our home page. However, the main part of our site is actually a non-Invision database of pins. Users are used to the search for that being on the front page at top right, so I'm wondering if it's possible to remove the Invision search option from a single page?

  • Solution
Posted

You can use a similar rule to the one I posted in the other topic:

body[data-pagelocation="front"][data-pageapp="cms"][data-pagecontroller="page"][data-pagemodule="pages"][data-pagename="PAGE_FILENAME"] #elSearchWrapper {
    display: none;
}

Replace PAGE_FILENAME as usual. I simply changed the navbar breadcrumb for the search ID element #elSearchWrapper.

Posted

Thanks to both of you! Worked absolutely perfectly. Really, really appreciate the help. I've only ever done some simple CSS before (and more modification than actual writing), so it's all a bit new.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...