Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #190174

    I have made a child theme from your video you put here on the page.

    BUT – when i make changes in the style.css, nothing happens on my page.

    Where did i go wrong?

    I have to correct in etc.: layout.css and base.css and custom.css and so on.

    As i understood i just copy/paste the sentence from the original file and correct it to what i want and put it in my new style.css i put under my child theme?

    I think i need more explanation, because i don’t get it to work.

    And yes, i remembered to write enfold with no capitals, and i put the version number also on my style.

    #190182

    Hey Jane!

    Can we see the site with the child theme active live? The child’s style.css gets loaded at the end of the other stylesheets which is why whatever css is inside of it gets priority.

    If however the css isn’t written to where it would get priority at the end then it still wont effect what is viewed live.

    For example, if you wanted to change the h2 to red and added:
    h2 { color: red; }

    That will probably not work because there are more specific selectors in various places to change the color under other circumstances. So you might need to use:
    #top h2 { color: red; }
    or

    #top .some-specific-class-name h2 {color: red;}`

    Where the some-specific-class-name is just a placeholder for a more specific container class the item is within.

    Regards,
    Devin

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Child Theme Style’ is closed to new replies.