Tagged: ,

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #271235

    Hi, I am hoping to upload a single image as a gallery instead of an image because I like how hot shows the title on the image. However, the theme seems to be left aligning the gallery images automatically.

    Are you able to provide a CSS code to centre align gallery images?

    Thanks,
    Theo.

    #271281
    Skandha
    Participant

    @wafflesandlamingtons: Hello Theo,
    Can you please post in the URL where you have inserted the gallery images?

    Kind Regards,
    Skandha

    #271347

    Hi Skandha,

    We haven’t actually posted a blog with a single gallery image due to this issue as we don’t want to have a blog up which looks wrong.

    But for reference, this is one of our blog posts:
    https://wafflesandlamingtons.com/albarracin-guide-to-exploring-the-authentic-city/

    All images centre align fine, it’s just when we post a single gallery image (we want to do this as we like how the title shows within the picture in gallery view).

    Thanks,
    Theo

    #271430
    Skandha
    Participant

    @wafflesandlamingtons: Hello Theo,
    Go to => Appearance => Customize => Additional CSS and add the following CSS Code.

    .gallery-caption {
        text-align: center !important;
    }

    Let me know if this works out!
    Kind Regards,
    Skandha

    #271442

    Hi Skandha,

    Sorry but this didn’t seem to change anything.

    Thanks,
    Theo.

    #271505
    Skandha
    Participant

    @wafflesandlamingtons: Hello Theo,
    Can you please create the gallery on your site so that I can look into the issue?

    Kind Regards,
    Skandha

    #271546

    Hi Skandha,

    I made a test page at the following:
    https://wafflesandlamingtons.com/test-page/

    I centered this gallery photo in the page create area but it is still coming up left aligned.

    Thanks,
    Theo.

    #271574
    Skandha
    Participant

    @wafflesandlamingtons: Hello Theo,
    Go to => Appearance => Customize => Additional CSS and add the following CSS Code.

    .blocks-gallery-grid {
        margin: 0 auto;
    }

    Let me know if this works out!
    Kind Regards,
    Skandha

    #272349

    Yes that worked! Thank you so much.

    #272393
    Skandha
    Participant

    @wafflesandlamingtons: Hello Theo, I hope I was able to resolve your issue. If it’s not too much trouble, I have a quick request: could you please leave an honest review?
    https://wordpress.org/support/theme/photofocus/reviews/#new-post
    Your review will help others know what to expect when they’re looking for the support I offer. Even a sentence or two would be hugely
    appreciated. Thanks, and if there’s anything else at all that I can do to help, don’t hesitate to let me know. Have a good day! 🙂

    Kind Regards,
    Skandha

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Centre Gallery Images’ is closed to new replies.