Page 1 of 1
category view custom layout
Posted: 30 Oct 2018, 03:39
by amienzero
hello everyone
i'm trying to edit the layout for category view to add total downloaded file for easy review. i've managed to load custom layout but now i got double lines between each files. look here :
https://imgur.com/a/vLuFzjF
but the lines shows up normal if i use default layout. can anyone help? also on the same topic, how can i change the word "downloads: x" to something else?
thanks in advance
Re: category view custom layout
Posted: 30 Oct 2018, 11:18
by Jan
Hi, all strings are set in language file (ini) - in languages/en-GB/en-GB.com_phocacart.ini file (or your language folder), so this can be changed there.
What you exactly mean with "double lines" between the files?
Jan
Re: category view custom layout
Posted: 01 Nov 2018, 03:04
by amienzero
hi Jan,
thanks for answering my question. about the double lines, it's best that i show it to you instead.
this is the default layout :
https://imgur.com/uCoXpaM
as you can see, there's a single line that's barely visible. which is okay for me but when i use custom layout:
https://imgur.com/i2ekn90
again, the lines are barely visible but now there's a double line in between the files. this is the custom layout setup that i used :
https://imgur.com/HEWfWQ5
Re: category view custom layout
Posted: 02 Nov 2018, 18:13
by christine
Hi,
why do you want to change in custom layout (screenshot 3)?
in principle the lines [border-bottom], paddings etc. (screenshot 1) comes from (pd demo site):
Code: Select all
#phoca-dl-category-box .pd-filebox {
margin-top: 10px;
margin-bottom: 10px;
padding-bottom: 10px;
border-bottom: 1px solid #f0f0f0;
}
you always could change or add required Codes to your template.css, or custom.css etc.
Kind regards
Christine
Re: category view custom layout
Posted: 05 Nov 2018, 04:12
by amienzero
thanks for replying Christine.
the reason i want to use custom layout was to add total downloaded information for each items. by adding pddownloads tag like in screenshot 3 i was able to achieve this. in default layout (Display Specific Layout = NO), this information is not available.
i'll try to configure the CSS file later. still learning on editing CSS.