• I have setup a child theme based on my original ‘Helm’ theme.
    I know that this is working as I’ve added a change to the style.css file (changed font size) and this is seen when I view the webpage in my browser.

    Here is my style.css file:

    @charset "UTF-8";
    /* CSS Document */
    
    /*
    Theme Name:     Helm Child
    Theme URI:      http://www.ianknaggsphotography.co.uk/
    Description:    Child theme for the Helm theme
    Author:         Ian Knaggs
    Template:       helm
    Version:        1.0 (Aug 2013)
    */
    
    @import url("../helm/style.css");
    
    /* =Start from here */
    /* ******************************
    5.2 Entry Contents
    ******************************* */
    
    .entry-content {
       	color: #A0A0A0;
        font-size: 18px;
        letter-spacing: 0.2px;
        line-height: 22px;
        word-spacing: 1px;
        margin: 20px 0 10px;
    	}

    I also want to change the ‘flex slider_featured.css’ file, which on the original theme resides in the directory <../helm/css/flexislider/>.
    So, I have replicated this directory structure in my child theme directory <../helm-child/css/flexislider/> and placed the modified css file in this directory.
    However, these changes are not being picked up and when viewed in my browser the original theme flexslider css is being used.

    I’m new to WordPress and think that I have done what is required, but cannot understand why the changes are not being picked up…

    Any help would be greatly appreciated!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Have you considered contacting your theme’s vendors for support with their theme?

    Sounds like you just aren’t using specific-enough selectors.

    You will have to ask theme developers, or try copying some more css files from parent, and import them into style.css of child theme.
    Maybe theme is not calling everything from parents style.css.

    Thread Starter Ayekay

    (@ayekay)

    Thanks for the responses… I’m waiting for a reply from the Theme developer, but was trying to fix it myself! I think that I’m a little out of my depth, but will keep trying!

    Hi Ayekay
    Try, see if that works

    @import url("../hel/style.css");
    /*
    Theme Name:     helm child
    Theme URI:      http://www.ianknaggsphotography.co.uk/
    Description:    child theme for the helm theme
    Author:         Ian Knaggs
    Template:       helm
    Version:        1.0 (Aug 2013)
    */
    
    /* =Start from here */
    /* ******************************
    5.2 Entry Contents
    ******************************* */
    
    .entry-content {
       	color: #A0A0A0;
        font-size: 18px;
        letter-spacing: 0.2px;
        line-height: 22px;
        word-spacing: 1px;
        margin: 20px 0 10px;
    	}
Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Child theme – not all changes work’ is closed to new replies.