noonand
noonand

Reputation: 2855

Orchard v1.6: customising a theme

New to Orchard in that I just started to play around with it in the past few days. My question is about customising a theme (in this instance the Bootstrap one that can be installed from the gallery)

I tried to have a look and see if there was a non-source code way of doing it but was unable to find this way of doing it so I went spelunking through the theme folder and edited the Layout.cshtml file myself. Is this 'wrong' or is there another 'supported' way of doing it?

What I specifically wanted to do was to have the logo to the left and the menu to the right (see here for the OOB behaviour) and this was the way that I achieved it.

I'm sure if there are any updates to this theme then the customisations will be overwritten hence the question about a supported way to achieve this.

Upvotes: 0

Views: 90

Answers (2)

Kyle Gobel
Kyle Gobel

Reputation: 5750

What you may want to do is look up Derived themes, you should create a new theme based off the theme you're modifying, then you can just modify the parts you want, and if the original theme needs updates or w/e you can update it without overwritting all your changes. I'm pretty sure this is the way you should be doing it.

This page should describe how that is done http://docs.orchardproject.net/Documentation/Customizing-the-default-theme

Upvotes: 1

Bertrand Le Roy
Bertrand Le Roy

Reputation: 17814

This is how themes are customized.

Upvotes: 0

Related Questions