Are you enjoying the extensions? Did you like the support? Help others decide.

Leave a review

file article background colour and border

More
10 years 1 month ago #3844 by disconnect
article background colour and border was created 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

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

More
10 years 1 month ago #3847 by admin
Replied by admin on topic article background colour and border
Hello Chris,

this is actually pretty simple.
Just add the required properties you wish to set to the
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:
.innernews {
    border: 5px solid white;
    padding: 8px !important; /* !important is to override the property set in the module stylesheet */
}

Olivier.

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

More
10 years 1 month ago #3850 by disconnect
Replied by disconnect on topic article background colour and border
This is great, thank you!

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

More
10 years 1 month ago #3851 by admin
Replied by admin on topic article background colour and border
You are welcome Chris!

Olivier.

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