Quantcast
Channel: WordPress.org Forums » All Posts
Viewing all articles
Browse latest Browse all 134430

sacattac on "Child CSS being overwritten by parent"

$
0
0

I'm fairly new to wordpress and am using a child theme for the first time. I've created style.css in the new child directory and have imported a couple of the parent stylesheets.

I've had several instances where I've targeted an element (using Firebug) to make a change in the child style.css, only to have it ignored/overwritten by one of the parent css files.

The site http://www.camptalltimbers.net
Example: using firebug, locate <section id="intro-message">
I tried adding a linear-gradient background in my child CSS – it is being overwritten by the "custom.css" of the parent theme. NOTE: custom.css is one of the imported stylesheets in the new child css. Shouldn't the imported styles be overwritten by new child styles below?

Thanks for your time.


Viewing all articles
Browse latest Browse all 134430

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>