Learn exactly how to makeBETTER WEBSITES RIDICULOUSLY FAST

Get exclusive tips that'll help you master WordPress, Beaver Builder and lots more.

Header customization: Add a call-to-action button to the header of the Beaver Builder theme

Conversion optimization is a process you undertake to ensure the traffic to your website is converting into leads and sales.

You do this because more leads and sales = more profit.

Master Beaver Builder in 30 days!

Enter your email below to join over 900 people just like you and get 1 mind-blowing Beaver Builder tip each day for the next 30 days.

A great way to optimize your website’s conversion rate is to add a large call-to-action button up the top that, once clicked, begins to guide your customer down the road to handing over their credit card or contact details.

What we’ll be creating

We’ll be creating a button like the ENER IN GO SERIES one below.

header-customization-call-to-action-button

Step 1: Add a CSS class to the menu item you want to be styled to stand out

Go to your WordPress Dashboard and navigate to Appearance > Menus.

 

Next, you may need to show the CSS Classes menu property. To do this, as per the animation below, click on Screen Options in the top right hand corner, and once it slides down, make sure you CHECK the CCC Classes checkbox.

header-add-cta-button

Next, let’s add the CSS class to the menu link we want to stand out. See the below screenshot. To follow this tutorial we recommend you add the same CSS class link-cta as we have done.

header-add-cta-show-css-classes

Step 2: Add the necessary CSS

Next, go to where you add your CSS (we recommend in your themes style.css file) and add the below code.

NOTE: This code below will only work for the Beaver Builder Theme when you have the navigation set to the right hand side. If you have the navigation set to the left or centered below, you will need to update the CSS.

And that’s it! How easy was that!

Comment below to show us where you use this technique

2 Comments

  1. timwmillard on August 13, 2016 at 1:02 am

    Thanks for the tip, this is great.
    I’ve implemented this on a clients site and he has requested that the CTA on mobile not be hidden in the menu. So on a mobile phone a user can just got to the website and click to call. Do you an easy solution for this?
    The site is http://www.millardandhoganbuilders.com.au
    Thanks

    • Beyonder #1 on August 18, 2016 at 9:25 am

      Hi Tim. Thank you for your comment. As you are using the Beaver Builder Theme what you could do is add a button to the top bar in the theme and then only show this on mobile devices. So, you’d login and go to appearance > Customize and then Header > Top Bar Layout and make it one column. Then, add some html like Call Us and then in your style.css I would hide this top bar on larger devices using a CSS media query like
      @media (min-width: 993px) {
      .fl-page-bar{display:none;}
      }

      Let me know how that goes 🙂

Leave a Comment

You must be logged in to post a comment.

Master Beaver Builder 

Join over 900 people and get 1 mind-blowing Beaver Builder tip each day

x
//