Page 1 of 1

CSS/template for News Module Output

Posted: Thu Apr 20, 2006 3:36 pm
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

Re: CSS/template for News Module Output

Posted: Thu Apr 20, 2006 10:31 pm
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?

Re: CSS/template for News Module Output

Posted: Fri Apr 21, 2006 9:14 am
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