Hi,

what's the best way how to disable all the responsive features when using a sub theme? I know I can disable the media query styles in the info file of the sub theme but the files from the base zentropy will still be included. I don't want to alter the base theme, because then I can't update the base theme anymore.

I there an easy way I missed?

Comments

alexweber’s picture

Component: Documentation » Code
Assigned: Unassigned » alexweber
Category: support » feature

I will work on this, thanks for the report! :)

alexweber’s picture

Status: Active » Fixed

Implemented in 2634cb2.

alexweber’s picture

Title: Best way to disable responsive features/stylesheets » Add a way to disable responsive features/stylesheets
alexweber’s picture

Status: Fixed » Closed (fixed)
Wolfgang Reszel’s picture

Thanks for implementing the feature. I thought it would force the 992 style, but that's your decision.

The sub theme is still loading all its responsive styles. I know they have no effect, but they cause unnecessary requests.

Because of mixing style loading from the info file (in the sub theme) and from template.php (in the base theme) the 768 style is loaded after the sub theme styles which makes it harder to override it.

alexweber’s picture

Hey Wolfgang,

I'll standardize it and make all stylesheets load via template.php in order to keep things more streamlined.

As for the default style, I loaded the 768px to 992px style. Which I figured is good enough for today's styles but I feared it might face objections.

I'll add an option to select which stylesheet you want included, that should please everyone: #1512150: Add an option to select which stylesheet to load when responsiveness is turned off

Thanks again for the feedback!