• Resolved rich.h.worley

    (@richhworley)


    The CSS in my child theme will not override the parent theme. I’m assuming this is the problem but I could be wrong. All the CSS I put into my child theme is not working. May you please help me figure this out? Thank you so much!

    Below is my website and a copy of the code in my child theme style.css…

    https://www.virahound.com

    /*
    Theme Name: Simplo Child
    Template: simplo
    */
    @import url(“../simplo/style.css”);

    #topSocial {
    font-weight:bold;
    font-size:20px;
    color:#3b5998;
    }

    .postItem h1 a{
    color:#3b5998;
    }

Viewing 8 replies - 16 through 23 (of 23 total)
  • Thread Starter rich.h.worley

    (@richhworley)

    Ok understood. Just changed it.

    Thread Starter rich.h.worley

    (@richhworley)

    How can you tell that my child theme is not active? I’ve triple checked dashboard-appearance-themes and it’s telling me that it is. What am I missing. Can I see what you’re looking at on your end?

    If you use “View Source” in a browser (Firefox), you’ll see this line towards the top:

    https://www.virahound.com/wp-content/themes/simplo/style.css"

    That shows the active theme.

    How did you create the child theme?

    Thread Starter rich.h.worley

    (@richhworley)

    OK I see what you’re seeing now. Maybe it’s an issue with this theme? I’m just going to use the custom css plugin and chalk it up to that.

    I created it in sublime text editor.

    Cool – custom CSS is a great way to go if that’s all you want to modify :)!

    Thread Starter rich.h.worley

    (@richhworley)

    It’s odd because I’m able to modify the PHP files through my child theme. The style.css is the only file that won’t work, so I’m using the CSS plugin for that. Weird!

    Thread Starter rich.h.worley

    (@richhworley)

    Thanks for the help! ??

    Definitely strange – but sounds like you have a good solution :)! You’re welcome too.

Viewing 8 replies - 16 through 23 (of 23 total)
  • The topic ‘CSS in child theme not over riding parent’ is closed to new replies.