[resolved] Problem with Child Theme CSS (6 posts)

  1. nathanagin
    Posted 2 years ago #

    I've created a style.css file for the Child Theme and the theme *works* (in that, I can activate it), but the styles have been stripped.

    Site: http://nathanagin.info/busters/

    Here's the code of the style.css file in the zalive-child folder:

    Theme Name: zAlive - Child
    Template: zalive

    @import url(‘../zalive/style.css’);
    @import url('../zalive/css/bootstrap.min.css');
    @import url('../zalive/css/bootstrap-responsive.min.css');
    @import url('../zalive/css/theme-options.css');
    @import url('../zalive/css/zAlive_wp_pagenavi.css');

    /* =Theme customization starts here
    -------------------------------------------------------------- */'


  2. batharoy
    Posted 2 years ago #

    Take out all the imports except the top one, see if that works.

  3. nathanagin
    Posted 2 years ago #

    I had started with that (to no avail), and when I saw this theme used the Bootstrap theme and other CSS files, I included those, as that process worked with another WP theme.

    So, still not working even with just the top line.

  4. Andrew Nevins
    Forum moderator
    Posted 2 years ago #

    Clear your caching plugin's cache and deactivate it when you want to see immediate changes.

  5. nathanagin
    Posted 2 years ago #

    I'm not using a caching plugin.

  6. nathanagin
    Posted 2 years ago #


    The first line had someone gotten curly quotes instead of straight quotes: import lines can *only* use '.

    And it only needs the first import line to work.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic