Jump to content

Featured Replies

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?

Solved by teraßyte

Go to solution

Basically like this but use the display: none with the searchbox (simply examine page with rightclick).

 

  • Solution

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.

  • Author

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

  • No registered users viewing this page.