Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.