Summary Templates align in a row

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
Coolepeter
New Member
New Member
Posts: 6
Joined: Wed Sep 07, 2011 5:14 pm

Summary Templates align in a row

Post by Coolepeter »

Dear people,

I am using News module 2.9 and I can't figure out how to put the links of the news in a row. Now they allign above each other.
This is the code I use now:

{foreach from=$items item=entry}
<div class="NewsSummaryLink">
{$entry->titlelink}
</div>
{/foreach}

Can someone please help me? It's really bugging me...

- Peter
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: Summary Templates align in a row

Post by Wishbone »

It's just HTML and CSS.. <div>'s by default line up under each other, unless you apply a class to them that contain "float: left".. Or remove the <div> entirely.
Post Reply

Return to “Modules/Add-Ons”