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
  • nmron's Avatar Topic Author
  • New Member
  • New Member
More
IP: 90.222.122.61 8 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
  • syw
  • syw's Avatar
  • Administrator
  • Administrator
More
IP: 24.185.113.161 8 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:
Code:
#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:
Code:
.lnep_blog form .newstitle { margin-bottom: 20px; }

Olivier.
  • nmron
  • nmron's Avatar Topic Author
  • New Member
  • New Member
More
IP: 90.222.122.61 8 years 2 months ago #5072 by nmron
Hi Oliver

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

nmron
  • syw
  • syw's Avatar
  • Administrator
  • Administrator
More
IP: 24.185.113.161 8 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.