This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Reply To: Some CSS advice

#2397
Jason Bobich
Keymaster

You’re talking about the first gallery on the page, right? In the featured area? I think they’re correct. This should get you pretty close.

.home .featured-element-2 .element-inner,
.home #wrapper .featured-element-2 .gallery {
	padding: 0;
	margin: 0;
}
.home #wrapper .featured-element-2 .gallery .gallery-icon {
	padding-top: 0;
	padding-bottom: 0;
}

I just tried it on your site and looks something like this:

[edit] Looking back at my original post, this:

.home .featured-element-2 .element-content .element-inner

Should be this:

.home .featured-element-2 .element-inner

Are you familiar with Chrome’s developer tools to find these things fairly quickly? When you inspect something you can take your mouse and hover over each HTML element going up/down the tree of the HTML markup and see which elements have padding/margin. I don’t think this is as easy to do in Firebug for Firefox.