Best practice forum (Archived)

Style Sheet Changes

 
MillsGarrett
Style Sheet Changes
MillsGarrett 发表于 2012年08月9日 Thursday 13:17
 

Hi all,

Figured I would get this one out of the way as well. Is there a way to do Style Sheet changes within the GUI or does it require work on the back end?

Cheers,

Garrett 

CogginsSimon
Re: Style Sheet Changes
CogginsSimon 发表于 2012年08月9日 Thursday 20:55
小组 Totara

Hi Garrett,

I can't think of a way in 1.1 but in 2.2 some themes have an option to add some custom styles which are applied along with the rest of the theme.

The "customisable totara" theme which will be appearing in 2.2 fairly soon will have this option.

Simon

MillsGarrett
Re: Style Sheet Changes
MillsGarrett 发表于 2012年08月10日 Friday 12:41
 
Cheers Simon!

So with 1.1 it's even impossible through the back-end?
CogginsSimon
Re: Style Sheet Changes
CogginsSimon 发表于 2012年08月12日 Sunday 13:48
小组 Totara

Hi Garrett,

No, you could always change the stylesheets directly it's just there's no way to do it via the interface in 1.1.

If you are using the standard totara theme you'll find the CSS files in the  theme/totara/ folder.

Simon

MillsGarrett
Re: Style Sheet Changes
MillsGarrett 发表于 2012年08月14日 Tuesday 09:52
 

Thanks for the answer Simon.

My only follow-up question would be:
If we made changes to the style sheet would they all be overwritten with the upgrade to Totara 2.2?

Cheers,

Garrett 

CogginsSimon
Re: Style Sheet Changes
CogginsSimon 发表于 2012年08月14日 Tuesday 13:27
小组 Totara

The way themes are built has completely changed between Totara 1.1 and 2.2, so your theme would need to be rewritten anyway to work in 2.2 at all.

If you're planning on upgrading to 2.2 soon I'd suggest waiting until you're on 2.2 before making the changes. You might find that the customisable theme is suitable for your needs and if not it will be easier to customise via additional css.

Simon