PinPics Posted September 21, 2023 Share Posted September 21, 2023 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? Link to comment Share on other sites More sharing options...
WP V0RT3X Posted September 21, 2023 Share Posted September 21, 2023 Basically like this but use the display: none with the searchbox (simply examine page with rightclick). PinPics 1 Link to comment Share on other sites More sharing options...
Solution teraßyte Posted September 21, 2023 Solution Share Posted September 21, 2023 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. PinPics 1 Link to comment Share on other sites More sharing options...
PinPics Posted September 21, 2023 Author Share Posted September 21, 2023 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. Link to comment Share on other sites More sharing options...
Recommended Posts