*

alex7070

  • ****
  • 132 posts
Hi! How to make the desired background color or background image via custom css? I entered a line there:

header body {
 background-color: #CC3300;
}

 but it did not help.

*

MB Themes

That is probably because header is child of body.
Code: [Select]
body {background-color: #CC3300;}
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

alex7070

  • ****
  • 132 posts
Thanks, but it did not help.

This full list of my custom css:

header .nav a.publish { background: red; border-color: red;};
body {background-color: #CC3300;}

First line is working.

*

MB Themes

@alex7070
If you define this:
Code: [Select]
body {background:red;}
body {background:green;}

Background color will be green, as first line is overwritten. This is happening in your case. Open browser console, click to inspect element... there is many guides on internet how to use browser in such cases.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

alex7070

  • ****
  • 132 posts
Thanks, this works. But the top of the screen and the category section are of a different color. Is it possible to make the upper part of the site and the category section also green?


*

MB Themes

@alex7070
As I told, first check CSS basics.
That element has already background color and will of course be above body tag.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

alex7070

  • ****
  • 132 posts
Thanks, I'll watch. It would be nice if the Sigma theme was more customizable through the admin panel.