Keyword

Linebreak after every attachement

  • Lanzelot22
  • Lanzelot22's Avatar Topic Author
  • Offline
  • New Member
More
8 years 11 months ago #148303 by Lanzelot22
Linebreak after every attachement was created by Lanzelot22
Hey guys,
I am new to this community because I have a problem with K2 attachements.
Thanks for helping me in advance :)

I would like to have a linebreak after every attachement of a K2 article.
How is it possible to implement this and if not, is there a possibility to at least number them?

best regards :)

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

  • Kannan Naidu Venugopal
  • Kannan Naidu Venugopal's Avatar
  • Offline
  • Platinum Member
  • Aham Brahmasmi
More
8 years 11 months ago #148343 by Kannan Naidu Venugopal
Replied by Kannan Naidu Venugopal on topic Linebreak after every attachement
How does the attachments display at the moment on your site?

The attachments are displayed as lists by default <ul> . If you want numbering, then you can do a template override and then change the attachments code block in the item.php file to use <ol> instead of the <ul>

K2 Rocks \m/

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 11 months ago #148408 by Krikor Boghossian
Replied by Krikor Boghossian on topic Linebreak after every attachement
Remember to use overrides so you won't lose your edits when you update.
More information on overrides can be found here: getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates

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