- Posts: 80
- Thank you received: 0
Change background colour in a module
7 years 2 months ago #47366
by Giorjoom
Change background colour in a module was created 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.
7 years 2 months ago #47367
by milos
Replied by milos on topic Change background colour in a module
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:
Best regards,
Milos
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.296 seconds