Page 1 of 1

Phoca Premiere customization

Posted: 30 Sep 2024, 22:30
by EsDeeEm
Hi everyone,

First of all: I'm a big fan of the work you are doing. I'm working on a webshop with Phoca Cart and Phoca Premiere, but I would like to customize the colour scheme to make it more fit in with the house style of the (separate) company website. I've tried editing the template.css but, for some reason, it won't make a difference. I noticed there's a minified and .gz version as well. Which file is used by the template?
At the same time, the template attributes are placed in the beginning and the end of the CSS file.

Could you give me some more info on how to customize the template?

Thanks!

Re: Phoca Premiere customization

Posted: 01 Oct 2024, 00:49
by Jan
Hi, just use user.css for custom css in the template:
media/templates/site/phoca_premiere/css/user.css

and add your own colors to CSS variable names: e.g. instead of red the orange one:


Image

Code: Select all

:root {
    --phoca-color-secondary: orange;
}
Image