Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Meddysong Posted July 30, 2017 Posted July 30, 2017 I really dislike stylistically how a new line is forced between "By X in" and the name of the blog in this widget: 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?
Meddysong Posted July 31, 2017 Author Posted July 31, 2017 Solved it. It's the presence of the class ipsTruncate_line which caused it.
rgf100 Posted September 14, 2017 Posted September 14, 2017 Ha! I'd say thanks, but the only way I knew what to search for was by basically figuring it out myself.
rgf100 Posted September 14, 2017 Posted September 14, 2017 Hang on, I'm removing ipsTruncate_line and it's still doing it. But not on the block preview. I'm wondering if it's a page / div width thing...
rgf100 Posted September 14, 2017 Posted September 14, 2017 Ended up removing ips_break and ips_contained as well. I wait to see what knock on effects those have...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.