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
category view custom layout
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: category view custom layout
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
What you exactly mean with "double lines" between the files?
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 4
- Joined: 30 Oct 2018, 03:20
Re: category view custom layout
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
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
-
- Phoca Hero
- Posts: 2857
- Joined: 28 Nov 2010, 17:20
Re: category view custom layout
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):
you always could change or add required Codes to your template.css, or custom.css etc.
Kind regards
Christine
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;
}
Kind regards
Christine
-
- Phoca Newbie
- Posts: 4
- Joined: 30 Oct 2018, 03:20
Re: category view custom layout
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.
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.