Read the statement by Michael Teeuw here.
Module Regions - Tutorial Requested
-
@mochman Thanks, I had/have that link and it is useful. I am trying to understand the way in which main.css defines the regions and how that structure actually works. I’m new to .css and find the code hard to understand. How for example are the horizontal dimensions set for a given region?
Thanks
-
@valid8r a couple of regions as you can see on the picture have full width and the others are generic
they are placed with
top, left, right and bottom
properties andposition: absolute
on the screen -
@strawberry-3.141 If my questions get to be too frustrating, please feel free to say so and I will stop. So from this thread, how would I know what the right hand border size of a .top.left region was (in other words, how wide is the region)? The code I think from main.css for this is I believe the followingn, but it only defines the top for these regions is 100% of top, what are the width or border dimensions…?
.region.top.right,
.region.top.left,
.region.top.center {
top: 100%;
} -
They have no defined size per say,
add
outline: #fff solid;
to all .regions, that will give you a sense of how they look. -
@broberg Thanks, will do so, but I don’t understand how they can not have a defined size??? how does that work? For example, I have calendar (.top.left), Advent (.top.center) and Weather (.top.right)… however, the default sizes of each region/module are not equal thirds… trying to understand this.
-
@valid8r they expand, adapting to the content of the
They only need positioning and orientation.all
without size constrains will adapt to it’s content and theor body it’s placed in.
You can certainly add width and height constrains to the regions if you feel like it.The thing with
is you can basically place them anywhere you want to, make them any size, make them lay over or under otherand so on and so on. -
@broberg Interesting… I didn’t know about
and am now reading up on it. Thanks for pointing me in the right direction that explains a lot. I’ll try to read up on this before asking any more questions!