function oa_social_login_set_custom_css ($css_theme_uri)Any idea why this is not switching the stylesheet?
{
$css_theme_uri = Roots\Sage\Assets\asset_path('styles/main.css');
return $css_theme_uri;
}
add_filter('oa_social_login_default_css', __NAMESPACE__ . '\\oa_social_login_set_custom_css');
add_filter('oa_social_login_widget_css', __NAMESPACE__ . '\\oa_social_login_set_custom_css');
add_filter('oa_social_login_link_css', __NAMESPACE__ . '\\oa_social_login_set_custom_css');
Please sign in to your OneAll account to ask a new question or to contribute to the discussions.
Please click on the link below to connect to the forum with your OneAll account.
Answers
could you please post a link to the page where I can see the icons that you are trying to customize?
Regards,
Thanks for sharing this example. Custom CSS integration can be tricky, especially when a theme uses a framework like Roots Sage to manage asset paths. Checking whether the generated stylesheet URL is correct and accessible is a good first step when the social login styles are not updating. Audio files also have different format requirements, and understanding WAV vs MP3 vs FLAC can help when choosing the right format for sound quality and file size. Helpful discussion!