Results 1 to 3 of 3

Thread: Child theme CSS declarations are being overwritten by the parent CSS file!

  1. #1
    Thread Starter
    Veteran ejikoala's Avatar
    Join Date
    Sep 2009
    Location
    United States
    Posts
    345
    Thanks
    6
    Thanked 19 Times in 15 Posts

    Child theme CSS declarations are being overwritten by the parent CSS file!

    I have CP 3.1.9. I created a child theme so I can have a custom CSS file that will not be overwritten when updating CP. I have put it here...

    wp-content/themes/classipress_child_319/style.css

    At the top of the CSS file I have...

    Code:
    /*
    Theme Name: ClassiPress - Child Theme
    Description: Child Theme for ClassiPress 3.1.9
    Template: classipress
    Version: 3.1.9
    */
    @import url("../classipress/style.css");
    @import url("../classipress/styles/blue.css");
    In CP 3.0.4 this was not an issue, but for CP 3.1.9 if I re-declare any of the styles that exist in style.css or blue.css, they get ignored and the browser loads the original styles which doesn't make sense because it supposed to be honoring the most recent declaration. What is going on that's keeping my new styles from being loaded?
    Was this post helpful? Click the "Thanks" button below.

  2. #2
    Thread Starter
    Veteran ejikoala's Avatar
    Join Date
    Sep 2009
    Location
    United States
    Posts
    345
    Thanks
    6
    Thanked 19 Times in 15 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Was this post helpful? Click the "Thanks" button below.

  3. #3
    samcy's Avatar
    Join Date
    Mar 2012
    Location
    Germany
    Posts
    12,098
    Thanks
    121
    Thanked 1,756 Times in 1,442 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Rolf Hassel (Samcy)

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Child theme file mapping?
    By rodeoramsey in forum Help Using ClassiPress
    Replies: 4
    Last Post: March 26th, 2013, 02:27 PM
  2. Show Ads/Posts from Child Categories, in the Parent Category?
    By dijitul in forum ClassiPress General Discussion
    Replies: 5
    Last Post: March 19th, 2012, 08:28 AM
  3. Just show Parent and 1 Child in Directory Style Listing
    By jtwiest in forum Report ClassiPress Bugs
    Replies: 3
    Last Post: January 18th, 2012, 06:49 PM
  4. Parent and Child Ad Count Wrong
    By veloce916 in forum Report ClassiPress Bugs
    Replies: 5
    Last Post: September 5th, 2011, 08:11 PM
  5. child theme ... style.css file not updating from settings page
    By bwowp in forum Report ClassiPress Bugs
    Replies: 2
    Last Post: March 3rd, 2011, 07:18 PM