Managing content within a Page Size

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
User avatar
jPaul
 
 
Posts: 61
Joined: Thu Jun 10, 2021 11:00 am

Managing content within a Page Size

Post by jPaul »

Hi Everybody,

Suppose I've prepared a Page size:
Page Width: 900
Page Height:1100
Then add a Layout Grid, or any other content

Everything appears properly on the WYSIWYG workspace, but if I preview in a browser, then the display will be 100%
of the browser window, (regardless of the display resolution).

How can I display the content to remain inside the page dimensions?

https://www.dropbox.com/scl/fi/q1go0ru3 ... 9keo&raw=1
Many Thanks,
-Paul-
If I wasn't so stupid, I wouldn't have to be so persistent.
User avatar
Pablo
 
Posts: 23496
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Managing content within a Page Size

Post by Pablo »

You can control the maximum width of the content via the 'maximum width' property of the layout grid.

This is demonstrated in almost all of the demo templates:
https://wysiwygwebbuilder.com/templates2025.html
User avatar
jPaul
 
 
Posts: 61
Joined: Thu Jun 10, 2021 11:00 am

Re: Managing content within a Page Size

Post by jPaul »

Thank you Pablo

That was a super quick reply, but I think I need to clarify for you.

I have attached this .jpg image to help you.
https://www.dropbox.com/scl/fi/6eti2gxc ... oru7&raw=1

All that brown pin-holed stuff is just empty space to try and account for different screen resolutions.

The important part of the plan is for a container box, page size specified in the properties as 1140x200 with a light brown background colour. All content such as Header, Menu, Footer, general content will need to be restricted inside this container box.

Will I be able to do this, and is there an example I can study?
Many Thanks,
-Paul-
If I wasn't so stupid, I wouldn't have to be so persistent.
User avatar
BaconFries
 
 
Posts: 5952
Joined: Thu Aug 16, 2007 7:32 pm

Re: Managing content within a Page Size

Post by BaconFries »

From looking at the image it seems that you wish to centre the contents with all the required objects menu/text/images etc etc in a container and have it displayed within a background image. Note this isn't really the best way to design for mobile/modern browsers but if you really wish then the following may help:How do I center my page in the browser? There is also templates that show this but are Templates 2016/2017
User avatar
crispy68
 
 
Posts: 3066
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Managing content within a Page Size

Post by crispy68 »

Couldn't you do this with grids or even flexgrid?

For example, create a layout grid that is 1x 10x 1x. Now set the max-width of this grid to -1140px (Adding the minus makes it so the background color is only this wide). If you want spacing above and below add top/bottom margin to the grid.

Inside this main grid, add your menu at the top and your Welcome text. Add another grid with 2 columns and drag it into the main grid (nested grids). Based on your pic, something like 4x 8x would do.
Post Reply