Jump to content
Sign in to follow this  
vandlo

What's the CSS for the margins in boxes

Recommended Posts

vandlo

Hi, I want to have a custom background image of a drop-shadow border behind my boxes that makes them look raised. I have found the code to insert the image: .page-id-xx .fboxinfo{background:url(http:img.png) no-repeat;} How do I make the text and image content of the boxes not go right up to the edge of the background? Is this margins or padding and do I use .fboxinfo? thx

Share this post


Link to post
Share on other sites
cmunns

Are you using Platform? Do you have a link? Generally you apply padding to the container where you want to add the background image so it shows up...but I need to double check the selector based on what you're trying to do. It's likely this selector if you want to include the icon as well: `#boxes .dcol-pad`

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  

×