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

Leave a review

file Space between title and image on news item

More
6 years 2 months ago #5070 by nmron
Hi

I am new to this forum.
I have created a news module. I would like to know how to create a margin or space between the title of a news item and the image or text below it.
thanks for any help

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

More
6 years 2 months ago #5071 by syw
Hello and welcome!

In order to add space, you will need to add CSS to the module or menu item (whichever you use).

The title's class is 'newstitle'.

Therefore you can add something like this:
#lnee_95 .newstitle { margin-bottom: 20px; }
This considers that the module id is 95. You need to replace that value with whatever your module instance id is.

In a menu item, do something like:
.lnep_blog form .newstitle { margin-bottom: 20px; }

Olivier.

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

More
6 years 2 months ago #5072 by nmron
Replied by nmron on topic Space between title and image on news item
Hi Oliver

thanks for that, it worked just fine.
Where can I find more CSS commands like these ?

nmron

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

More
6 years 2 months ago #5073 by syw
You are welcome!

You can find useful information on how to discover which classes you can override at simplifyyourweb.com/documentation/tutori...-an-extension-output

Olivier.

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