Dynamic Content Margins - Question | JoomShaper
🎃 Halloween Sale is Live! Get 35% OFF on all plans. Sale ends soon! Get Offer

Dynamic Content Margins

John Juhl

John Juhl

SP Page Builder 4 months ago

Hi guys,

I have a problem in the dynamic content INDEX page to get margins between objects to work.

No matter how many pixels I specify between the objects, nothing happens...

Managing image sizes is also a problem - can't seem to make the image fill the column width...

https://drive.google.com/file/d/1o-CQxuOUTK0es-6xoDDWUHVdYswBRHc4/view?usp=sharing

0
16 Answers
John Juhl
John Juhl
Accepted Answer
4 months ago #196200

have to write something here in order to svae question edit

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 4 months ago #196214

Hi

Thanks for contacting us and sorry for your issue. Could you please give me that specific page link? So that I can your issue.

-Regards.

0
John Juhl
John Juhl
Accepted Answer
4 months ago #196252

You can give it a glance here : https://omtykt.com/da/serv-lib

But it is really behaving strangely - add a bottom margin to the image, and the image moves to the right.

Then, removing all margins, and the image shrinks to thumbnail size.

Please give it a look.

Thanks.

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 4 months ago #196342

Hi

Is this solved now?

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 3 months ago #197046

Hi

Is this solved now? If yes, you can then close this post by accepting the answer.

0
John Juhl
John Juhl
Accepted Answer
3 months ago #197370

No, unfortunately I still can't control the image size, margins and paddings in a stable way...

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 3 months ago #197390

Do you want it like this? Then use this CSS in your custom.css file

#sppb-addon-dd87b651-6462-4eb8-b7d7-887dc071531f {
    padding-right: 0px !important;
}

#sppb-addon-wrapper-dd87b651-6462-4eb8-b7d7-887dc071531f {
    margin-right: 0px !important;
}
0
John Juhl
John Juhl
Accepted Answer
3 months ago #197402

Exactly 👍 Only, I would like it to be centered - (on your image it seems to be off-center, if you know what I mean)

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 3 months ago #197405

Is this ok now?

0
John Juhl
John Juhl
Accepted Answer
3 months ago #197431

As far as I can tell, the margin is smalle on the right side of the image - wouldn't you say?

see the result here: https://omtykt.com/da/serv-lib

0
John Juhl
John Juhl
Accepted Answer
3 months ago #197445

... but your styling snippets do make an improvement

Which leads me to another question: why is it, that when I place the snippet in my Site Template > custom.css file nothing happens - but when placed in the Site Template STYLES it works.

Am I doing something wrong here?

0
John Juhl
John Juhl
Accepted Answer
3 months ago #197451

Just discovered something that might be useful to the developers:

you code made it look (almost) good - but then, when I set the bottom margin of the image to let's say 30px - the image moves to the right.

the strange thing is, that the same happens to ALL the detail references on the page (I change one "filtering-section" and all the other "filtering-sections" of the same collection, changs)

  • and afterwards, no matter what I do, it stays there...
0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 3 months ago #197518

You have used margins on that images that's why it looks like this. You can use my CSS in your template.css file. It should work.

0
John Juhl
John Juhl
Accepted Answer
3 months ago #197552

You may be right - but still it behaves strangely

for instance at a point I discovered that a margin was set to 200px (which I of course didn´t do)

and at another time, I found out that changes I made in one section (of filtered records) automatically had been set on other sections too (I changed the image size in one section, and thatchanged the sizes of in all the other sections too)

I think I'll try to open the editor in another browser to see if this is browser related...

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 3 months ago #197676

Yes, try this way, and do let me know. Is this ok or not?

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 3 months ago #198461

Thanks for accepting the answer.

0