Thread Starter
NAWO
(@nawo)
Hi thanks for these…I’ve seen those and followed the instructions and ensured that I have this before I make the changes, amended with what is relevant to me (including ensuring that the template bit is case sensitive):
/*
Theme Name: Twenty Ten Child
Theme URI: http: //example.com/
Description: Child theme for the Twenty Ten theme
Author: Your name here
Author URI: http: //example.com/about/
Template: twentyten
Version: 0.1.0
*/
But one thing I don’t get is if after this you’re meant to enter the whole of the CSS file with your changes and add directly after the code abover:
@import url(“../twentyten/style.css”);
Or if you’re meant to just pick up the bits that you want to change? (Sorry, I’m not aware of the technical terminology).
Because I have been putting the whole CSS sheet with whatever I want edited inside…is this where I am going wrong?
Thanks again for answering so quickly.
Template: twentyten
If you’re creating a child of the Platform theme, why is your child theme pointing to Twenty Ten as its parent?
Or if you’re meant to just pick up the bits that you want to change?
You just add the bits that you want to change.
Thread Starter
NAWO
(@nawo)
I have edited it and customised it to the platform theme. I was just copying and pasting that bit so you guys knew that I had put this bit before on the CSS child theme template.
When you add the bits that you want to change do you still ensure that the whole of the CSS stylesheet is pasted afterwards or is there some sort of command that I should be using that just edits the bits I need? Do you see what I mean? Do I put the whole CSS stylesheet in or just the bits that I need to change with the relevant alterations?
@import url("../twentyten/style.css");
imports the parent’s stylesheet (Twenty Ten’s in this case). It should be the first line after the header comment block.
Do I put the whole CSS stylesheet in or just the bits that I need to change with the relevant alterations?
As I said above, just the bits that you need to change with the relevant alterations.
Thread Starter
NAWO
(@nawo)
Hi,
Yes, sorry I should have clarified that I have edited the bit with the parent’s stylesheet too.
I will give that a try and see if it works.
Thanks for your help.
Sara