***SOLVED*** Content Place Holder - Style Options Problem When Floating

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
Base12
 
 
Posts: 71
Joined: Tue Sep 17, 2024 10:12 pm

***SOLVED*** Content Place Holder - Style Options Problem When Floating

Post 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?
Base12
 
 
Posts: 71
Joined: Tue Sep 17, 2024 10:12 pm

Re: Content Place Holder - Style Options Problem When Floating

Post 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.
User avatar
crispy68
 
 
Posts: 3003
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Content Place Holder - Style Options Problem When Floating

Post 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.
Base12
 
 
Posts: 71
Joined: Tue Sep 17, 2024 10:12 pm

Re: Content Place Holder - Style Options Problem When Floating

Post 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. :D

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...

Image

However, when I delete 'LayoutGrid1', the preview now looks like this...

Image

The Content Placeholder collapses. It is as if Layer1 became invisible to the Content Placeholder.
User avatar
Pablo
 
Posts: 23255
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Content Place Holder - Style Options Problem When Floating

Post 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.
Base12
 
 
Posts: 71
Joined: Tue Sep 17, 2024 10:12 pm

Re: Content Place Holder - Style Options Problem When Floating

Post 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. :D

We can close this thread.

Thanks!
Post Reply