Center image in K2 element

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
Sat Mar 07, 2015 12:39 am
Reply with quote
Report this post
Gavick.jpg
I try to use codes from the forum in override.css but that does not work.
I want to display the image from K2 element in middle of the element on FrontPage element.
I try to use span but it does not work also.
I do not know how can I correct that.
I use Joomla 3.4 and K2 2.6.9 with creativity template last version.
User avatar
Fresh Boarder

GK User
Sat Mar 07, 2015 6:46 pm
Reply with quote
Report this post
Could you please post an url to your site - to a sample page where the change should be made?
User avatar
Moderator

GK User
Mon Mar 09, 2015 4:59 pm
Reply with quote
Report this post
https://faceties.ca/men-tarifs
https://faceties.ca/men-clients
https://faceties.ca/a-propos
In these three pages I want that the image on top centered.
Thank you
User avatar
Fresh Boarder

GK User
Mon Mar 09, 2015 7:07 pm
Reply with quote
Report this post
Please edit: /templates/gk_creativity/css/override.css and add at its end:
Code: Select all
article .itemImageBlock > a > img {margin: 0 auto;}

Remember to enable "CSS override" in template settings - advanced section.
User avatar
Moderator

GK User
Mon Mar 09, 2015 8:00 pm
Reply with quote
Report this post
Thank you all works fine now.
User avatar
Fresh Boarder

GK User
Mon Mar 09, 2015 8:28 pm
Reply with quote
Report this post
Is there anything else I can help you with regarding this topic?
User avatar
Moderator


cron