Filter: bricks/link_css_selectors
Use this filter in your child theme to overwrite/extend the CSS selectors the “Theme Styles > Link” settings are applied to like this (since Bricks 1.10 also available in the builder):
add_filter( 'bricks/link_css_selectors', function( $link_css_selectors ) { // Add CSS link styles to .my-custom-element a $link_css_selectors[] = '.my-custom-element a';
// OR return new list of CSS link selectors // $link_css_selectors = ['.link-wrapper a', '.link-wrapper-2 a'];
return $link_css_selectors; // Array of selectors link styles are applied to} );Was this helpful?
A quick vote and short notes help us improve these docs faster.
Leave a note for us
Please do not include passwords, license keys, or personal data. We store submitted notes to improve the docs.
Thanks for sharing feedback. We're using it to improve these docs.