Results 1 to 2 of 2

Thread: Overriding style_default.css with a child_theme

  1. #1
    Thread Starter
    Amateur corinne's Avatar
    Join Date
    Mar 2012
    Posts
    12
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Overriding style_default.css with a child_theme

    Hello there!

    From somebody's suggestion, to modify the theme without losing the changes next time it's updated, I created a small child theme.
    I followed the tutorial recommended on this AppThemes's website and created a CSS file as follows:

    Code:
    /*
    Theme Name: Modified JobRoller
    Template: jobroller
    Version: 1.0
    */
    @import url("../jobroller/style.css");
    @import url("../jobroller/styles/style-default.css");
    Modifications of whatever is declared on style.css works out fine.
    But as soon as I'd like to modify something that is on style-default.css it doesn't work.

    For instance, removing the white border on the #header div doesn't work.

    Code:
    /*
    Theme Name: Modified JobRoller
    Template: jobroller
    Version: 1.0
    */
    @import url("../jobroller/style.css");
    @import url("../jobroller/styles/style-default.css");
    #header{border:0;}
    I tried to create a /styles/ folder into my child theme + a file called style-default.css, but it doesn't work as well.

    Many thanks for the help!

  2. #2
    Thread Starter
    Amateur corinne's Avatar
    Join Date
    Mar 2012
    Posts
    12
    Thanks
    1
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. overriding functions
    By corsonr in forum Report ClassiPress Bugs
    Replies: 5
    Last Post: February 23rd, 2011, 10:32 PM