Comments xz started the conversationAugust 27, 2019 at 3:50pmHi there, How to change the background color? It seems like only two options black or white,can I change to different color? 1,974Support repliedAugust 27, 2019 at 5:20pmIn page options you have light or dark backgrounds. To change to different colors just open /js/scripts.js and at line 388 you will findif ($("#page-content").hasClass("light-content")) { $("main, nav").css('background-color', '#0f1010'); $('#magic-cursor').addClass('light-content'); if( $('#hero').length > 0 ){ if( $('#hero').hasClass("has-image")) { $("header").css('background-color', 'transparent'); } else { $("header").css('background-color', '#0f1010'); } } } else { $("main").css('background-color', '#fff'); $("nav").css('background-color', '#0f1010'); $('#magic-cursor').removeClass('light-content'); if( $('#hero').hasClass("has-image")) { $("header").css('background-color', 'transparent'); } else { $("header").css('background-color', '#fff'); } }$("main").css('background-color', '#fff'); or depending on the setting$("main").css('background-color', '#0f1010');is actually what sets the page background colorThank you. Clapat Support https://www.clapat.com/ Review Envato Item Support Policy Sign in to reply ...
Hi there, How to change the background color?
It seems like only two options black or white,can I change to different color?
In page options you have light or dark backgrounds. To change to different colors just open /js/scripts.js and at line 388 you will find
if ($("#page-content").hasClass("light-content")) {
$("main, nav").css('background-color', '#0f1010');
$('#magic-cursor').addClass('light-content');
if( $('#hero').length > 0 ){
if( $('#hero').hasClass("has-image")) {
$("header").css('background-color', 'transparent');
} else {
$("header").css('background-color', '#0f1010');
}
}
} else {
$("main").css('background-color', '#fff');
$("nav").css('background-color', '#0f1010');
$('#magic-cursor').removeClass('light-content');
if( $('#hero').hasClass("has-image")) {
$("header").css('background-color', 'transparent');
} else {
$("header").css('background-color', '#fff');
}
}
$("main").css('background-color', '#fff');
or depending on the setting
$("main").css('background-color', '#0f1010');
is actually what sets the page background color
Thank you.
Clapat Support
https://www.clapat.com/
Review Envato Item Support Policy