Jump to content
Sign in to follow this  
danceyrselfclean_admin

Dynamic Content Gallery appearing in search results

Recommended Posts

danceyrselfclean_admin

I am using the dynamic content gallery plugin on my site. I have had to use the following custom CSS in order to prevent the plugin appearing on every single category page, as i only want it on my homepage. body.archive #myGallery {display: none;} However whenever you conduct a search the images loaded in the dynamic content gallery appear in the search results for some reason. Any assistance would be appreciated http://www.danceyrselfclean.com/

Share this post


Link to post
Share on other sites
catrina

The search results don't use the body.archive selector. It uses body.search-results. You can add

body.search-results #myGallery {display:none;}

.


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
danceyrselfclean_admin

Brilliant thanks

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×