Layout grid - adding marigin or padding to image problem

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
piotrh
 
 
Posts: 57
Joined: Sat Mar 15, 2014 11:00 pm

Layout grid - adding marigin or padding to image problem

Post by piotrh » Wed Apr 11, 2018 10:09 am

Hi.
Short question:
Im adding padding or marigin to an image. Then I drag it inside layout grid. Image is being stretched (unproportionally). How to add marigin to an image inside layout grid without having it stretched unproportionally?
Piotr

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

Re: Layout grid - adding marigin or padding to image problem

Post by Pablo » Wed Apr 11, 2018 11:24 am

If you add the same margin to all sides then the image will size proportionally.

piotrh
 
 
Posts: 57
Joined: Sat Mar 15, 2014 11:00 pm

Re: Layout grid - adding marigin or padding to image problem

Post by piotrh » Wed Apr 11, 2018 1:59 pm

This would force me to add unwanted vertical space. Of course i can add some extra blank space to an image itself, but this also can cause unwanted behavior in some cases. Is there any way to bypass this?
Bests
P

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

Re: Layout grid - adding marigin or padding to image problem

Post by Pablo » Wed Apr 11, 2018 2:08 pm

Maybe use padding instead?

piotrh
 
 
Posts: 57
Joined: Sat Mar 15, 2014 11:00 pm

Re: Layout grid - adding marigin or padding to image problem

Post by piotrh » Wed Apr 11, 2018 2:19 pm

Same result....

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

Re: Layout grid - adding marigin or padding to image problem

Post by Pablo » Wed Apr 11, 2018 2:56 pm

Then maybe you can use a (transparent) line as spacer?

piotrh
 
 
Posts: 57
Joined: Sat Mar 15, 2014 11:00 pm

Re: Layout grid - adding marigin or padding to image problem

Post by piotrh » Wed Apr 11, 2018 3:09 pm

Works only when space is needed on top or bottom. Same can be achieved with layout grid padding.
Not possible to add left/right space.

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

Re: Layout grid - adding marigin or padding to image problem

Post by Pablo » Wed Apr 11, 2018 3:12 pm

I'm sorry, then I do not know.

piotrh
 
 
Posts: 57
Joined: Sat Mar 15, 2014 11:00 pm

Re: Layout grid - adding marigin or padding to image problem

Post by piotrh » Wed Apr 11, 2018 7:50 pm

Anwser was just under my very nose:
viewtopic.php?f=59&t=80256

Cant wait for upcoming next version of WB.
Thanks Pablo!

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests