Jump to content
Sign in to follow this  
suerama

space left and right of branding

Recommended Posts

suerama+    2
suerama

I had a discussion of this, thought I'd solved the problem but did not. So I'm starting a new thread here. I cannot eliminate the space left and right of the branding, though I've tried a lot of different things for 2 days. I had eliminated it, but it came back, and I can't figure which of the things I changed caused that. The only code that will now do the job is this:

.content-pad {
	margin-bottom: -20px !important;
	margin-left: -37px !important;
	margin-right: -38px !important;}
But, as that eliminates padding globally, that messes up the rest of the site, type gets clipped on iphone, etc. I would think that something beginning with "
#branding.content.pad
", or
.feature.content.pad

" would work, but so far nothing has done it. My branding is plenty big, but it gets reduced on the site, for reasons I don't understand. Any proposed solutions would be tried, and greatly appreciated! Sue

Share this post


Link to post
Share on other sites
Danny    1,327
Danny
Hi, You really shouldn't use negative margins, can you please remove this code and reply here when you have done so, so I can take a closer look.

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
suerama+    2
suerama
This code finally worked after trying many things, (a lot of padding=0's), did not work. [code]#branding .content-pad { margin-bottom: -20px !important; margin-left: -37px !important; margin-right: -38px !important;}[/code] If there is some more elegant code that would do the trick, I'd like to use it. But what a relief that something works!

Share this post


Link to post
Share on other sites
Jenny    33
Jenny
Glad to hear you got it working!

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

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  

×