You can easily override the Freeway-calculated z-index using the Item/Extended menu item and dialog. Make sure you select the style tab, then click new, and enter z-index in the Name field and any number you like in the Value field. Freeway will only output the value you entered – you won’t end up with two different declarations of the same property.
However, it’s critical for you to understand something about z-index: context. If each of your elements is a peer – a pure child of the PageDiv “main” container, positioned absolutely, then z-index will be entirely intuitive. Raise one, lower another, everything will make sense and work. But if you are nesting your elements, as in the “in-flow” or inline layout model (which you should absolutely be doing) then changing the z-index of an element can only raise or lower it relative to its peers – the other children of its parent. Let’s say you draw two overlapping boxes on the Freeway design space, and then double-click inside one of them and insert some child elements inline (or simply click on one of them to select it, then draw some child elements “into” it). If the second box you drew has z-index 2, and the first one has z-index 1, then no matter how high you make the z-index of one of the first box’s children, it will never rise above the second box in overall stacking order.
Walter
On Oct 28, 2015, at 7:19 AM, OmarKN email@hidden wrote:
Hi Dave,
Thank you, but I had to solve it in a rather ‘unconventional’ way: to use a dummy Facebook like button as a hyperlink to an anchor further down on the page!
This doesn’t of course allow me to have it on the Master-page, but so be it.
The structure is this that the lower part (≈ 20% )of the header is stuck under the next layer - for body content, and pressing the Facebook like button would open their little window, which then goes behind the layer - for body content.
So it’s quite tricky,
BUT I’d LIKE to be able to set an ANY item an manually ADJUST the z-index.
Is this possible?
So f ex I set the navigation bar z to 19:
div id=“NAC1a1” z-index=“19”
which should overwrite the css-set z-index.
/
with best regards,
Omar KN
Stockholm, Sweden
freewaytalk mailing list
email@hidden
Update your subscriptions at:
Information for existing FreewayTalk / Groups.io users - Site Feedback - Softpress Talk
freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options