Change background colour in a module

More
1 week 1 day 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 or Create an account to join the conversation.

More
1 week 18 hours 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:
.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 or Create an account to join the conversation.

Moderators: milos
Time to create page: 0.100 seconds