Ok, I have figured this out, for anyone who needs to know how to do this.
First I had to add this the my CSS.
Code:
A.category-top, A.category-top:visited{
padding-left: 5px;
color:#FFFFFF;
background:#2e466c;
font-weight: bold;
text-decoration: none;
border-style: solid;
border-color: #e1e2e6;
border-top-width: 0px;
border-left-width: 1px ;
border-right-width: 1px ;
border-bottom-width: 1px ;
display: block;
width: auto;
text-align:left;
line-height: 1.4;
padding:2 px;
}
A.category-top:hover, A.category-top:active {
color:#FFFFFF;
background:#1e2d45;
font-weight: bold;
text-decoration: none;
border-style: solid;
border-color: #e1e2e6;
border-top-width: 0px;
border-left-width: 1px ;
border-right-width: 1px ;
border-bottom-width: 1px ;
display: block;
width: auto;
text-align:left;
line-height: 1.4;
padding:2 px;
}
A.category-subs, A.category-subs:visited{
color:#FFFFFF;
background:#46597a;
font-weight: bold;
text-decoration: none;
border-style: solid;
border-color: #e1e2e6;
border-top-width: 0px;
border-left-width: 1px ;
border-right-width: 1px ;
border-bottom-width: 1px ;
display: block;
width: auto;
text-align:left;
line-height: 1.4;
padding:2 px;
}
A.category-subs:hover, A.category-subs:active {
color:#FFFFFF;
background:#303d54;
font-weight: bold;
text-decoration: none;
border-style: solid;
border-color: #e1e2e6;
border-top-width: 0px;
border-left-width: 1px ;
border-right-width: 1px ;
border-bottom-width: 1px ;
display: block;
width: auto;
text-align:left;
line-height: 1.4;
padding:2 px;
}
A.category-products{
color:#2e466c;
background:#ffffff;
font-weight: bold;
text-decoration: none;
border-style: solid;
border-color: #e1e2e6;
border-top-width: 0px;
border-left-width: 1px ;
border-right-width: 1px ;
border-bottom-width: 1px ;
display: block;
width: auto;
text-align:left;
line-height: 1.4;
padding:2 px;
}
A.category-products:hover, A.category-products:active {
color:#2e466c;
background:#ccd3df;
font-weight: bold;
text-decoration: none;
border-style: solid;
border-color: #e1e2e6;
border-top-width: 0px;
border-left-width: 1px ;
border-right-width: 1px ;
border-bottom-width: 1px ;
display: block;
width: auto;
text-align:left;
line-height: 1.4;
padding:2 px;
}
The important bits being the " display: block; " declarations, this makes the background color you choose the full width but because the block declaration also adds line break before and after the element you will wind up with space between the buttons because there is already a line break added in the file tpl_categories.php at around line 57 which I changed from this
Code:
$content .= '<br />' . "\n";
to this
Code:
$content .= '' . "\n";
I am not sure this is technically the correct way to do this but it works. Just make sure your using the overrides system so your not changing the original file.
Hope this helps someone.