By default, Topic List view displays the blue "»" icon to go to the last post. But for some forum users, they might not know what this icon means unless they mouseover it to show the "Go to last post" tooltip. To make it more visually obvious, you can add a text label by simply adding this in css_additional.css in AdminCP or Sitebuilder Style Editor.
For Self-Hosted vB5:
For Self-hosted vB6 and vBCloud: (Updated 4/19/24 for vB 6.0.4)
Add the below code in css_additional.css template.
For those forums that have global underlined links style on default or hover state, you will see an underline in the space between the icon and the "Last post" text.
To fix it, add this additional CSS: (this applies to both self-hosted and vBCloud)
If underline appears on hover state of hyperlinks:
OR if underline appears on default state of hyperlinks:
Enjoy!
For Self-Hosted vB5:
Code:
/* Go to Last Post Icon with Text - START */ .go-to-last-post { overflow: visible; text-indent: 0; background: no-repeat; height: auto; width: auto; margin-left: 2px; } .go-to-last-post::after { content: 'Last post'; /* Change text as desired */ font-size: 11px; } {vb:set imgdir_spriteiconsvb, {vb:stylevar imgdir_spriteiconsvb}} <vb:if condition="!empty($imgdir_spriteiconsvb)"> {vb:set spritepath, {vb:concat {vb:stylevar imgdir_spriteiconsvb}, "/sprite_icons_vb_", {vb:stylevar textdirection}, ".png?v=", {vb:var simpleversion} }} <vb:else /> {vb:set spritepath, {vb:spritepath sprite_icons_general.svg}} </vb:if> .go-to-last-post::before { content: ''; background: transparent url("{vb:raw spritepath}") no-repeat -320px -208px; width: 13px; height: 9px; display: inline-block; position: relative; top: 0.5px; } /* Go to Last Post Icon with Text - END */
For Self-hosted vB6 and vBCloud: (Updated 4/19/24 for vB 6.0.4)
Add the below code in css_additional.css template.
Code:
/* Go to Last Post Icon with Text - START */ .go-to-last-post::after, .b-post-sm__go-to-last-post-container a::after { content: 'Last post'; /* Change text as desired */ font-size: 11px; position: relative; bottom: 1px; } /* Go to Last Post Icon with Text - END */
To fix it, add this additional CSS: (this applies to both self-hosted and vBCloud)
If underline appears on hover state of hyperlinks:
Code:
.go-to-last-post:hover { text-decoration: none !important; } .go-to-last-post:hover::after { text-decoration: underline !important; }
Code:
.go-to-last-post { text-decoration: none !important; } .go-to-last-post::after { text-decoration: underline !important; }
Enjoy!
Comment