Centering "full article image"

December 2012 Joomla Template
Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Sun Mar 20, 2016 3:13 am
Reply with quote
Report this post
Hello,
Sometimes the images I use for the "full article image" of a Joomla article are not horizontal. I was wondering if it's possible to auto center the full article image so ever a square image would be centered?

Thanks so much!
User avatar
Senior Boarder

teitbite
Wed Mar 23, 2016 12:37 pm
Reply with quote
Report this post
Could you please provide me with a URL to your website, either here or via PM (click the “Private Message” text underneath my avatar) so that I may analyze it? It is a lot easier for us to diagnose issues when we have a live site to examine.
User avatar
Moderator

GK User
Wed Mar 23, 2016 11:46 pm
Reply with quote
Report this post
My apologies for not sharing the live link in the original post!

http://www.thechristianbeat.org/index.php/news
User avatar
Senior Boarder

teitbite
Tue Mar 29, 2016 3:39 pm
Reply with quote
Report this post
Please add this code to override.css and make sure override is enabled in template settings.

Code: Select all
.img-intro-left, .img-intro-right, .img-intro-left > img, .img-intro-right > img, section.blog div.img_caption {
    float: none !important;
    margin: 0 auto !important;
    text-align: center;
}
User avatar
Moderator

GK User
Fri Apr 01, 2016 12:15 am
Reply with quote
Report this post
Thanks so much. That did the trick!
User avatar
Senior Boarder

teitbite
Wed Apr 06, 2016 11:05 am
Reply with quote
Report this post
Hi
Glad I could help.
---
If You were satisfied with our support please let other users know on Twitter: http://twitter.com/gavickpro or Facebook: http://www.facebook.com/gavickpro
User avatar
Moderator


cron