[SOLVED] Trying to Modify News Summary Template
Posted: Thu Aug 07, 2008 9:35 pm
I'm having a small (yet annoying) problem. I am trying to move the [More] link up to the end of the News Summary paragraph, so the link follows continuously after the Summary text. Is this even possible? Here is the link to the page (scroll down to the News module): http://www.test.sportponymagazine.com/
Here is the current template code:
{eval var=$entry->summary}
[{$entry->morelink}]
And the relevant css, which is currently set to put the [More] link off to the right:
.NewsSummarySummary {
line-height: 140%;
}
.NewsSummaryMorelink {
text-align: right;
margin-right: 2em;
padding-bottom: 0.5em;
padding-top: 0px;
margin-top: 0px;
}
Now, it worked just fine for the Date/Category to go on one line when I went like this:
{$entry->formatpostdate}
{$entry->category}
But for some reason, if I use the following, I still get a huge gap between the Summary and the More link:
{eval var=$entry->summary} [{$entry->morelink}]
Any suggestions welcome!! I assume part of this problem is because the Summary Template can use either the summary or, if you choose to skip the summary, it uses the entire content of the News article... but I am still not sure how to fix it.
Here is the current template code:
{eval var=$entry->summary}
[{$entry->morelink}]
And the relevant css, which is currently set to put the [More] link off to the right:
.NewsSummarySummary {
line-height: 140%;
}
.NewsSummaryMorelink {
text-align: right;
margin-right: 2em;
padding-bottom: 0.5em;
padding-top: 0px;
margin-top: 0px;
}
Now, it worked just fine for the Date/Category to go on one line when I went like this:
{$entry->formatpostdate}
{$entry->category}
But for some reason, if I use the following, I still get a huge gap between the Summary and the More link:
{eval var=$entry->summary} [{$entry->morelink}]
Any suggestions welcome!! I assume part of this problem is because the Summary Template can use either the summary or, if you choose to skip the summary, it uses the entire content of the News article... but I am still not sure how to fix it.