Centering Form With Master Page

Issues related to forms.
Post Reply
lpug
 
 
Posts: 80
Joined: Thu Apr 05, 2018 10:15 am

Centering Form With Master Page

Post by lpug » Sun May 27, 2018 3:47 am

Hi Pablo,

I have created a form and attached a master frame with it, i.e. a header and a footer. Does the footer not see the form as content? because the footer is hard-up the header and the form is not centered and there appears to be lots of vertical padding from the top as can be seen by here:

http://www.totallook.com.au/test/Test.php

I have cloned the same page not using the master page and you can see the horizontal and vertical alignment is fine.
With the master page I have disabled and enabled centre page horizontally to see if it made a difference and it didnt, any idea what could be causing this?

Cloned page http://www.totallook.com.au/test/Test1.php

User avatar
Pablo
 
Posts: 14545
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Centering Form With Master Page

Post by Pablo » Sun May 27, 2018 7:29 am

I'm sorry, I cannot see what you have done based on the HTML only.
To be able to help you I need your project file.

lpug
 
 
Posts: 80
Joined: Thu Apr 05, 2018 10:15 am

Re: Centering Form With Master Page

Post by lpug » Sun May 27, 2018 11:15 am

Pablo here is the project file

http://www.mediafire.com/file/e94baz8ka6k92se/test.wbs

Preview test1 page with master_frame, then disable master_frame and preview. Centering is incorrect, I think this is my problem with the sensitivity issue aswell.

Thanks

User avatar
Pablo
 
Posts: 14545
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Centering Form With Master Page

Post by Pablo » Sun May 27, 2018 11:40 am

The footer is set to 'floating'. But the form is fixed. That is why footer is not moved.
You will need to set the footer to 'Default' or make all other content floating. For example, by using layout grids/floating layers.

lpug
 
 
Posts: 80
Joined: Thu Apr 05, 2018 10:15 am

Re: Centering Form With Master Page

Post by lpug » Sun May 27, 2018 11:57 am

What about the centering ? the form is not centered and there is heaps of padding between header and form. I stopped using the layout grid because the form had problems as you mentioned in my previous post.

User avatar
Pablo
 
Posts: 14545
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Centering Form With Master Page

Post by Pablo » Sun May 27, 2018 12:10 pm

- the master frame does not have the same breakpoints as the content page.
- the master frame uses layout grids (floating), the form is using fixed layout.
- the master frame is not set to 'center in browser'

Please read this to learn more about the different layout methods:
http://www.wysiwygwebbuilder.com/layout_modes.html
To prevent confusion, use one method for the page.

The reason why the form did not work is unrelated to using layout grids. it is (most likely) caused by overlapping objects.

Also make sure you have the latest update which has lot of improvements.
https://www.wysiwygwebbuilder.com/forum ... =1&t=80972

lpug
 
 
Posts: 80
Joined: Thu Apr 05, 2018 10:15 am

Re: Centering Form With Master Page

Post by lpug » Mon May 28, 2018 1:21 am

Thanks Pablo, I understand my master page is using layout grids. Is it ok that my master page uses layout grids but the content holder within this page cannot be inserted into a grid. The tutorial also says that if you use layout grids you shouldn't set your page properties to centre in browser, regardless though it made no difference for me.

Thanks I'll keep persisting

User avatar
Pablo
 
Posts: 14545
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Centering Form With Master Page

Post by Pablo » Mon May 28, 2018 6:18 am

Is it ok that my master page uses layout grids but the content holder within this page cannot be inserted into a grid.
You will need to use the same layout method for both pages. if the content page uses fixed layout then it will not look right. Fixed layout will not follow the document 'flow'
So, either make the elements on the master frame fixed or the form floating.

See also 'How to use Master Frames with Layout grids?':
http://www.wysiwygwebbuilder.com/master_frame.html
The tutorial also says that if you use layout grids you shouldn't set your page properties to centre in browser,
Correct, but because you are using fixed layout for the form, that is why it is not centered.

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests