createdotnet / wdk

The Create.net Web Designer's Kit Documentation.
http://developers.create.net/wdk/
0 stars 0 forks source link

Sidebar/content width tags #38

Closed EdBailey closed 8 years ago

EdBailey commented 9 years ago

It would be helpful if templates were able to define their sidebar/content widths using some tags. e.g. Most templates have sidebars at 250px and content has a max width of 1000px but others have smaller sidebars etc.

I'm mainly looking at this from the perspective of generating responsive image tags.

AidanThreadgold commented 9 years ago

<!--WDK:column:width:250--> but we're moving away from that because of responsive... On most of our templates in lap view, side column items become width 33%

EdBailey commented 9 years ago

Yeah, what it really needs is a way to define each breakpoint in px or % or whatever :/

Also, I thought they became 25%...

mattgreenfield commented 9 years ago

I know that the new templates are 20%, so its not always the same.

AidanThreadgold commented 9 years ago

We're be defining the breakpoints (as per what the design studio uses) in the docs later on - could just work of the assumption side columns will always be 20 - 33% ?