Found what you have been looking for?

Generic filters
Exact matches only
Filter by Categories
Lightroom Plugin
Tools and Tips

Hide individual search categories on the search page

With little bit of CSS code you can hide specific search categories on the SmugMug search page.  This is if you would like to allow your visitors only search for specific items – like PHOTOS and GALLERIES – this code will allow you to hide the rest of the categories – like VIDEOS, FOLDERS and PAGES.

CSS Code

/*This code will hide the GALLERIES category*/
#sm-search-category-galleries {
    display: none !important;

/*This code will hide the FOLDERS category*/
#sm-search-category-folders {
    display: none !important;

/*This code will hide the PAGES category*/
#sm-search-category-pages {
    display: none !important;

/*This code will hide the PHOTOS category*/
#sm-search-category-photos {
    display: none !important;

/*This code will hide the VIDEOS category*/
#sm-search-category-videos {
    display: none !important;

You do not need to use all of the items from the above code – you just need those items that you would like to hide on your search page.

Where to add the code?  You will need to add it to the CSS section of the THEME that you are currently using.

You then need to open your site → click CUSTOMIZE → CONTENT AND DESIGN → select the THEME tab → hover your cursor over the active theme that you are using and click the wrench icon → this will open a small popup window – like this one:

Open the ADVANCED tab and scroll down until you see an option to add CUSTOM CSS → click the EDIT button and then add the above code to it.

categories, search page, search results

Tomasz Nowicki

My name is Tomasz Nowicki and I am a PHOTOGRAPHER and WEB DESIGNER based in the UK. Few years ago I have created my first website using SmugMug - a powerful platform for any type of photographer. I fell in love with it and from day one I have started exploring the possibilities of customizing my website. PHOTOM Portal is a my personal SmugMug knowledge base website where you can find some tips and tricks on how to use and get the most out of your SmugMug website.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.