WordPress.org

Ready to get started?Download WordPress

Forums

Creating child themes with fasthosts (8 posts)

  1. NAWO
    Member
    Posted 2 years ago #

    Hi,

    I have a really basic question that I was hoping that you could answer. I'm a complete newbie so you may have to forgive my stupidity...

    Basically, I've been trying to edit the platform theme by creating a child theme with wordpress. So I have found the css style sheet through my fasthosts FTP files, downloaded it, edited it and then uploaded it in the themes section not in the platform theme file, but for love nor money it doesn't actually change my website.

    Please help me! I'm on a bit of a deadline and I just can't figure out what I'm doing wrong!

    Many thanks in advance,
    Sara

  2. Chip Bennett
    Theme Review Admin
    Posted 2 years ago #

  3. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Review Child_Themes.

  4. NAWO
    Member
    Posted 2 years ago #

    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.

  5. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    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.

  6. NAWO
    Member
    Posted 2 years ago #

    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?

  7. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    @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.

  8. NAWO
    Member
    Posted 2 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic