17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 735 Views |
-
Tutorial question

20 June 2008 at 3:12am
I've review the 2nd tutorial here on the SS.com site and implemented the showing of news on the front page. I have one problem, however. It implements the news as an unordered list like so:
<div id="Content" class="typography">
$Content
<ul id="NewsList">
<% control Children %>
<li class="newsDateTitle"><a href="$Link" title="Read more on "{$Title}"">$Title</a></li>
<li class="newsDateTitle">$Date.Nice</li>
<li class="newsSummary">$Content.FirstParagraph <a href="$Link" title="Read more on "{$Title}"">Read more >></a></li>
<% end_control %>
</ul>
</div>The issue with this is it bulled the title, the date and the article summary. This looks awful. I want it to look more like a blog post like the blog module. I can't use the blog module though because i'm using it for something else. How can i change this or what can I change it to to make it not show the bullets without editing the css to remove bullets from an UL?
-
Re: Tutorial question

20 June 2008 at 1:59pm
Just change the ul to a paragraph or something?
<div id="Content" class="typography">
$Content
<% control Children %>
<div class="newsArticle">
<h3><a href="$Link" title="Read more on "{$Title}"">$Title</h3>
<p>$Date.Nice</p>
<p>$Content.FirstParagraph <a href="$Link" title="Read more on "{$Title}"">Read more >></a><p>
</div>
<% end_control %>
</ul>
</div>
| 735 Views | ||
|
Page:
1
|
Go to Top |


