Keyword

why new k2 v2.10.3, item image is not center aligned

  • Sori
  • Sori's Avatar Topic Author
  • Offline
  • Senior Member
More
3 years 1 month ago #178220 by Sori
I tried it with many different templates and systems liek warp , t3, gantry and ..
in the new version of K2 , the image is not center aligned and you need to go through lots of manipulation to do so.
is there any reason or am I doing sth wrong?

Please Log in or Create an account to join the conversation.

More
3 years 1 month ago #178232 by JoomlaWorks
K2 will always center images. If they don't center, then it may be some CSS conflict coming from your template, as most will use really global rules like img {...} in their CSS files.

A URL to some K2 item page on your site would obviously help...

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Sori
  • Sori's Avatar Topic Author
  • Offline
  • Senior Member
More
3 years 3 weeks ago #178256 by Sori
Hi Fotis.
You are right. it is related to template.
but it used to be like working on most templated. all images centered.
but on shaper template is not and gantry as well.
Here is one example which I used a margin-right:auto and margin-left:auto in the php file to make it alright.:
www.bahramabedini.com/en/photogram

Please Log in or Create an account to join the conversation.

More
3 years 3 weeks ago #178269 by JoomlaWorks
Great :)

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum