Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
alexweber CreditAttribution: alexweber commentedI will work on this, thanks for the report! :)
Comment #2
alexweber CreditAttribution: alexweber commentedImplemented in 2634cb2.
Comment #3
alexweber CreditAttribution: alexweber commentedComment #4
alexweber CreditAttribution: alexweber commentedComment #5
Wolfgang Reszel CreditAttribution: Wolfgang Reszel commentedThanks 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.
Comment #6
alexweber CreditAttribution: alexweber commentedHey 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!