Add Links to Entire Columns in Beaver Builder – Easy Methods

Entire Column in beaver builder

Adding links to entire columns in Beaver Builder can be a game-changer for your website’s user experience. It allows you to make any column clickable, turning images, text, or any content within the column into a seamless navigation tool. In this guide, we’ll explore simple methods to achieve this using both jQuery and CSS. Whether you’re new to Beaver Builder or have some coding experience, you’ll find a solution that works for you.

Why Make Columns Clickable in Beaver Builder?

Clickable columns enhance interactivity on your website, making it easier for users to navigate through your content. Instead of just linking a text or an image, you can link an entire column, which is especially useful when you have a background image or a button as part of the design.

Method 1: Quick jQuery Solution

If you’re looking for a fast and efficient way to make a column clickable in Beaver Builder, using jQuery is one of the simplest methods. This approach doesn’t require much CSS, making it ideal for those who prefer to keep things straightforward.

Steps to Implement:

  • Access Beaver Builder: Open the page where you want to add the clickable column.
  • Assign a Unique Class to the Column: Navigate to the column settings, click on the “Advanced” tab, and add a unique CSS class (e.g., link-column) under the “CSS Class” field.
  • Add jQuery Code:
    • Go to the WordPress dashboard.
    • Navigate to Appearance > Customize > Additional CSS/JS.
    • Add the following jQuery code:
    
     jQuery(document).ready(function($){
    $('.link-column').click(function(){
        window.location = $(this).find('a').attr('href');
        return false;
    });
});

    
   

Explanation:

  • The jQuery script targets the column with the class link-column.
  • When the column is clicked, it finds the first anchor tag (<a>) inside the column and redirects the user to that link.

Method 2: Longer Way with HTML and CSS

For those who prefer a more traditional approach or need to hand over the project to someone else who may not be familiar with jQuery, using HTML and CSS is another effective way to make columns clickable.

Steps to Implement:

Redo the Layout in an HTML Module:

  • Instead of using the standard Beaver Builder column settings, create the layout within an HTML module.
  • Wrap the entire content of the column inside an anchor (<a>) tag.
    
     <div class="link-column">
  <a href="https://yourlink.com">
    <!-- Your column content here -->
  </a>
</div>

    
   

Add CSS for Full Height and Width:

  • Ensure that the anchor tag covers the entire column by adding the following CSS:
    
     .link-column a {
    display: block;
    height: 100%;
    width: 100%;
    text-decoration: none;
    color: inherit;
}
    
   
Explanation:
  • The display: block; ensures that the anchor tag behaves like a block element, covering the full height and width of the column.
  • The color: inherit; keeps the text color the same as the surrounding text, avoiding any unwanted color changes.

Which Method Should You Use?

Both methods are effective, but your choice depends on your project’s requirements:

  • Use jQuery if you need a quick solution without modifying the HTML structure.
  • Use HTML and CSS if you prefer a more hands-on approach or need to ensure that the solution is easily transferable to other developers.

Conclusion

Adding links to entire columns in Beaver Builder doesn’t have to be complicated. Whether you choose the jQuery method for its simplicity or the HTML and CSS method for more control, you’ll be able to enhance your website’s navigation and improve user engagement. Try out these methods and see which one works best for your project!

What do you think?

Related articles

Contact us

Partner with Us for Comprehensive IT

We’re happy to answer any questions you may have and help you determine which of our services best fit your needs.

Your benefits:
What happens next?
1

We Schedule a call at your convenience 

2

We do a discovery and consulting meting 

3

We prepare a proposal 

Schedule a Free Consultation