I’d like to change the font color of a fullwidth button on hover. Here is the shortcode ‘code’ but it doesn’t seem to work. Any suggestions?
When button loads I’d like the font color to be #ffffff and on hover I’d like the font color to be #421c52
Thanks
Mike
[av_button_big label='Learn more ' description_pos='below' link='manually,http://' link_target='' icon_select='no' icon='ue800' font='entypo-fontello' custom_font='#ffffff' color='theme-color' custom_bg='#444444' color_hover='theme-color-subtle' custom_bg_hover='#444444' custom_font_hover='#421c52!important'][/av_button_big]
Hey msmazza!
Can you please post the link to your page where you have fullwidth button?
Best regards,
Yigit
Hi!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
a.avia-button-fullwidth:hover span {
color: #421c52;
}
Best regards,
Yigit
THank you Yigit,
I’m using the advanced layout builder debug mode so is there a way I can add it to the shortcode on the page directly in the debug screen so I’m not impacting site wide?
Thanks
Mike
Hey!
You can enable custom CSS field for ALB elements – http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ and give your button a custom CSS class and then change the code to following one
.your-custom-class a.avia-button-fullwidth:hover span {
color: #421c52;
}
Regards,
Yigit