• Resolved allanlud

    (@allanlud)


    Hi all,

    This isn’t about the style.css, that works fine, I am trying to override a CSS file within a css folder of the parent theme, I’ve copied the same file into the child theme (same location) and made changes there but no changes are made on the live site, is there another way to do this?

    Thanks,
    Al.

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

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    You don’t do that, you just override it in your (child theme) style.css file.

    Thread Starter allanlud

    (@allanlud)

    Ok thanks, I haven’t really used child themes before, but I thought the way I was doing it was right.

    Looking at the source code, the CSS file I wanted to duplicate is being pulled in after the style.css, so if I target the element I want to style in style.css it should be ok?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    You can use more specific CSS selectors in your Child Theme style.css file to override it, if it’s being called after

    Thread Starter allanlud

    (@allanlud)

    Great thanks for your help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Overriding CSS File From Parent Theme’ is closed to new replies.