• Setting up a child them is usually easy. This is super weird. I’ve never seen this happen before.

    I have installed the wp-bootstrap theme and put the following in my child theme’s stylesheet

    /*
    Theme Name: Ctoon
    Theme URI: georgespake.com/ctoon
    Description: child theme
    Author: George
    Author URI: your-URI
    Template: wordpress-bootstrap
    Version: 1
    .
    General comments/License Statement if any.
    .
    */
    @import url(../wordpress-bootstrap/library/css/bootstrap.css);
    @import url(../wordpress-bootstrap/style.css);
    
    div.gs_testing h1{
    	background:red !important;
    }

    I activated the child theme but no matter how specific my css was, I couldn’t override anything. Then I realized that my stylesheet wasn’t being called in the source at all.

    See for your self.. It’s supposed to be /ctoon/style.css

    georgespake.com/ctoon

Viewing 2 replies - 1 through 2 (of 2 total)
  • You’re missing the quotation marks in the @import lines – see:

    https://codex.www.ads-software.com/Child_Themes

    Thread Starter gpspake

    (@gpspake)

    Those aren’t really necessary and adding them has no effect but I went ahead and added them anyway. The problem I’m having is that my stylesheet is not being loaded in to the page at all.

    For the record, I’m using this in a twenty twelve child theme and it’s working fine.

    /*
    Theme Name: GS
    Theme URI: georgespake.com
    Description: child theme
    Author: George
    Author URI: georgespake.com
    Template: twentytwelve
    Version: 1
    .
    General comments/License Statement if any.
    .
    */
    @import url(../twentytwelve/style.css);
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Child theme activated but stylesheet link not in source’ is closed to new replies.