This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Centering Cta Elements

8 years ago · Last reply by Eric Admati 8 years ago

Hi,

I’ve added a CTA on http://tinyurl.com/y8l2a6e2.

I’d like the elements – “Call Now” and the number to be centered, and, if clicked on a mobile, would set it up so it calls, or prompts the user to “Call (510)330-5201”

How can I do that?

Thanks,
Eric

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

2
  1. Alex S Staff 8 years, 7 months ago

    Hi Eric,

    Please add the following CSS to WP AdminAppearanceCustom CSS:

    .sow-cta-text, .sow-cta-base .so-widget-sow-button {
    	float: none !important;
    	text-align: center;
    }
    .sow-cta-title, .sow-cta-subtitle {
    	display: inline-block;
    }

    You might also need to install the SiteOrigin CSS Editor.

    Now as for making the button clickable, you simply need to set the URL to:

    tel:+1-510-330-5201

    Please note that this will only work on any device that understands tel links. This means that all phones will be okay but for certain desktop users (who don’t have anything installed that understands it – such as Skype), nothing will happen when they click it.

    By the way, as you’re a premium user, you’re entitled to priority email support. If you would like to make use of that, please follow the instructions found on your Page: Dashboard (please refer to the support tab). Please reference this thread and include your SiteOrigin order key in the email.

  2. Eric Admati 8 years, 7 months ago

    Thank you Alex. It worked great!

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread