Site logo

Archived topic

works great except on 1 atachmend page this does not work

5 replies · Started by diedrich on December 11, 2020

Viewing posts 1–6 of 6

hello, I have a strange problem I have received a code on all my attachment page for mobile use not to get 3 pictures in a row but 1 picture, see for example https://www.davidbowieworld.nl/mijn-bootlegs-2 -2 / tour-recordings / 1972-1973-the-ziggy-stardust-tour /

Now this works great except on 1 atachment page this does not work (except the first 2 images) here is the link where it is not correct https://www.davidbowieworld.nl/mijn-bootlegs-2-2/bbc-performance /
can you help me ?

THIS IS THE CSS CODE THAT I RECEIVED FROM YOU

@media screen and (max-width:767px) {
#gallery-2 .gallery-item {
max-width: 100% !important;
}
}

gr Diedrich

Hi there,

Can you please make sure this is done?
https://www.screencast.com/t/zppsY6Dv

It's really difficult for us to help and inspect the code with the caching plugin turned on.

Hi Leo, I turned off WP ROCKET but this doesn't help ... can you help me
I haven't turned it back on until you tell me I can turn it back on

gr Diedrich

Edit your original CSS to this:

@media (max-width: 768px) {
    .gallery .gallery-item {
        max-width: 100% !important;
    }
}

yA , Thats is it , it works fine , many thanks Leo

No problem :)

This archived topic is closed to new replies.