oldmanhouse
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Child theme not overriding parent in 3.3Unfortunate indeed! As there was an entry of two for
custom-background
instyle.css
, I never guessed it was in-line as well.As you can see from my Firebug screenshot https://img827.imageshack.us/img827/6723/firebugq.jpg, it reports the CSS as being at line 30 of the domain name. I didn’t put 2 and 2 together and realise it meant index.php!
So, yeah. If anyone else is having this issue – check your php files as well as the style.css file for anything that may be overriding your child theme!
Forum: Fixing WordPress
In reply to: Child theme not overriding parent in 3.3I never did work it out.. However, I found that the important things that I actually wanted to override were overridden fine. In my tests posted above, I was trying to change stuff like the colour of
h1
tags (something I didn’t actually want to do – but was just testing how overriding worked).When it came down to it, I got what I wanted to do done!
Thanks for all the replies. Shame we couldn’t get to the bottom of it, but dammit we tried!!
Forum: Fixing WordPress
In reply to: Child theme not overriding parent in 3.3I guess that rules out a miscommunication between the frontend and the database then, as the parent theme directory is called “twentyten” which matches up with what’s in the database.
The page is definitely loading my child style.css, but it’s being overridden by the parent. This can be seen in Firebug: link
My “background-color” CSS from the child style.css is getting disregarded. The same goes for a
h1 { color: red; }
which I added in, just to see if it’d disregard that too…Forum: Fixing WordPress
In reply to: Child theme not overriding parent in 3.3Not getting any error messages on the Themes page. As far as I can see, it should all be functioning correctly as I’ve got the parent and child directories in the right place, with the right names and the child style.css has the correct “Template” option.
In the wp_options table, I have the following fields:
template: twentyten
stylesheet: twentyten-childDoes that look right? What was the field you had to change Brettman?
Forum: Fixing WordPress
In reply to: Child theme not overriding parent in 3.3Thanks for the suggestion, but still not working unfortunately ??
It’s definitely importing the parent style.css as I can see it linked to in the page source:
<link rel="stylesheet" type="text/css" media="all" href="https://tbmsussex.co.uk/wp-content/themes/twentyten-child/style.css" />