- Posts: 4
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!
Space between title and image on news item
- nmron
-
Topic Author
- New Member
-
Less
More
IP: 90.222.122.61
8 years 2 months ago #5070
by nmron
Space between title and image on news item was created 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
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
- syw
-
- Administrator
-
Less
More
- Posts: 829
IP: 24.185.113.161
8 years 2 months ago #5071
by syw
Olivier.
Replied by syw on topic Space between title and image on news item
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:
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:
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:
Code:
#lnee_95 .newstitle { margin-bottom: 20px; }
In a menu item, do something like:
Code:
.lnep_blog form .newstitle { margin-bottom: 20px; }
Olivier.
- nmron
-
Topic Author
- New Member
-
Less
More
- Posts: 4
IP: 90.222.122.61
8 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
thanks for that, it worked just fine.
Where can I find more CSS commands like these ?
nmron
- syw
-
- Administrator
-
Less
More
- Posts: 829
IP: 24.185.113.161
8 years 2 months ago #5073
by syw
Olivier.
Replied by syw on topic Space between title and image on news item
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
You can find useful information on how to discover which classes you can override at simplifyyourweb.com/documentation/tutori...-an-extension-output
Olivier.
