Keyword

Each attachment in new line - how to?

  • MIGLAND
  • MIGLAND's Avatar Topic Author
  • Offline
  • New Member
More
12 years 8 months ago #62201 by MIGLAND
Each attachment in new line - how to? was created by MIGLAND
Hi guys,
I creat a site when I will be use attachment sectios, I will be add few files to each article like
www.test.hubertus-wagrowiec.com/component/k2/item/77-narty
Will be beautifull add icon for each file (ideal will be when system recognise extensions and for pdf files give pdf.png, may be file for manual choosing) and then each file will be in new line. Knows anybody how to make this?
Thx in advance

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

More
12 years 7 months ago #62202 by Jakub Jedynak
Replied by Jakub Jedynak on topic Re: Each attachment in new line - how to?
To get every link in separate line you need to change in k2.css (about line 229):

div.itemAttachmentsBlock ul.itemAttachments li { }

'display' property from 'inline' to 'block'

And icons could be added this way:

web-kreation.com/all/add-file-type-icons-next-to-your-links-with-css/

Change k2.css as you need after reading tutorial above.

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


Powered by Kunena Forum