Jump to content
Sign in to follow this  
unconsultancy

Tighten up carousel - remove padding

Recommended Posts

unconsultancy

Site: http://www.suiton.co.uk/ I want to tighten up and remove some whitespace at the top of my homepage. Have inspected with Firebug and if I edit to: #carousel .thecarousel { display: none; font-size: 10px; overflow: hidden; padding: 3px 67px; position: relative; } It is just about right. But I'm not getting this into the Custom Code > Custom CSS box correctly - can you advise please. On a more general note even having watched your videos about CSS / Firebug I find it a bit hit & miss what works by placing in Custom CSS box (it's me that gets it wrong I'm sure) - any advice? Thanks

Share this post


Link to post
Share on other sites
Jenny
Try this: [code]#carousel .content-pad { margin: 0; }[/code] When using Firebug, I generally run through the section until I find a specific CSS selector that will probably work. For yours, I started at header (and noticed the padding was below that) then went to page-main. Then I just kept going further into each section until I found something (at the top of the code) that would affect the margins or padding. Hope that helps!

Jenny :: Web designer at Simple Mama (follow me at @simplemamacom)

Check out Share Me, a social sharing add-on for DMS that is super simple to set up.

Share this post


Link to post
Share on other sites
unconsultancy
Thanks. In the end I've gone for: #carousel .thecarousel { padding: 3px 67px 2px;} Which appears to be giving me what I want.

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  

×