I want to use responsive.cascade.css but it's not loaded. There's a note that it has to be enabled but I can't find this theme setting. I search for any reference to that file in adaptivetheme module and I didn't find any. It looks like this worked before (7.x-2.x?) but doesn't now.

Comments

ogi’s picture

Now I see that this file is renamed to responsive.custom.css in RC2 and this change is documented in release notes. There are still references to the old filename though:

find -type f | xargs fgrep cascade
./at_core/inc/forms/at_core.submit.responsive.inc:  // problematic to set the layout later due to the cascade and inheritance
./at_subtheme/css/responsive.custom.css: * you can leverage the cascade and inheritance for all browsers that support
./at_subtheme/css/_README.txt:  of CSS that you would rather cascades. To achieve this  you can either modify the
./at_subtheme/css/_README.txt:  responsive.cascade.css
./at_subtheme/css/_README.txt:  Allowing styles to cascade can result in a huge saving on total CSS weight and speed
./at_subtheme/css/_README.txt:  cascade and inheritance, not to mention selector specificity, to a high degree.
./at_subtheme/sass/responsive.cascade.scss: * responsive.cascade.css is for styles that will cascade and uses
./at_subtheme/sass/responsive.cascade.scss: * however this uses a waterfall method so we can leverage the cascade
Jeff Burnz’s picture

Upgrade to 7.x-3.x-dev, its being released as the stable version this week any way. There is a small bug in RC2.

Totally uninstall your sub-theme, follow this guide:
http://adaptivethemes.com/documentation/how-to-uninstall-or-re-install-a...

You may need to take a look at the actual default settings in your themes info file, and make sure the setting for this stylesheet exists and is correct, i.e.:

settings[enable_custom_media_queries] = 1

Note this file changes its name in 7.x-3.x-dev to responsive.custom.css. I was very reluctant to make this change but ultimately it makes more sense to just be a custom media query file, not just for cascading media queries.

He he, crosspost, yes you found it, I need to update those docs also! Sorry about this confusion and issue, it was a bit of last minute feedback from some other users that swayed me to change the name, I do think it makes more sense.

Jeff Burnz’s picture

Status: Active » Fixed

Docs have been updated.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.