View Full Version : Groups Page on Light Styles
Amaury
12-31-2012, 12:11 AM
I'm getting really annoyed because I can never get the text to show up well on both the buttons and links in the New Groups sidebar on light styles since sidebar_content_link_color and sidebar_content_link_hover_color both control them. I don't know why control_color and control_hover_color don't also control the color of the text on the buttons in the New Groups sidebar area.
Is it possible to change the text color and hover color of only the buttons in the New Groups sidebar area?
Screenshot:
http://i101.photobucket.com/albums/m62/AmauryGarcia/Groups_zps3521d4c5.png
WorldCraft
12-31-2012, 09:07 AM
Add an !important after the color for 'control_color' and 'control_hover_color'. So if you used #000000, you would put #000000!important
If you want to make them completely different than the others, you would go to additional.css and add
#sidebar_container li a
{
color: /*Add your normal color HEX or RGB value here*/
}
#sidebar_container li a:hover
{
color: /*Add your hover color value here*/
}
Amaury
12-31-2012, 03:46 PM
Add an !important after the color for 'control_color' and 'control_hover_color'. So if you used #000000, you would put #000000!important
If you want to make them completely different than the others, you would go to additional.css and add
#sidebar_container li a
{
color: /*Add your normal color HEX or RGB value here*/
}
#sidebar_container li a:hover
{
color: /*Add your hover color value here*/
}
I tried the additional.css, but it changed the color in other areas instead of just the buttons in the New Groups sidebar area.
http://i101.photobucket.com/albums/m62/AmauryGarcia/Sidebar1_zps13e716d7.png
http://i101.photobucket.com/albums/m62/AmauryGarcia/Sidebar2_zpsa4f1dcec.png
WorldCraft
01-01-2013, 02:25 AM
Oops! Try:
#sidebar_container .textcontrol
{
CSS Here
}
and
#sidebar_container .textcontrol:hover
{
CSS Here
}
Amaury
01-01-2013, 02:33 AM
Oops! Try:
#sidebar_container .textcontrol
{
CSS Here
}
and
#sidebar_container .textcontrol:hover
{
CSS Here
}
Thank you, that worked.
I think this might be a bug, though, so I will file it into JIRA. The control_color and control_hover_color style variables should control the text there as well instead of sidebar_content_link_color and sidebar_content_link_hover color.
WorldCraft
01-01-2013, 02:53 AM
It's not really a bug, perhaps an oversight. The reason why those stylevars do not affect the sidebar is because the sidebar buttons do not include the .textcontrol class selector in the default CSS. (which is what we added to additional here)
Amaury
01-01-2013, 03:04 AM
It's not really a bug, perhaps an oversight. The reason why those stylevars do not affect the sidebar is because the sidebar buttons do not include the .textcontrol class selector in the default CSS. (which is what we added to additional here)
I can file it as in improvement request, then. :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.