Keyword

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

  • sohrab
  • sohrab's Avatar Topic Author
  • Offline
  • Senior Member
More
1 month 3 weeks ago #178220 by sohrab
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.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
1 month 3 weeks ago #178232 by Fotis
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...

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

  • sohrab
  • sohrab's Avatar Topic Author
  • Offline
  • Senior Member
More
1 month 2 weeks ago #178256 by sohrab
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.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
1 month 1 week ago #178269 by Fotis
Great :)

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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


Powered by Kunena Forum