Negative margin on responsive website

Questions related to the Responsive Web Design tools of WYSIWYG Web Builder.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/respon ... esign.html
Please read this first before posting any questions! Also check out the example project to get an idea how the RWD concept works.

Responsive Web Design FAQ:
http://wysiwygwebbuilder.com/forum/view ... 10&t=63817
Post Reply
Lasa
 
 
Posts: 529
Joined: Sat Oct 06, 2018 3:08 pm

Negative margin on responsive website

Post by Lasa »

I've built a responsive website in WB19. I'm trying to have a flex container with -50 top to overlapping the lower part of the above layoutgrid ... it look right in WB but when I publish it remains below the above layoutgrid, not overlapping.
Is it possible to - 50 margin in a responsive design?

Lasa
User avatar
Pablo
 
Posts: 22472
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Negative margin on responsive website

Post by Pablo »

Negative margins are not officially supported, but in some case it may work.
If you need help then please share a DEMO project.
Lasa
 
 
Posts: 529
Joined: Sat Oct 06, 2018 3:08 pm

Re: Negative margin on responsive website

Post by Lasa »

Thanks...
Not sure I did this right but here it goes...

trying to have the flex container to overlap the above red layoutgrid.

Lasa
Last edited by Lasa on Sun Jul 07, 2024 6:46 pm, edited 1 time in total.
User avatar
Pablo
 
Posts: 22472
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Negative margin on responsive website

Post by Pablo »

I think in this case it does not work because have mixed different types of containers(layers, flex containers and layout grids).
I recommend to use one type of container only.
Lasa
 
 
Posts: 529
Joined: Sat Oct 06, 2018 3:08 pm

Re: Negative margin on responsive website

Post by Lasa »

Thanks I'll keep trying...
Lasa
Lasa
 
 
Posts: 529
Joined: Sat Oct 06, 2018 3:08 pm

Re: Negative margin on responsive website

Post by Lasa »

The negative margin works fine with only layout grid and flex container...
thanks
Post Reply