Answer the question
In order to leave comments, you need to log in
How to change the theme of the template (color)?
Good afternoon.
Faced one problem.
You need to change the theme color (from blue to purple). I can’t find where to change these colors , and whether it is possible to change them at all after installing the template.
And if possible. How to add a new theme to the existing ones in order to quickly change between them?
I apologize in advance for the stupid question, I have been working in Bitrix for the second week.
I really need an answer.
Write if it's not difficult
Thank you very much.
Answer the question
In order to leave comments, you need to log in
Look at your screenshot, you circled where to change the color scheme.
To add your own colors, you need to make your own css files. The component template contains code that includes the required css of type color.css (green.css or blue.css)
Most likely Settings->Product settings->Sites->Desired site, and there
In table b_user_option set VALUE for entry with CATEGORY='main.interface' NAME='global' as follows:
a:1:{s:5:"theme";s:{NAME_LEN}:"{NAME}";}
where {NAME} - theme name (blue, black, etc.), NAME_LEN - theme name string length.
run once:
Bitrix\Main\Config\Option::set("main", "wizard_eshop_bootstrap_theme_id", "red", SITE_ID);
red - desired color theme
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question