• Resolved remstar

    (@remstar)


    Hi
    I’ve followed online guides of how to set up a child theme.

    I’ve tried to implement things like ‘changing title colour’ or ‘changing background colour’ for example and the child theme is being ignored. Nothing changes at all and I wonder if you can advise where I may be going wrong?

    Directories look like this:
    /htdocs/blog/wp-content/themes/twentyeleven/twentyelevenchild

    the

      style.css

    is held in folder ‘twentyelevenchild’

    Does the following look right content of style look right:

    /*
    Theme Name: twentyelevenchild
    Description: Child theme for the Twenty Eleven theme
    Author: My name here of course
    Template: twentyeleven
    Version: 3.2.1
    */

    @import url(“../twentyeleven/style.css”);

    Is that right in terms of the basic starting point?

    also, if for example, I then wanted to change the background colour would i simply add the following code:

    body { background: #DDD; line-height: 1;}

    if someone could give me any advice why the child theme is not being picked up – i’d be grateful.

    Also, do i need to go into the .php pages and tell it to read it or something? Spent many days trying to do this on my own and am now exhausted. HELP please ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • Your child theme folder is in the wrong place.
    https://codex.www.ads-software.com/Child_Themes

    Thread Starter remstar

    (@remstar)

    Thank you for replying Esme. Really appreciate it.

    I moved the folder up so it was in the same directory as the Themes.
    I de-actived then re-activated the twenty eleven profile….

    There was still no change at all :-/

    As a test I have this in the style.css template:

    /*
    Theme Name: twentyelevenchild
    Description: Child theme for the Twenty Eleven theme
    Author: My name here of course
    Template: twentyeleven
    Version: 3.2.1
    */

    @import url(“../twentyeleven/style.css”);

    #site-title a {
    color: #FFA500;
    }

    Thread Starter remstar

    (@remstar)

    it’s simply not recognising it…Sorry to be a pain.

    You need to activate the child theme.

    Thread Starter remstar

    (@remstar)

    Thank you Esme.
    I had to google what you meant by ‘activate’ it.
    Its a shame none of the tutorials with step by step guides tell you that last bit. I’ve spent 2 days trying to figure this out.

    I’ve got it working now, Thank you Esme.
    ——————————————————-

    If you are also looking how to get your child theme to work and carried out all the steps as per instructions check out this link to help explain what it means to ‘Activate your child theme’.

    Good luck

    https://themelets.com/tutorials/how-to-install-a-wordpress-child-theme/

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Child Theme not recognised – Twenty Eleven Theme’ is closed to new replies.