Align Images In A Div With SP Page Builder - Question | JoomShaper
SP Page Builder 6 is Here! Learn More →

Align Images In A Div With SP Page Builder

Stéphane Bernard, BAB Location Véhicules

Stéphane Bernard, BAB Location Véhicules

SP Page Builder 2 years ago

Good morning, I don't understand why in the JCE editor the images are centered and horizontal and why in a module or on the site with SPP the images are vertical on the right. The code : <div style="text-align: center;"><img src="/https://voxmundus.com/images/logo/logo-facebook-rond-30.png" alt="Vox Mundus Facebook" width="30" height="30" style="margin: 3px; border: 0px solid #000000;" title="Vox Mundus Facebook" /><img src="/https://voxmundus.com/images/logo/logo-gmb-rond-30.png" alt="Vox Mundus GMB" width="30" height="30" style="margin: 3px; border: 0px solid #000000;" title="Vox Mundus GMB" /><img src="/https://voxmundus.com/images/logo/logo-instagram-30.png" alt="Vox Mundus Instagram" width="30" height="30" style="margin: 3px; border: 0px solid #000000;" title="Vox Mundus Instagram" /><img src="/https://voxmundus.com/images/logo/logo-linkedin-rond-flat-30.png" alt="Vox Mundus Linkedin" width="30" height="30" style="margin: 3px; border: 0px solid #000000;" title="Vox Mundus Linkedin" /><img src="/https://voxmundus.com/images/logo/logo-youtube-round-flat-30-30.png" alt="Vox Mundus YouTube" width="30" height="30" style="border: 0px solid #000000; margin: 3px;" title="Vox Mundus YouTube" /><img src="/https://voxmundus.com/images/logo/logo-telegram-30.png" alt="Logo Telegram" width="30" height="30" style="border: 0px solid #000000; margin: 3px;" title="Logo Telegram" /><img src="/https://voxmundus.com/images/logo/logo-tiktok-flat-30.png" alt="Logo Tiktok" width="30" height="30" style="border: 0px solid #000000; margin: 3px;" title="Logo Tiktok" /></div>

0
23 Answers
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 2 years ago #110378

Please use this CSS to Template Options -> Custom Code -> Custom CSS

.social-image {
    display: flex;
    justify-content: center;
}
0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 2 years ago #105616

Hello Stéphane Bernard, BAB Location Véhicules

By default, there are some settings. You can align the images or change the setting with Custom CSS.

Best regards

0
Stéphane Bernard, BAB Location Véhicules
Stéphane Bernard, BAB Location Véhicules
Accepted Answer
2 years ago #105659

Thanks for your reply, but it doesn't work ! Can you help me ?

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 2 years ago #110334

Apology for the delayed response. Please share a screenshot of your issue to understand it better. Take a screenshot and share via any platform. For example: Lightshot or Imgur. Also, share the page link to check.

0
Stéphane Bernard, BAB Location Véhicules
Stéphane Bernard, BAB Location Véhicules
Accepted Answer
2 years ago #110362

Hi thanks for ypur reply. In front-end, at the bottom of the page : https://voxmundus.com/ https://nimb.ws/hlwRGu In Backoffice : https://nimb.ws/4NLRMO and you have my private admin access... Best regards...

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 2 years ago #110365

Please use this CSS to Template Options -> Custom Code -> Custom CSS

.social-image {
    display: flex;
}
0
Stéphane Bernard, BAB Location Véhicules
Stéphane Bernard, BAB Location Véhicules
Accepted Answer
2 years ago #110373

Ok and to center with display: flex ?

0
Stéphane Bernard, BAB Location Véhicules
Stéphane Bernard, BAB Location Véhicules
Accepted Answer
2 years ago #110392

Top ! Thanks. best regards

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 2 years ago #110607

You are welcome 😊

I have a humble request. It would be very kind of you if you can manage some moment to give us feedback on 

  1. Joomla Extension Directory
  2. TrustPilot

This will inspire us to improve.

0
Stéphane Bernard, BAB Location Véhicules
Stéphane Bernard, BAB Location Véhicules
Accepted Answer
9 months ago #179393

Hi team, I've the same issue with another website !

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 9 months ago #179431

Please use this CSS to Template Options -> Custom Code -> Custom CSS

.social-image p{
    display: flex;
}
0
Stéphane Bernard, BAB Location Véhicules
Stéphane Bernard, BAB Location Véhicules
Accepted Answer
9 months ago #179435

Fine ! Happy new Year !

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 9 months ago #179443

Happy New Year 2025 to you and your family 🎉

0
Stéphane Bernard, BAB Location Véhicules
Stéphane Bernard, BAB Location Véhicules
Accepted Answer
1 month ago #203769

Hi, can you explain to me why the images are deformed ? https://www.ag.amdfrance.org/index.php Best regards

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 1 month ago #203815

It looks like template.css is affecting the image to shrink. You can use this CSS on Template Options -> Custom Code -> Custom CSS to get rid of the issue.

.sppb-addon.sppb-addon-text-block img {
    height: 100%;
}

Or, if you want, then I can check the issue from the backend and suggest a better solution. In this case, I will need the administrator access of the site. Share your administrator access here to check the issue. Use the Hidden Content box to share the credentials. Make sure that you have a full site backup before sharing.

0
Stéphane Bernard, BAB Location Véhicules
Stéphane Bernard, BAB Location Véhicules
Accepted Answer
1 month ago #203836

Hi, Yes for a better solution please... In hidden content. Thanks in advance..

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 1 month ago #203854

Sorry, the credentials you provided do not match. Please check and share it again.

0
Stéphane Bernard, BAB Location Véhicules
Stéphane Bernard, BAB Location Véhicules
Accepted Answer
1 month ago #203873

Sorry ! Again....

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 1 month ago #203913

Sorry, it has no other options. I have added the CSS to css/custom.css file.

.sppb-addon-text-block .sppb-addon-content div img {
    height: 100% !important;
}

Please clear your cache and check the site.

0
Stéphane Bernard, BAB Location Véhicules
Stéphane Bernard, BAB Location Véhicules
Accepted Answer
1 month ago #203916

OK it's logical, but it's don't work... https://www.ag.amdfrance.org/

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 1 month ago #203959

I have added it on the source code of the Text Block Addon. Now it shows fine.

prnt.sc/GzHF6HnQtAKi

0
Stéphane Bernard, BAB Location Véhicules
Stéphane Bernard, BAB Location Véhicules
Accepted Answer
1 month ago #204002

So I put in Custom Css Box Row and it's fine ! :

.sppb-addon-text-block .sppb-addon-content div img { height: 100% !important;

    Thanks a lot !
0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 1 month ago #204059

You are welcome 😊

Let me know if you need further help.

0