CSS/template for News Module Output

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
flips

CSS/template for News Module Output

Post by flips »

Hi!
This is probably very easy and simple and something I should have found by myself. I did a quick search here, but didn't find anything at first glance.

I'm running a test site, and I'm using the News module, and everything works nice, but I want a paragraph or newline after each news entry (now there is no space between each).

So where do I add this paragraph or margin or padding? (Should I do anything in the templates withing the News module, or is there a CSS where I shuld add this margin or whatever?) I don't see any specific CSS or template outside the News module itself. I haven't dug very deep and probably could find this, but maybe one of you just could point me to the correct file/entry/module/page?  :)

--
flips
Glenn

Re: CSS/template for News Module Output

Post by Glenn »

Choose the Summary Template tab in the news manager and add this at the bottom:

Code: Select all

<br /><br />
Before the last two lines:

Code: Select all

{/foreach}

<!-- End News Display Template -->
so it looks like this:

Code: Select all

<br /><br />
{/foreach}

<!-- End News Display Template -->
Or add a tag if you prefer

BTW: Anyone have any idea how to get the styles to appear in the Style drop down menu for new items and global content blocks?
flips

Re: CSS/template for News Module Output

Post by flips »

Ah, yes, pretty logical, I should have been able to figure out that the summary template was the correct one ... Thanks for your help! :)

--
flips
Locked

Return to “Layout and Design (CSS & HTML)”