×
Postings

You can freely browse the forum. However, you need a valid license in order to post (own a valid commercial software license or have purchased a support membership).

Posts only show after being reviewed.

file Background color

More
1 year 6 months ago #4524 by DLM
DLM created the topic: Background color
Hi there,

I just bought this module and it seems quite cool. I was only wondering how I could change the background-color of the 'box'.

I have put 4 boxes next to eachother and I want to style the background and the title so that they are different from eachother. I noticed there's a .css file that is linked with the id of each module but if I do some changes over there, it doesn't seem to change.

Thanks in advance for feedback,
kind regards
More
1 year 6 months ago - 1 year 6 months ago #4525 by syw
syw replied the topic: Background color
Hello!

are your 4 box items in the same module or are they from 4 different modules?

If they are different modules, just do something like:
#lnee_[your module instance id] .news {
    background-color: red !important;
}

For the title:
#lnee_[your module instance id] .news .newstitle {
    color: red !important;
}

Add this code to the CSS overrides parameter in the advanced tab of your module instance (the !important keyword may not be necessary).

If the boxes you are referring to are from the same module instance, you can only dissociate items by category or change color every 2 items (odd/even classes are available).

Olivier.
Last Edit: 1 year 6 months ago by syw.