Announcement

  •  » Themes
  •  » Best practice for SimpleNG theme CSS customisation?

#1 2013-04-08 13:55:44

Tom Brossman
Member
2012-01-15
8

Best practice for SimpleNG theme CSS customisation?

I really like the SimpleNG theme but I am having difficulty customising it. The way I am used to customising themes is to use the LocalFiles Editor plugin, under the CSS tab. Changing CSS there has no effect however, which is a new problem for me.

As a workaround, I used the 'add <head> element' plugin, included this line:
<link rel="stylesheet" type="text/css" href="custom.css">
and then created a file called custom.css at the root of the Piwigo directory. This is quite an easy workaround but I'd like to know if this is the best way now?

Apologies if this is documented somewhere already but I was unable to find it.

Offline

 

#2 2013-04-08 16:00:12

flop25
Piwigo Team
2006-07-06
7037

Re: Best practice for SimpleNG theme CSS customisation?

Hello
using Localfiles editor is the best way as documented in our Doc
it should work: do you have a live example plz? so you could debugg and help you


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#3 2013-04-08 23:18:31

Tom Brossman
Member
2012-01-15
8

Re: Best practice for SimpleNG theme CSS customisation?

Hi,

I was developing it on a local machine, but it is now live at http://tom.je/

I just wasn't having any luck customising this template with LocalFiles Editor. It's as if I wasn't selecting the CSS properly, but I had no trouble doing so with the other templates. My workaround functions perfectly so I might just stay with it for now.

Have a look if you have some spare time. I can give you the login if you need it for troubleshooting. It is just a hobby site so I'm not worried if you break it. I have everything backed up.

Offline

 

#4 2013-04-08 23:48:08

flop25
Piwigo Team
2006-07-06
7037

Re: Best practice for SimpleNG theme CSS customisation?

Great customization ^^ !


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#5 2013-04-08 23:50:35

Tom Brossman
Member
2012-01-15
8

Re: Best practice for SimpleNG theme CSS customisation?

Thanks, but saimon did all the hard work. I just came after and added a couple lines...

Offline

 

#6 2013-04-09 00:17:44

saimon
Member
2006-12-04
184

Re: Best practice for SimpleNG theme CSS customisation?

Hi,
I don't know what is missing to allow the use of the Localfiles editor. Which file does it create ?
I have added some doc on how to customize the theme with less : https://github.com/saimn/simple-theme-piwigo#customize
You should use that if you want to customize bootstrap styles more easily (for colors you just need to add / change less variables and it will be used everywhere)

Offline

 
  •  » Themes
  •  » Best practice for SimpleNG theme CSS customisation?

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact