Currently all layout CSS is provided by the actual layout, there are no settings to modify a layouts CSS from within the theme settings.

I think we should provide the ability to set a max-width from within theme settings. Many users will not need to tweak the actual layouts (there will be many to choose from by the time this theme and D8 ships) but they may want to set an overall max-width.

Its quite easy to provide for also and can either be included on the actual Layouts tab or part of an "Modify layout values" sort of Extension.

Comments

Jeff Burnz’s picture

Issue tags: +atd8

Tagging.

Jeff Burnz’s picture

Component: Theme Settings » Layouts

I'm leaving this as a feature request, I would like some feedback before going ahead with this idea. I've tried to keep any sort of CSS generation out of the D8 version and am reasonably hesitant with such features.

However, in the recent survey it's looking like the Custom CSS feature is very popular, so thats likely to stay as an extension, which means CSS generation (at least saving of files and loading etc). I have to have a long think about how features like this will work - they are one of the more tricky things to support when considering deployment, migration etc. I may well go back to writing such things into the head style tags but that is a bit ugly IMO, another route is to stick the files in the actual theme all the time and never in /files/.

Jeff Burnz’s picture

Issue summary: View changes

spelling error.

Jeff Burnz’s picture

Issue summary: View changes
Status: Active » Fixed

You can set a max-width, choose the unit and value in layout Options.

Status: Fixed » Closed (fixed)

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