Jump to content
Sign in to follow this  
dhrose

Banner padding question...

Recommended Posts

dhrose

Hmmmm... I'm trying to take out the padding in the banner on a page and the css seems to be coming from somewhere I can't find?

 

#banners .banner-text-pad {

padding: 0px;

}

 

this (below) seems to be adding the padding but where is that style coming from?

 

element.style {

padding: 20px 40px;

}

 

http://dhrcreative.com/?page_id=21

 

I realize everyone is focusing on DMS but this was driving me nuts so what the heck! Ha!

 

Thanks...

Share this post


Link to post
Share on other sites
Rob

Hi,

 

The element-style is often from a plugin, or from some default CSS (inline CSS, usually). I've inspected the banner and can't find out what is causing it specifically. 

 

Try the code below, and see if it works. Let us know.

#banners element.style {

padding: 20px 40px;

}


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
dhrose

I can't figure out where that element.style is coming from? 

 

I've tried:

 

#page element.style {
padding: 0px;
}
 
#banners .banner-text-pad {
padding: 0px;
}
 
#banners element.style {
padding: 0px;
}
 
It's showing this in the inspector?
 
banner-text-pad pprand-pad" style="padding: 20px 40px"
 
 

Share this post


Link to post
Share on other sites
dhrose

O.K. I figured it out... the setting in the "banner text padding" in banners is overriding the css. I had that set to nothing. DOH. I forgot about that... On to DMS again... Thanks! 

Share this post


Link to post
Share on other sites
Rob

 No problem.


Former PageLines Moderator, Food Expert and Raconteur

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  

×