Postings

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

Posts only show once reviewed. This is mainly preventive to keep spam away. Thank you for your understanding!

article background colour and border

More
IP: 23.233.26.102 12 years 4 weeks ago #3844 by disconnect
Hello,

I just installed the LNEE plugin and have been playing around with it. It seems pretty straight forward, but there is one thing I cant seem to figure out, and was hoping would be a feature of this paid version.

I would like to have a border around each article, that surrounds all of the text and the image. I'd like to be able to adjust the colour of that border, as well as the background colour. I guess basically I'd like a div to wrap each article, with a couple of pixels of padding of course.

I'm just not sure where or how to accomplish this.

Any help would be greatly appreciated!

Chris
More
IP: 173.2.237.88 12 years 4 weeks ago #3847 by admin
Hello Chris,

this is actually pretty simple.
Just add the required properties you wish to set to the
Code:
innernews
class.
Add those properties to the parameter 'CSS overrides' that you can find under the 'style' tab of the module.
For instance, you could write:
Code:
.innernews { border: 5px solid white; padding: 8px !important; /* !important is to override the property set in the module stylesheet */ }

Olivier.
More
IP: 23.233.26.102 12 years 4 weeks ago #3850 by disconnect
This is great, thank you!
More
IP: 173.2.237.88 12 years 4 weeks ago #3851 by admin
You are welcome Chris!

Olivier.