How to make break in news module? [solved]

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"
Post Reply
christophera
Forum Members
Forum Members
Posts: 94
Joined: Sat Jun 06, 2009 10:43 pm

How to make break in news module? [solved]

Post by christophera »

Ok, everyone talks about how easy cms made simple is, but I am struggling with it.  I sure once I get over the learning curve it will all make sense  ::)

My news posts are running together, with no break in between them, see http://koryodo.sure-start.com

What template do I need to edit to put in a break?  I see some default templates in the news admin, but changing the one I thought would affect it didn't.  Wrong place?

Thanks,  Chris

(I know the site's overall template doesn't work with firefox - that's on the list to fix)
Last edited by christophera on Mon Jul 06, 2009 7:53 pm, edited 1 time in total.
Jeff
Power Poster
Power Poster
Posts: 961
Joined: Mon Jan 21, 2008 5:51 pm

Re: How to make break in news module?

Post by Jeff »

By default that should be the "summary" templates, look at the one set as default.
christophera
Forum Members
Forum Members
Posts: 94
Joined: Sat Jun 06, 2009 10:43 pm

Re: How to make break in news module?

Post by christophera »

I seem to be missing something here...

I'm going to 'content', 'news', 'summary templates', 'sample' (has the green check) and adding at the end of the template.  Then save it.

But it doesn't have any affect.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: How to make break in news module?

Post by Nullig »

Have you attached the News stylesheet to your template?

Nullig
Jeff
Power Poster
Power Poster
Posts: 961
Joined: Mon Jan 21, 2008 5:51 pm

Re: How to make break in news module?

Post by Jeff »

They need to go right before the last {/foreach}

Code: Select all

  {/foreach}
{/if}

</div>
<br/><br/>
{/foreach}
<!-- End News Display Template -->
Alternatively (My preference) go edit your stylesheet and add a margin-bottom: 10px; to div.NewSummary

P.S. Did you add the Module: News stylesheet to your template?
christophera
Forum Members
Forum Members
Posts: 94
Joined: Sat Jun 06, 2009 10:43 pm

Re: How to make break in news module?

Post by christophera »

Ah, before the foreach did it, I should have figured that out  ???

Each time I jump in here, I learn more than I can use elsewhere though, thank you both very much!

I had not added the module:news stylesheet to my template.  But... just did and that makes a big difference!  I'll have to read up more on adding stylesheets.

Thanks again,

Chris
Post Reply

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