Hallo,
if I change something in the "standard_theme.css", will the file be overwritten in an upcoming Phocgallery update? If so, how can I save the changes I have made?
Is the folder "custom" meant for this? If so, how do I normally proceed?
Regards
Kueppers
Changing css-files in ..../css/custom
-
- Phoca Member
- Posts: 11
- Joined: 16 May 2017, 22:30
-
- Phoca Hero
- Posts: 2886
- Joined: 28 Nov 2010, 17:20
Re: Changing css-files in ..../css/custom
Yes.
It depends on template. For Cassiopeia it should be created a user.css, where you can insert your codes.Is the folder "custom" meant for this? If so, how do I normally proceed?
Most other templates have an own custom.css.
Kind regards
Christine
-
- Phoca Member
- Posts: 11
- Joined: 16 May 2017, 22:30
Re: Changing css-files in ..../css/custom
Thank you Christine.
Do you know the correspondend name for the templates from Phocagallery. Custom.css?
Or how is that processed at Phoca Gallery? Under "/media/com_phocagallery/css" I find a "main" folder and a "custom" folder.
The following files are in the main folder:
- phocagallery.css
- rating.css
- theme_simple.css
The following files are in the custom folder:
- default.css
- theme_standard.css
Which "customs.css" overrides the normal template settings? I do not want to change anything in the original file.
Regards
Kueppers
Do you know the correspondend name for the templates from Phocagallery. Custom.css?
Or how is that processed at Phoca Gallery? Under "/media/com_phocagallery/css" I find a "main" folder and a "custom" folder.
The following files are in the main folder:
- phocagallery.css
- rating.css
- theme_simple.css
The following files are in the custom folder:
- default.css
- theme_standard.css
Which "customs.css" overrides the normal template settings? I do not want to change anything in the original file.
Regards
Kueppers
-
- Phoca Hero
- Posts: 2886
- Joined: 28 Nov 2010, 17:20
Re: Changing css-files in ..../css/custom
Hi Kueppers,
Correctly. You shouldn't either, because as I wrote above, changes are overwritten with a PG update.
Which template do you have? If you have a custom.css there, then enter the desired changes there.
In Cassiopeia it is a: user.css
Just as an example only:
(The !important; is sometimes needed.)
You should use either theme_simple or theme_standard in Phoca.
If you provide a URL, we may also be able to say the desired code.
Kind regards
Christine
Correctly. You shouldn't either, because as I wrote above, changes are overwritten with a PG update.
Which template do you have? If you have a custom.css there, then enter the desired changes there.
In Cassiopeia it is a: user.css
Just as an example only:
Code: Select all
.pg-category-box-title {
font-size: 80% !important;
}
You should use either theme_simple or theme_standard in Phoca.
If you provide a URL, we may also be able to say the desired code.
Kind regards
Christine