Page 1 of 1
***SOLVED*** Content Place Holder - Style Options Problem When Floating
Posted: Fri Sep 20, 2024 8:02 pm
by Base12
Download sample project here...
https://www.mostholyplace.org/misc/test ... oating.wbs
01) Preview page1 in web browser.
02) Note that the Content Place Holder has a colored background with outline and shadow.
03) Everything looks good so far.
04) Go into Master page and change Content Place Holder Overflow to 'Floating'.
05) Preview page1 again in web browser.
06) The Content Place Holder has floated above the browser limits?
07) Part of the outline and shadow can be seen on the top.
Is this a bug?
Re: Content Place Holder - Style Options Problem When Floating
Posted: Fri Sep 20, 2024 9:35 pm
by Base12
The same or similar issue can be seen in your example project...
https://www.wysiwygwebbuilder.com/master_frame.html
The file is...
http://www.wysiwygwebbuilder.com/suppor ... utgrid.zip
01) Open the project in WYSIWYG Builder.
02) From the 'master_frame' page, edit the Content Place Holder.
03) Change its background color to 'Sky Blue'.
04) Change its border width to '10'
05) Change its border radius to '10'
The GUI displays the Content Place Holder properly with its top hitting the Header and stopping. The border is clearly seen surrounding the Content Place Holder.
06) Preview the index page in a browser.
The Content Place Holder is floating all the way to the top of the browser instead of floating to the Header and stopping there.
See what you think.
Re: Content Place Holder - Style Options Problem When Floating
Posted: Sat Sep 21, 2024 12:38 am
by crispy68
Not at my computer but is the header floating or fixed to the top?
The Content Place Holder is floating all the way to the top of the browser instead of floating to the Header and stopping there.
If the header is fixed then this is correct behavior.
Re: Content Place Holder - Style Options Problem When Floating
Posted: Sat Sep 21, 2024 1:53 am
by Base12
crispy68 wrote: ↑Sat Sep 21, 2024 12:38 am
Not at my computer but is the header floating or fixed to the top?
On the original file located here...
http://www.wysiwygwebbuilder.com/suppor ... utgrid.zip
If I modify 'PageHeader1' on the Master_Frame and set it from 'Fixed' to 'Floating', then the preview looks good.
However, if I delete 'LayoutGrid1' on the index page and do a preview in the web browser, the Content Placeholder collapses and does not show Layer1 anymore.
Is this intentional?
To demonstrate this in a simple project, I modified the original master_frame_layoutgrid.wbs file and uploaded it here...
https://www.mostholyplace.org/misc/test ... dified.wbs
When previewing the index page, everything looks good...
However, when I delete 'LayoutGrid1', the preview now looks like this...
The Content Placeholder collapses. It is as if Layer1 became invisible to the Content Placeholder.
Re: Content Place Holder - Style Options Problem When Floating
Posted: Sat Sep 21, 2024 6:01 am
by Pablo
This is normal behvaior. If the header is fixed then any floating content will go behind the fixed header.
That is how HTML works...
For the (floating) Content Place Holder to work, you must use Layout Grids.
Re: Content Place Holder - Style Options Problem When Floating
Posted: Sat Sep 21, 2024 7:15 am
by Base12
Pablo wrote: ↑Sat Sep 21, 2024 6:01 am
This is normal behvaior. If the header is fixed then any floating content will go behind the fixed header.
That is how HTML works...
For the (floating) Content Place Holder to work, you must use Layout Grids.
Sounds good Pablo. The Layout Grid will work nicely for my project.
We can close this thread.
Thanks!