This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

joelemason
joelemason

I am a software engineer, but I am very new to the October method of doing things which is good because I have to learn things. I installed October and using the basic forum/blog theme Vanilla, but I wish to customize the theme. What do I need to modify to change the font used, colors, layout, etc? I know this is a noob question, but no one can know everything. :)

Thank you!

Last updated

joelemason
joelemason

I figured it out:

Create a .less within the theme

Include the .less file in your default or other layout:

    <link href="{{ [
        'assets/less/theme.less'
    ]|theme }}" rel="stylesheet">

    <link href="{{ [
        'assets/less/mycustom.less'
    ]|theme }}" rel="stylesheet">

It appears that the inclusion of this .less file will over ride existing selectors in theme.less automatically. I hope this helps someone else with such a noob question. :)

Last updated

Rien.D
Rien.D

Really really thank you, I am a big noob than you!

BennoThommo
BennoThommo

@joelemason, even better, you can combine them both together and allow October's compiler to make one CSS file - very good for SEO :)

<link href="{{ [
    'assets/less/theme.less',
    'assets/less/mycustom.less'
]|theme }}" rel="stylesheet">

Last updated

1-4 of 4

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.