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.
How can I set maximum width of layout for 960px or grater than it?
How can I set maximum width of layout for 960px or grater than it?
Comments
Comment #1
samwillc CreditAttribution: samwillc commentedHi,
I have only just started with this theme and here's how I see it, maybe this will help you. I believe the final width is calculated based upon the following code located in 'sass/_config.sass'.
Whatever values you choose in here are then imported into 'sass/layout.sass' using the following command at the top:
'sass/layout.sass' then calculates your grid based on what you have chosen in 'sass/_config.sass', and THEN outputs a nice clean standard 'css/layout.css' file which is the actual file which your website uses to display the page. Try it, change:
to
and then refresh your page and see that your site width has increased automagically! The beauty of css preprocessing :)
Someone feel free to correct me if I'm wrong.
I hope this helps.
Comment #2
SteveK CreditAttribution: SteveK commentedThis is correct :)
Closing!