• 0
Sign in to follow this  
Followers 0

DMS 2 Hide Section from Specific Category


Question

Posted · Report post

Hi,

 

I am looking for some help in hiding the .post-nav section from a specific category on one of my sites. 

 

I was thinking i might be able to do it with something like this: 

 

#site .post-nav .category-56 {

display:none !important; /*Removes Post Nav */
}

 

No joy so far! Any help would be appreciated. 

 

Thanks,

 

 

 

Share this post


Link to post
Share on other sites

3 answers to this question

  • 0

Posted · Report post

Hi,

 

In order to provide the correct code, we would require a link to the site. However, you can try this.

 

.category-56 .section-postnav { display: none; }

1 person likes this

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Thanks Danny, sorry only coming back now. 

 

All sorted now.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

No problem, happy to help.

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  
Followers 0