• I am using the following code in a child theme:

    /*
    Theme Name:     Neni CT
    Template:       neni
    */
    
    @import url("../neni/style.css");
    
    .test {
    	color: #FF0000;
    	font-weight: bold;
    }

    and the following code at the top of wp-content/themes/neni-ct/sidebar.php

    <p class="test">This is test</p>

    The paragraph displays on the web page, but it is not bold or red. I’ve made quite a lot of child the past, and I am working on about 20 at the same time, and dont have a problem like this one with any one of them.

    Does anybody have an idea what might be going on?

    Thank you.

    EDIT: The child theme imports parent’s css, but the styles in it dont work.

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

The topic ‘[Theme: Neni] Child theme css does not work’ is closed to new replies.