NO BUG: Theme link style and JetEngine

Hi !
I’m in trouble with the theme link style and JetEngine. I have used the hook you recommend but anyway, JetEngine add his own CSS selector, as you can see in the pictures. Any idea to solve that issue ?

Have a good day !
Clem


Hi @ClemJam,

your code seems correct, but you will need to add a higher priority, so that you override the jet engine styling, like this:

add_filter( 'bricks/link_css_selectors', function( $link_css_selectors ) {
  $link_css_selectors = ['.my-custom-element a'];

  return $link_css_selectors; 
}, 20);

Note that “20” at the end of the filter. You can set any other value higher than 10, I just set 20 :slight_smile:

I’ll mark this as a NO BUG for now. Please let me know if it works.

Best regards,
M

It works fine ! Thanks a lot ! :pray:

1 Like

That’s perfect! :slight_smile:
I’m happy that it works.

Best regards,
M