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 Custom global Divi footer (20 premade styles) + Revealing footer effect: https://footer.diviultimate.com/
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    Try the below CSS in Divi > Theme Options > Custom CSS:
    Code:
    .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 Create gorgeous Divi slide-in promo bars, notification bars, etc: https://divi.help/link-forums/divi-bars.150/
  4. gregdei

    gregdei New Member

    Unfortunately this doesn't work for me!