Align images in a div with SP Page Builder - Forum | JoomShaper
Solved SP Page Builder

Align images in a div with SP Page Builder

Asked by Stéphane Bernard - Vox Mundus 3 years ago Last activity 1 year 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>

Accepted answer

Marked as the solution
Ofi Khan Staff

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

.social-image {
    display: flex;
    justify-content: center;
}

19 more replies

Ofi Khan Staff

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

Stéphane Bernard - Vox Mundus Asked this

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

Ofi Khan Staff

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.

Ofi Khan Staff

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

.social-image {
    display: flex;
}
Stéphane Bernard - Vox Mundus Asked this

Ok and to center with display: flex ?

Stéphane Bernard - Vox Mundus Asked this

Top !
Thanks.
best regards

Ofi Khan Staff

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.

Stéphane Bernard - Vox Mundus Asked this

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

Ofi Khan Staff

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

.social-image p{
    display: flex;
}
Stéphane Bernard - Vox Mundus Asked this

Fine ! Happy new Year !

Ofi Khan Staff

Happy New Year 2025 to you and your family 🎉

Log in to reply.