View Category Layout on using larger Images

Phoca Download - download manager
Trubadix
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 11 Jul 2011, 21:08

View Category Layout on using larger Images

Post by Trubadix »

If larger imgeages then 16x16 are used, an overlapping is the result.
To resolv, are some changes on components/com_pohcadownload/assets/phocadownload.css near line 279 must be done.
In my case I using images like 50x50 and the changes you see downstairs is working.

In your case it's a question of your images size, play with padding-left and height.
Best result for padding-left and height is image-height + 8 px :twisted:

Code: Select all

/* icon next to file*/
.phoca-dl-file-box-mod .pd-document16,
#phoca-dl-file-box .pd-document16,
#phoca-dl-category-box .pd-document16{
	padding-left:	55px;
	background: 	url('images/icon-document-16.png') 0px center no-repeat;
	height:			55px;
    line-height:	16px;
}
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48587
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: View Category Layout on using larger Images

Post by Jan »

Hi, thank you for the info.

Jan
If you find Phoca extensions useful, please support the project
Post Reply