• Resolved Jouhousagasu

    (@jouhousagasu)


    Apologies if this is too basic to ask here. I’ve created a child theme and used FTP to create a CSS folder with a file bootstrap.min.css. However, when I try to use Appearance/Editor and select the CSS, I don’t get the same CSS file displayed as when I look at the parent, just a place holder, so I can’t edit the CSS. Do I just copy the CSS manually from the Parent to the Child, only specify one or two custom items (if the theme reads both the child and parent CSS files, giving priority to the child), or am I missing something entirely? Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Do I just copy the CSS manually from the Parent to the Child

    No. Your child theme’s stylesheet should only contain your custom CSS.

    You can copy over CSS to the child theme’s style.css but only the parts that you are changing. So for example, if the parent theme has this:

    #my-container {
       background-color: #fff;
       padding: 20px 10px 30px 10px;
       border: 1px solid #ededed;
    }

    ….but you just want to customize the background colour, then you would do this in your child theme’s style.css

    #my-container {
       background-color: #000;
    }

    Incidentally, Circumference Lite does have a premade child theme for you. It’s in a folder named “child-theme” that you can install. All you need to do is add your custom CSS.

    Thread Starter Jouhousagasu

    (@jouhousagasu)

    Thanks esmi for the reply and thanks StyledThemes for the additional information. Very helpful – and apologies again for such a basic question. BTW: After trying out a whole load of themes over the last 10 days, this is the best I’ve found. Will add a review soon

    You are very welcome, but no need to apologize for any question you may have. Also, thank you for the great comment about my theme and the offer to doing a review 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Probably foolish problem with child theme CSS’ is closed to new replies.