Support » Fixing WordPress » WordPress Gallery showing very small images

  • Resolved Irina Sopas

    (@irinasopas)


    Hello! I have a problem with the new galleries I create on my site. I’m using the wordpress default gallery.

    Suddenly they start to present very small images as you can see in the print screen. I already deactivated all the plugins (it could be conflict), but the problem remains.

    Can someone help me?

    Print Screen Here

    Best regards,
    Irina

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    I can’t seem to find the error on the page link you shared. Is everything now working fine?

    Thread Starter Irina Sopas

    (@irinasopas)

    hallo @tuham I hope you’re fine. I found out that the error is in another code, to reduce the galleries space between images.

    .page-id-13530 .gallery {
    text-align: center;
    }

    .page-id-13530 .gallery .gallery-item {
    max-width: 50px;
    }

    There is any way to use gallery id and not the page id, so it won’t mess aroung all galleries in the same page?

    Best regards,
    Irina

    Thread Starter Irina Sopas

    (@irinasopas)

    @ahmad222 Hallo! The problem is that I have another code in the page that is messing around all the galleries inside the page.

    So, how I apply this css

    .page-id-13530 .gallery {
    text-align: center;
    }

    .page-id-13530 .gallery .gallery-item {
    max-width: 50px;
    }

    to the specific galleryid-19816 so the code will be restricted to that gallery?

    Best regards,
    Irina

    If I get you correctly, the WordPress Gallery is working fine.

    However, you are using a code that is messing with all of the Gallery inside the page. And what you want is the code to apply to only a specific gallery, am I right?

    Thread Starter Irina Sopas

    (@irinasopas)

    Hallo @tuham :D, that’s it! I got the code that is messing around here with the help of the forum; but it is using the page id and not the gallery id. That’s why I need help to convert the code to the specific galleries.

    If you see here https://irinasopas.com/a-princesa-desencantada/ the social media icons in the gallery are too spaced, the code is to reduce the space between them.

    .page-id-13530 .gallery {
    text-align: center;
    }

    .page-id-13530 .gallery .gallery-item {
    max-width: 50px;
    }

    Best regards,

    Irina Sopas

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WordPress Gallery showing very small images’ is closed to new replies.