• Resolved kylechadha

    (@kylechadha)


    Hi there everyone,

    I’m attempting to get a Child theme set up for my WP site with the custom theme Vernum.

    I’ve created the folder vernum-child in my themes directory, and selected this theme from the wp dashboard. Site loads and looks exactly the same as it did before. All good so far.

    I then try adding my custom .css files in vernum-child/, change some things around, and nothing happens. This is the part I’m having difficulty with.

    In the vernum theme, all the css styles that you’d want to edit aren’t in style.css, they’re in assets/css/layout.css. So I’m a bit confused, now that I have my style.css linked and the child theme loaded, do I put my edited layout.css file in the vernum-child/ directory? In vernum-child/assets/css/? Somewhere else?

    And do I need to add the link code “(@import url(‘../vernum/assets/css/layout.css’);” in my layout.css file, or just put it in the child theme folder? Do I need to delete out the CSS that’s normally in layout.css, and just add my edits, or include the whole file in the child theme?

    Hope that makes sense… any help would be much appreciated!

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Adding other .css files to a child theme’ is closed to new replies.