Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

Daniel Jones
PLUS
Daniel Jones
Courses Plus Student 5,895 Points

My child style.css file isn't allowing any changes to styling using the bootstrap parent template I downloaded from here

I’ve created a child theme locally using the downloaded wordpress to bootstrap theme ‘wp12.3-3.5-bootstrap-to-wp’ from the lesson ‘From Bootstrap to Wordpress Outro’.

Non of the styles I have attempted to override in style.css update anything.

I have updated .php files and they update perfectly just not the style.cc file.

I have also tried changing what parent template the style.css point to and all works fine with other theme just not the bootstrap version.

When I edit the original ’bootstrap-to-wp’ style.css file I can change anything. I’m assuming that for some reason the ’bootstrap-to-wp’ isn’t allowing anything to override it.

I’m working locally on Mac with MAMP using Dreamweaver CC to edit files.

This is all I have in the style.css child theme:

/*  Theme Name: bootstrap-to-wp child Theme 
    Description: A demo child theme for the bootstrap-to-wp 
    Author: bootstrap-to-wp 
    Version: 1.0 
    Template: bootstrap-to-wp
*/

@import url('../bootstrap-to-wp/style.css');

h1, h2, h3 {
    color: rgba(1,51,163,1.00);
}

Any pointers? Thanks in advance

1 Answer

Carl Sergile
Carl Sergile
16,570 Points

Maybe check your file path. This one got me legit all the time when I was starting out. Actually still gets me til this day. If there is like another folder than just include it with the file name. Example: /includes/boostrap-to-wp/style.css.