WordPress.org

Forums

Responsive
Stylesheet enqueue problem after upgrade to 1.9.3.6 (3 posts)

  1. andy
    Member
    Posted 1 year ago #

    Hello,

    I updated to v1.9.3.6 from the previous version and am now noticing 2 related issues with how/when stylesheets are enqueued.

    I'm running WP 3.6 with a child theme of Responsive, and have tried uninstalled all plugins to see if there was a conflict(there wasn't), cleared cache's, etc.

    Issue #1: I noticed there was a problem because the css written within media queries was not over riding base styles. For instance, columns remained floated in small screen views, but float:none should have wiped out float:left at that viewport width. Below I've listed the order in which the stylesheets load. I applied a quick fix by moving line 650 to line 657 in Responsive's functions.php file (includes/functions.php). This simply moved the media queries stylesheet so that it loads last. Wouldn't it be better to just include all of Responsive's media queries into the main stylesheet?

    Issue #2: You'll notice that my child theme style.css loads 2x (based on the id's, the 1st stylesheet should be Responsive's base stylesheet, not the child theme's). I found this thread that says the fix to my media queries problem is to remove the @import from the child theme's style.css. I presume the reason for this is because Responsive's style.css should be loading.

    ' id="responsive-style-css" href="site/wp-content/themes/responsive-child/style.css?ver=1.9.3.2
    id="responsive-media-queries-css" href="site/wp-content/themes/responsive/core/css/style.css?ver=1.9.3.4"
    id="responsive-child-style-css" href="site/wp-content/themes/responsive-child/style.css?ver=1.9.3.4'

    Anyone else experiencing the same thing? Sorry for the long post, but wanted to provide the details. Here's the site in question.

    Thanks!
    Andy

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    As per the theme developer's request, please post in the theme's dedicated forum: http://cyberchimps.com/forum/free/responsive/

  3. andy
    Member
    Posted 1 year ago #

    Thanks esmi. I did post on there as well

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic