Welcome to the Treehouse Community
Looking to learn something new?
Why is the styling in my child theme being overridden by bootstrap in the parent theme?
For example I want to change the colour of the jumbotron class in my child theme. But when I make the change in style.css of my child theme and look in the Developer tools of the browser I can see that the changes in my child theme are being overridden by the styles defined in the bootsrap css file in the parent theme. Do I need to import bootstrap into my child theme as well?
OK I managed to fix it. In functions.php you need to enqueue the bootstrap and css files in the parent theme BEFORE the style.css file in your child theme (then the styles in your child theme are loaded after the bootstrap and style files in the parent theme and so override them).