WordPress.org

Ready to get started?Download WordPress

Forums

Network Install: Child-theme not working correctly (6 posts)

  1. ewergreen
    Member
    Posted 3 years ago #

    I've implemented a child-theme. Followed all the steps in the coded, but it's not completely working. I changed the sidebar.php template in my child themes directory and it's working on the website. I can set the theme and see it as superadmin and admin. Unfortunately, my CSS changes aren't displaying on the front-end. Even when removing the @import, it makes no difference. Anyone got any ideas as to why it's refusing to do this?

    I've installed wordpress as a network on a main domain and two subdirectories. I'm using the panorama theme as the main theme and making childs from it.

    /*
    Theme Name: panorama-technology
    Template: panorama
    */
    
    @import url("../panorama/style.css");
    
    .post h2 {
    color: F98;
    font-size: 250%;
    font-weight:100;
    padding: 0 0 5px 5px;
    margin: 5px 0 5px 0;
    background: #fff url("images/dots.gif") bottom left repeat-x;
    }
  2. govpatel
    Member
    Posted 3 years ago #

    color: F98;

    I think there a mistake on this code try

    color:#hexcode; it should 6 alpha numeric code

  3. ewergreen
    Member
    Posted 3 years ago #

    Not the problem. I could put whatever I wanted in there. The problem is that it's not showing those changes on my site.

  4. govpatel
    Member
    Posted 3 years ago #

    did you hard refresh after you made the change press Ctrl+F5

  5. ewergreen
    Member
    Posted 3 years ago #

    I did hard refresh and also an absolute path to the @import. Nothing works, not a single line of CSS is used.

  6. inspiraven
    Member
    Posted 3 years ago #

    I'm in process of trying to make a child theme of Panorama.
    Did you ever find a solution? Any tips?

    I think it might have something to do with the sub themes.
    ../panorama/style.css
    and../panorama/styles/darkgrey.css

    but I'm not sure

Topic Closed

This topic has been closed to new replies.

About this Topic