Change background colour in a module

More
6 years 5 months ago #47366 by Giorjoom
Could not figure out how to assign a background colour to a single module. This page ( maremotoviaggi.com/index.php/features/sport ) uses 3 custom modules on three columns made on a custom row in Sparky's Template Style Layout builder. I would like to achive the result that each column has a different background colour. How can I get it? Thanks.

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
6 years 5 months ago #47367 by milos
Hello,

Each of these cells have different class applied. In your example, classes are "mp_header4", "mp_header5" and "mp_header6". So, you can style them separately. In example, in CSS you can add:
Code:
.mp_header4 { background: pink; } .mp_header5 { background: green; } .mp_header6 { background: orange; }

Best regards,
Milos
The following user(s) said Thank You: Giorjoom

Please Log in to join the conversation.

Time to create page: 0.169 seconds
Powered by Kunena Forum