Contentify: Changing Theme Background Color

Created on 6 Mar 2019  路  2Comments  路  Source: Contentify/Contentify

Hi, it seems like the two themes included with Contentify have dark black backgrounds, and I can't figure out how to change the background color. I'm not too well-versed in PHP, so I'm not sure if it's something specific to the themes, or to the CMS itself. Thanks.

question

Most helpful comment

Hi,

yes, both themes have a dark background.

The body background color is set here: https://github.com/Contentify/Contentify/blob/v2.6/app/Modules/MorpheusTheme/Resources/Assets/less/frontend.less#L719

So this is LESS code, so you have to compile it, which is possible since v2.5(?) in the admin backend -> settings -> click on the "Compile LESS" button.

Since Contentify 2.6 you can also add custom LESS/CSS code in the admin backend-> settings page so you could add body { background-color: white } there. Compile LESS afterwards.

All 2 comments

Hi,

yes, both themes have a dark background.

The body background color is set here: https://github.com/Contentify/Contentify/blob/v2.6/app/Modules/MorpheusTheme/Resources/Assets/less/frontend.less#L719

So this is LESS code, so you have to compile it, which is possible since v2.5(?) in the admin backend -> settings -> click on the "Compile LESS" button.

Since Contentify 2.6 you can also add custom LESS/CSS code in the admin backend-> settings page so you could add body { background-color: white } there. Compile LESS afterwards.

Thank you so much!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Ozymandias2 picture Ozymandias2  路  4Comments

MohsinAhmedShaikh picture MohsinAhmedShaikh  路  6Comments

nrRudiak picture nrRudiak  路  3Comments

khalifaone picture khalifaone  路  3Comments

bitbot-marina picture bitbot-marina  路  5Comments