1. Home
  2. Docs
  3. Magister – Divi Child Theme
  4. Theme Customization
  5. Theme CSS classes

Theme CSS classes

There are some pre-defined classes that you can use in the modules to customize the colors:

  • .accent-color: Change module’s background to theme accent-color;
  • .main-color: Apply the accent-color to main color of module;
  • .overlay-color: Force module to user overlay-color of theme in background

There are already several modules configured with these classes. To change the definitions of these modules, just delete the corresponding CSS class:


Was this article helpful to you? Yes No

How can we help?