- This topic has 9 replies, 2 voices, and was last updated 2 years, 10 months ago by Skandha.
-
AuthorPosts
-
January 17, 2021 at 3:38 pm #271235wafflesandlamingtonsParticipant
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.January 18, 2021 at 2:34 am #271281SkandhaParticipant@wafflesandlamingtons: Hello Theo,
Can you please post in the URL where you have inserted the gallery images?Kind Regards,
SkandhaJanuary 19, 2021 at 1:49 am #271347wafflesandlamingtonsParticipantHi 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,
TheoJanuary 19, 2021 at 6:05 am #271430SkandhaParticipant@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,
SkandhaJanuary 19, 2021 at 8:13 am #271442wafflesandlamingtonsParticipantHi Skandha,
Sorry but this didn’t seem to change anything.
Thanks,
Theo.January 20, 2021 at 1:25 am #271505SkandhaParticipant@wafflesandlamingtons: Hello Theo,
Can you please create the gallery on your site so that I can look into the issue?Kind Regards,
SkandhaJanuary 20, 2021 at 5:58 pm #271546wafflesandlamingtonsParticipantHi 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.January 20, 2021 at 11:10 pm #271574SkandhaParticipant@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,
SkandhaJanuary 27, 2021 at 12:54 pm #272349wafflesandlamingtonsParticipantYes that worked! Thank you so much.
January 27, 2021 at 10:37 pm #272393SkandhaParticipant@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 -
AuthorPosts
- The topic ‘Centre Gallery Images’ is closed to new replies.