Background colour
- Posted by DEVISUAL IDC (17) Offline
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
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
Please Log in or Create an account to join the conversation.
- Posted by TemplatePlazza (5261) Offline
Hi,
4 years 8 months ago #2
by TemplatePlazza
It should be possible. Can you share the URL of your site so I can take a look?Is it possible to add colour only in one module?
Please Log in or Create an account to join the conversation.
- Posted by DEVISUAL IDC (17) Offline
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
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
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 :https://www.dropbox.com/s%2Flrsqxho45eg2549%2Fws3kd.jpg?raw=1
4 years 8 months ago #4
by TemplatePlazza
.mfp_mid_263 .mfp_newsy_item {
background-color:yellow;}
Please Log in or Create an account to join the conversation.
- Posted by DEVISUAL IDC (17) 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)
4 years 8 months ago #5
by DEVISUAL IDC
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)
Please Log in or Create an account to join the conversation.
- Posted by TemplatePlazza (5261) Offline
You are referring the default theme, please confirm, do you use the newsy theme or the default theme?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)
Please Log in or Create an account to join the conversation.