MyBB Community Forums
Where to change the {$lastpost_profilelink} style? - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Themes (https://community.mybb.com/forum-103.html)
+---- Forum: Theme Development (https://community.mybb.com/forum-105.html)
+---- Thread: Where to change the {$lastpost_profilelink} style? (/thread-192855.html)



Where to change the {$lastpost_profilelink} style? - SvenUilhoorn - 2016-05-11

It's in the template "forumbit_depth2_forum_lastpost" in the forum bit templates. Searched for what feels like hours but can't find it.. Assigning a custom class doesn't work neither, like 


<span class="custom-last-post"> {$lastpost_profilelink}</span>

..or

<a class="different">{$lastpost_profilelink}</a>

with .custom-last-post a{color: green;} and .different {color: green;}

Then adding the style I want in global.css (no underline + other hover state than default links).


RE: Where to change the {$lastpost_profilelink} style? - .m. - 2016-05-11

that just uses the style used for regular link. to force the required style you can try using !important
eg.
.custom-last-post a {text-decoration: none!important;}



RE: Where to change the {$lastpost_profilelink} style? - SvenUilhoorn - 2016-05-11

Works, thanks! Another thing learned Smile