Keyword

K2 Article -Responsive - first image, then text?

  • Patrick
  • Patrick's Avatar Topic Author
  • Offline
  • New Member
More
9 years 11 months ago #133105 by Patrick
Hi,

how can i do, that the image comes first on responsive design and then the text.
Now, i have the text and the image under the text.

Best regards
Patrick

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 11 months ago #133106 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: K2 Article -Responsive - first image, then text?
You need to override your item.php file. This post will help you on the overrides, getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates

In the item.php you need to locate the image block and move it before the title.
You can locate the image by searching in the file's comments for <!-- Item Image --> .

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

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

  • Patrick
  • Patrick's Avatar Topic Author
  • Offline
  • New Member
More
9 years 11 months ago #133107 by Patrick
Many thanks, it works

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 11 months ago #133108 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: K2 Article -Responsive - first image, then text?
You 're welcome Patrick.

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