problem with lot of attachemnts

Winter sport ecommerce template for Joomla with VirtueMart support
GK User
Tue Sep 25, 2012 1:51 pm
Hi
I have problem with many attachments. Is any possibility to put each attachment in new line?
Will be beautifull to add near each icon of type of attachemnt, in my case pdf.
hubert_attachment.jpg

http://hubertus-wagrowiec.com/component ... awet-do-25
Thx in advance
User avatar
Senior Boarder

GK User
Wed Sep 26, 2012 12:50 pm
Hi,

In the k2.css around line 541. please change the code:
Code: Select all
.catItemAttachmentsBlock ul.catItemAttachments li,
.itemAttachmentsBlock ul.itemAttachments li {
display: inline;
list-style: none;
padding: 0 4px;
margin: 0;
text-align: center;
}


to:
Code: Select all
.catItemAttachmentsBlock ul.catItemAttachments li,
.itemAttachmentsBlock ul.itemAttachments li {
background: transparent url('YOUR PATH TO PDF ICON') no-repeat left center;
display: block;
list-style: none;
padding: 0 4px 0 20px;
margin: 0;
text-align: left;
}
User avatar
Administrator

GK User
Wed Sep 26, 2012 2:55 pm
thx, perfect
its maybe possibility to add thumb for each attachment in K2 to be displaed instead of icon?
thx in advance
User avatar
Senior Boarder

GK User
Wed Sep 26, 2012 5:16 pm
I think that in this case you should ask on the K2 forum, because this type of functionality is beyond the standard template modification for K2 - it needs probably bigger ingerence in the K2 code.
User avatar
Administrator


cron