Child theme CSS changes not showing up on site
-
Hello – I am fairly new to WordPress and since completely re-doing my site about 6 or 7 times – I have decided to start using a child theme – I have followed all of the instructions for creating a child theme and I have activated it. I am new to CSS but it seems like all of the things that I have been adding to my css file in the editor are not taking effect at all. To test the theory that I just don’t know what I am doing – I found css that someone who obviously knew what they were doing and pasted it in my file to see if it made any changes – it did not. I have created a folder in /themes called /themes/childtheme – as I mentioned I have activated it so I know that WP is recognizing it (it says in the themes screen that this is a child theme for the parent theme twentytwelve. On a side note – I have copied the header.php file to this directory and made changes to it and those changes are apparent on the page so it must just be something with this particular file. It is named style.css and it is located in the /childtheme folder. This is what is in the file right now:
/*
Theme Name: Childtheme
Description: Child theme for the TwentyTwelve theme
Theme URI: https://www.www.remarpro.com
Author: Riley Betka
Author URI: https://www.daily-mash.com/
Template: twentytwelve
version: .1
*/@import url(“../twentytwelve/style.css”);
for right now I am really just trying to change the main content area background to black. I have added
#page {
background-color: black;
}
#content {
background-color: black;
}It seems like that should be changing the color but it does nothing – can anyone help me figure out what I am doing wrong? Seems like it is something small and stupid that is preventing my changes from taking effect. I am trying to start playing around with CSS and so far this is quite the let down – thanks in advance for your help!
- The topic ‘Child theme CSS changes not showing up on site’ is closed to new replies.