Theme overriding CSS of slider, need suggestions

williamsmith
Offline
Last seen: 5 years 11 months ago
Thu, 06/06/2013 - 05:16
#1
Theme overriding CSS of slider, need suggestions

Looking for some help. I can tell that my theme's css is intefereing with the slider's css styles but not sure how to fix.

www.upallmorning.com

there is a slider there with black text, when it should be much larger and white. the positioning is being respected just not the style of the text itself.

help!

William ;)

Neo
Offline
Last seen: 1 year 6 months ago
Fri, 06/07/2013 - 10:53

Did not see any black text, seem you fixed it?

williamsmith
Offline
Last seen: 5 years 11 months ago
Sat, 06/08/2013 - 03:07

Nah, i used images to get around the issue. Check this url for the example i was talking about:

http://www.upallmorning.com/slider/

Neo
Offline
Last seen: 1 year 6 months ago
Sat, 06/08/2013 - 10:53

Yes, it's conflict with wp-content/themes/executive/style.css line 81
You can fix by changing:

.md-objects p,
.slider-item p,
.entry-content .md-objects p,
.entry-content .md-objects a {
margin: 0;
padding: 0;
line-height: 1.2em;
}

to

.md-objects p,
.slider-item p,
.entry-content .md-objects p,
.entry-content .md-objects a {
color: inherit;
margin: 0;
padding: 0;
line-height: 1.2em;
}

to wp-content/plugins/mega-slider/admin/css/md-slider-style.css line 15

williamsmith
Offline
Last seen: 5 years 11 months ago
Sat, 06/08/2013 - 12:23

Thanks Neo! I also added font-size: inherit; and that seemed to get the sizes to work as well.

Log in or register to post comments