Jump to content
Sign in to follow this  
texasx

How to add padding to main content?

Recommended Posts

texasx

I have added a background color to the main content ... and after this I need to add padding to distance the text from the border of the colored background. How do I do it? I have tried; /* To increase padding in main content. */ element.style { padding: 15px !important; However, I can't get it to work. This is my site: www.interactb2b.se Thankful for any help texasx

Share this post


Link to post
Share on other sites
tranceandy
Alter the following in the theme settings or in the Base child theme as required: [code] .entry_content { padding: 10px; } [/code]

Share this post


Link to post
Share on other sites
texasx
This .... made it work. Perfect. Thanks for you great help, tranceandy. / texasx

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  

×