Closed (fixed)
Project:
Display Suite
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
21 Apr 2012 at 07:57 UTC
Updated:
5 Jun 2012 at 20:21 UTC
Jump to comment: Most recent file
Comments
Comment #1
swentel commentedWell, the region should be printed in case you selected the 2-col layout (so not the fluid). However, I'm not a frontend guy, so assigning to jyve so he can tell what needs to be done. I figure you'll need to write some css I think (in branch 1 we printed a non breaking space but that was an ugly hack to get the width).
Comment #2
dotman commentedthank you. it's a pretty simple template, since i'm new. here the tpl code:
and the css:
thanks.
Comment #3
aspilicious commentedCan you take a screenshot of your source. I would like to see the layout and region classes added to the source code.
Comment #4
dotman commentedI think this is most of it. you can also see the page here where the left column isn't rendered if no photo is uploaded:
http://mircdev.mplp.org/blog
I've also zipped the custom template. As mentioned, I just followed the tutorial and it's pretty simple.
Comment #5
aspilicious commentedHmm I can reproduce the problem. You can work around it for the moment by replacing
with
We need jyve on this :). No idea why you can't set a width on an empty div...
Comment #6
jyve commentedSorry for the late respons.
It is indeed known behavior that empty divs collapse if they don't have any height.
There are two solutions for this: add a in case the region is empty (bit dirty), or add a min-height: 1px to the css of any of your regions.
Good luck!
Comment #7
swentel commented