1. HOT Divi Ultimate Header Plugin - More variety for your Divi header: https://header.diviultimate.com/

Solved Divi Image Gallery not displaying correctly on Mobile

Discussion in 'Free Divi Community Forum' started by RJH-Estates, Sep 30, 2019.

  1. RJH-Estates

    RJH-Estates New Member

    Hi There,

    1st post so go easy... ;)

    I have created a Landscaped 8 x image gallery that is responsive that works as intended on Desktop and tablet.

    However, on mobile the images are one on top of each other which is what i want, but they seem to be aligned to the left with a white margin to the right.

    I want them to fill the full size of the mobile display, but for the life of me cannot get it to work.

    Any ideas?

    The page in question i am testing on is https://www.rjhestates.com/slider/
    1. AD Awesome ways to display testimonials in your Divi site: https://divi.help/link-forums/testimonial-slider.148/
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    Try the below CSS in Divi > Theme Options > Custom CSS:
    .et_pb_gallery_image img {
        width: 100%!important;
  3. RJH-Estates

    RJH-Estates New Member

    Thank you!!!

    Worked perfectly, i added it to custom CSS on the page in question first and it solved the problem

    I'll keep the code in mind for the future incase i come up against the same problem
    1. AD Add over 2500 icons in Divi to create attractive web designs: https://divi.help/link-forums/divi-icons.164/
  4. gregdei

    gregdei New Member

    Unfortunately this doesn't work for me!