WordPress.org

Support

Support » Themes and Templates » [Resolved] My Child Theme is only loading the html and no CSS

[Resolved] My Child Theme is only loading the html and no CSS

  • I’m sorry I’m new. This is what I’ve put in my style.css file in my child theme folder in wp-content/themes. But it doesn’t seem to be displaying the CSS. My site is http://www.carolinewebsites.com

    ‘/*
    Theme Name: Responsive Child
    Description: Child theme for the Responsive theme
    Author: Caroline
    Template: responsive
    */
    @import url(“carolinewebsites.com/wp-content/themes/responsive/style.css”);’

    I’d be really grateful for any help.

    Regards

    Caroline

Viewing 5 replies - 1 through 5 (of 5 total)
  • esmi

    @esmi

    Forum Moderator

    Try:

    /*
    Theme Name: Responsive Child
    Description: Child theme for the Responsive theme
    Author: Caroline
    Template: responsive
    */
    @import url("../responsive/style.css");

    Hi! Thank you for your prompt reply! My file now says @import url(“../responsive/style.css”); but still doesn’t seem to work. I still get what looks like only html, with no styling…

    I thought the @import was meant to link the child theme to the Parent themess style.css file. But I can’t seem to do it! The first link I put in directed to the CSS file if I put it in the search bar and now this one doesn’t work either. Is there some other bit I could have got wrong?! Or something else I could try?

    Thank you for your help.

    Regards

    Caroline

    Michael

    @alchymyth

    Forum Moderator

    the child theme’s stylesheet is not found at this address:
    carolinewebsites.com/wp-content/themes/Childtheme/style.css

    double check the child theme’s folder, and the capitalisation of the folder name,and the location of style.css of the child theme

    This works:
    http://carolinewebsites.com/wp-content/themes/Child%20theme/style.css
    with a space between Child and theme…
    Thank you so much for your help.

    CSS seems to work for twentyeleven which displays normally but none of the others when I change the @import url. What is wrong?! Please help I would like to use responsive.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] My Child Theme is only loading the html and no CSS’ is closed to new replies.
Skip to toolbar