k2 center item image

Premium sports magazine Joomla template with clean, easy to customize and unique design.
GK User
Thu Mar 22, 2012 4:19 pm
I would like to center image, so if someone could me tell what exactly I need to change in css... Thanks in advance!
User avatar
Senior Boarder

GK User
Fri Mar 23, 2012 12:42 am
Can we have link to your website ?
User avatar
Junior Boarder

GK User
Fri Mar 23, 2012 1:41 pm
If that can help, why not. Here is the example : http://www.atletskiklubagram.hr/nova/in ... irani-clan

As you can see, I figured out how to center caption image text, but this...
User avatar
Senior Boarder

GK User
Fri Mar 23, 2012 3:49 pm
Try to add this in your override.css but enable it in template settings


a.itemIage.model {
display: block;
margin: 0 auto;
text-align: center;
}

i think it should work ..

Pozdrav :)
User avatar
Junior Boarder

GK User
Fri Mar 23, 2012 3:58 pm
I added this, and enabled it but there is no effect - still same :-(
User avatar
Senior Boarder

GK User
Fri Mar 23, 2012 8:20 pm
Try to do this

a.itemIage.model {
display: block !important;
margin: 0 auto !important;
text-align: center !important;
}

it works for me in google chrome and firefox i didnt try ie because i dont have the template installed on my server but it should work.. you should email me so i can help you better that way i will send you my email over pm ok
User avatar
Junior Boarder

GK User
Fri Mar 23, 2012 8:27 pm
E-mail sent.
User avatar
Senior Boarder

GK User
Fri Mar 23, 2012 8:49 pm
Problem solved, thanks again almir087!

In override.css put this :

div.itemImageBlock {
display: block !important;
margin: 0 auto !important;
text-align: center !important;
}
User avatar
Senior Boarder


cron