gregorious
Member
Posted 4 months ago #
I'm making child theme based on Twenty Eleven. On the front page I'm using the showcase feature, but resized it to go in one line with intro and contact form. All this is wrapped in another Div with grey background.
Everything looks nice, but there is some white gradient at the bottom of text in showcase slider. I've tried tracking it down with firebug, but cannot find how to get rid of it.
Any help appreciated.
katysuzanne
Member
Posted 4 months ago #
I had the same problem. This is how I did it; add this code to your child theme style.css
.featured-post .feature-text:after, .featured-post .feature-image.small:after {
background: none repeat scroll 0 0 transparent;
}
gregorious
Member
Posted 4 months ago #
That's great!
I have just made a small change: .featured-post .feature-text:after, .featured-post .feature-image.small:after already exists in the style.css. I've deleted all background definitions in this entry and added background:none; instead of overwriting it with another definition.
Thanks a lot.