Jump to content

Blog Widget: Preventing new line in "posted by"


Meddysong

Recommended Posts

Posted

I really dislike stylistically how a new line is forced between "By X in" and the name of the blog in this widget:

Untitled-1.thumb.jpg.844221ebd19eab99a0acfbe4417242b7.jpg

I'd rather it all appear on a single line: "By Tim in EAB News".

So I thought I would amend the template to fix it. I've gone to blogs > widgets > entryRow and ...

<span class='ipsType_blendLinks ipsType_light ipsType_medium ipsType_break ipsContained'>{lang="byline_nodate" htmlsprintf="$entry->author()->link()"} {lang="in"} <a href='{$entry->container()->url()}' class='ipsType_blendLinks ipsTruncate ipsTruncate_line'>{$entry->container()->_title}</a></span>

... there's no line break.

It appears that the <a> anchor is forcing a new line. Is that normal? It wouldn't normally do that if i were writing a standard paragraph and wanted to insert a link to a new page.

Any thoughts or solutions?

  • 1 month later...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...