Centring galleries
-
Hi all,
If you look at this article here (scroll to half way-ish) the gallery with only two images seems to be to the left.
http://www.cotswoldallure.com/cotswold-girls-tackle-cyber-crime
Any idea of a custom CSS to make sure all galleries are centred in a WordPress theme?
Thank you
The blog I need help with is: (visible only to logged in users)
-
Hello @davidsavill
http://www.cotswoldallure.com/ is not hosted on WordPress.COM. Also, it is using the WordPress.ORG software package.You have posted your issue in the wrong forum. This forum only supports the sites hosted on WordPress.COM(like http://davidsavill.wordpress.com/) and not elsewhere.
Both(WordPress.COM and WordPress.ORG) are different products. You can find out the differences between them here: https://en.support.wordpress.com/com-vs-org/
To get help, please post your question on the WordPress.ORG support forum: https://wordpress.org/support/
We are really sorry that we cannot help even tough we want to. Hope you issue gets resolved ASAP.
Thanks!
-
Hi @davidsavill,
To horizontally center a block element (like div), in this case gallery, you can use
margin: auto;To center the photos inside the div element, you can use
text-align:center;Hope this information suffice your requirement.
Note:
Custom CSS is part of Custom Design, which is a feature of the WordPress.com Premium and WordPress.com Business plans. You can add custom CSS to your WordPress.com blog using the CSS Editor in My Sites → Customize → CSS in your blog dashboard.Thank You.
-
Hi @otpidusprime,
I am assuming davidsavill was citing http://www.cotswoldallure.com/ as an example.
Thank you.
-
Ah, sorry @otpidusprime
I was just searching Google and this forum came up, didn’t realise it was the wrong site for this.
Thankyou @iamrishaan
-
I am assuming davidsavill was citing http://www.cotswoldallure.com/ as an example.
I suppose not, please read the OP again. 🙂
@davidsavill
No worries 😇
- The topic ‘Centring galleries’ is closed to new replies.