Hi,
I'm new to piwigo and have just migrated from Gallery3. I'm very impressed with the Bootstrap Default theme.
I'd like to change the link text at the top to an icon and also add a background image.
I can't see in the configuration settings for the theme anywhere to change this (other than in the custom css field).
Before I go hacking into the 1o5ckw7.css file I wanted to understand the implications. Is there a forum or guide somewhere on how to (safely) modify the theme? Are there implications on functionality or upgrades if I hack the css directly, or should it all go in the custom css field?
Piwigo version: 2.7.4
PHP version: 5.4.43
MySQL version: 5.5.42-37.1
Piwigo URL: http://davidedwardsphotos.com/photos-p
Offline
DO NOT change files in _data
http://piwigo.org/doc/doku.php?id=user_ … q:css_code
Offline
davidedwardsphotos wrote:
Is there a forum or guide somewhere on how to (safely) modify the theme?
The easiest way is to add CSS in the admin, if you go to themes there should be a "Configuration" link on the theme.
This CSS should be loaded last, hence you should be able to modify anything in theory.
If for some reason that doesn't work you could either:
1. Create a child theme (best option, more work)
2. Modify the theme code (wouldn't recommend as it may complicate getting updates, or updates will overwrite your changes, but if you have problems with the alternative it might be the way to go)
Offline
philb wrote:
davidedwardsphotos wrote:
Is there a forum or guide somewhere on how to (safely) modify the theme?
The easiest way is to add CSS in the admin, if you go to themes there should be a "Configuration" link on the theme.
Why not using LocalFiles Editor, tab CSS? This is the standard way to have custom CSS.
Offline
plg wrote:
philb wrote:
davidedwardsphotos wrote:
Is there a forum or guide somewhere on how to (safely) modify the theme?
The easiest way is to add CSS in the admin, if you go to themes there should be a "Configuration" link on the theme.
Why not using LocalFiles Editor, tab CSS? This is the standard way to have custom CSS.
Never used that before, but that also seems to work :)
Offline