Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted September 21, 20231 yr 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?
September 21, 20231 yr Basically like this but use the display: none with the searchbox (simply examine page with rightclick).
September 21, 20231 yr 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.
September 21, 20231 yr 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.