Background colour

Hello,
I used this code for change background:
.mfp_newsy_item {
background-color:yellow;}

The issue is that the colour change in all modules with this theme.
Is it possible to add colour only in one module?

Thanks in advanced
4 years 8 months ago #1 by DEVISUAL IDC

Please Log in or Create an account to join the conversation.

  • Posted by TemplatePlazza (5261) Offline
Hi,

Is it possible to add colour only in one module?

It should be possible. Can you share the URL of your site so I can take a look?
4 years 8 months ago #2 by TemplatePlazza

Please Log in or Create an account to join the conversation.

Hi;
I am using a local host, so it is not possible to access.
But I guess this is a issue for all websites.
I only need to add color to background in only one module with the theme masonryxt, but I used this theme in another module and I only one to change in one. And I only want to add colour to the background of the card.

Thanks again
4 years 8 months ago #3 by DEVISUAL IDC

Please Log in or Create an account to join the conversation.

  • Posted by TemplatePlazza (5261) Offline
Ok. Every minifrontpage module comes with unique class name taken from the module id. Please use inspect element of your browser to get this class name (see image) then change your css adjustment code into something like this :
.mfp_mid_263 .mfp_newsy_item {
background-color:yellow;}
https://www.dropbox.com/s%2Flrsqxho45eg2549%2Fws3kd.jpg?raw=1
4 years 8 months ago #4 by TemplatePlazza

Please Log in or Create an account to join the conversation.

Thank you,
the code works, but it colours all the module space. I only want to change the colour of the cards (where the content is displayed)
4 years 8 months ago #5 by DEVISUAL IDC

Please Log in or Create an account to join the conversation.

  • Posted by TemplatePlazza (5261) Offline

Thank you,
the code works, but it colours all the module space. I only want to change the colour of the cards (where the content is displayed)

You are referring the default theme, please confirm, do you use the newsy theme or the default theme?
4 years 8 months ago #6 by TemplatePlazza

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum