Sign Up! Login: Password: New User? Forgot? Support
Top Mods!
Wowhead Search
by sonofsamedi
Digital Clock
by Wolfar15
Admin Forums
Welcome to the GuildPortal Help Community! These forums are for admin-to-admin help.
Available Forums
Forums : Pimp My Site! > Fix Mail Select Buttons
Mottie (MVP) 3/3/2010 6:31 PM EST : Fix Mail Select Buttons
GuildPortal MVP
Mottie
Posts: 3884
Zomgawsh Poster

Fix Mail Select Buttons

This short script basically just adds the classes needed to make the mail select buttons look like buttons. The buttons should already match your site theme (the [New Message] & [Custom Folders] buttons at the top).

 Mail Before
 
 Mail After

The Code

Add the following code ideally to a hidden Free Form Text/HTML type widget on your Mail page. Alternatively, you can just add the script to your Footer Area (Control Panel > Custom HTML & Script > Footer Area)
<script type="text/javascript">
$(document).ready(function(){
 $('.gpWidget-mailcenterlrg').find('div.mBottom').find('a.tooltip').addClass('ToolLinkButton ui-state-default ui-corner-all');
})
</script>
Edit (3/4/2010): Added some code so that the Sent Items list doesn't also get converted into buttons 
TopBottom

Admins Online
There are   members online.
So-and-so has logged on!
%title%
%message%