Feature List Link = Button

Hello.

Was curious if there's a feature I'm overlooking or if it would have to be customized. Can you make the "Link" in a feature list a button?

At present, it simply creates a link on my site when I use it. Ideally, I'd like to insert a button below the content of each item in a feature list. Feel free to check out: https://www.ascld.org/aai-toolkit/ to see what I'm talking about.

Thanks for any insight you can provide.

Hi @JeremyT323,

Thanks for posting in!

To add a link in the feature box, please check out this thread:
- https://theme.co/apex/forum/t/code-snippet-add-a-link-to-feature-boxes/273
- https://theme.co/apex/forum/t/link-feature-box-without-displaying-textlink-copy/8228/2

Please let us know if this works out for you.

Thanks so much for such a quick reply. Just checking -- does this work for feature lists as well? I'm working with a feature list and not a feature box.

Thanks.

Hello @JeremyT323,

A feature list is composed of feature boxes element. The code in the given thread should work for you.

Instead of making it as a link, you can use this code to make it as a button:

jQuery ( function( $ ) {
  $('.x-feature-list .x-feature-box-text a:last-child').each( function() {
    $( this ).addClass('x-btn x-btn-regular');
  } );
} );

The link will become a button. You can style your button by going to X > Theme Options > Buttons.

Hope this helps. Kindly let us know.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.