• 0

Changing padding in Simple Nav


Question

Posted · Report post

Hi. I'm trying to change the padding of my Simple Nave. In Firefox, I changed it from from 15px to 2px, as shown in the first screenshot from Firefox. However, when I added that code to Custom Code in DMS, it does not appear to work. I'm sure it's something simple...

 

xRaragA.jpg

 

 

Ux8VtUu.jpg

Share this post


Link to post
Share on other sites

3 answers to this question

  • 0

Posted · Report post

try to find the data-clone no i.e. with firebug for #simple_nav -> see my example "1cb88a" has to be changed.... that worked for me...
 
#simple_nav1cb88a .pl-section-pad {
  padding: 2px 0px;
}
 
hope I could help...

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Have your tried making sure it's not getting overwritten elsewhere. The way to do it id to make sure this is the most important css rule to obey. You can do this by adding the !important; to the end of your css statement. So with your example:

 

.section-simple_nav .pl-section-pad {
  padding: 2px 0px;
}
 
becomes:
 
.section-simple_nav .pl-section-pad {
  padding: 2px 0px !important;
}

 

 

Also you might want to view you site in a Chrome tab that is incognito. You can do this by pressing Ctrl+Shift+N (on windows) then paste the site you want to view.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Good tips and pointers onlineprofiler"] and @[member="navigador

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