Black Friday Sale! Get up to $30 off GP Premium! Learn more ➝

Reply To: click to call button code for mobile site

Home Forums Support click to call button code for mobile site Reply To: click to call button code for mobile site

Home Forums Support click to call button code for mobile site Reply To: click to call button code for mobile site

#105086
Tom
Lead Developer
Lead Developer

For sure!

First, add this CSS:

.show-on-mobile {
      display: none;
}

@media (max-width:768px) {
      .show-on-mobile {
            display: block;
      }
}

Then, add this HTML wherever you want the button to show up:

<div class="show-on-mobile">
      <a class="button" href="tel:123-456-7890">Call me!</a>
</div>

Of course, you’ll have to adjust the phone number.

Hope this helps 🙂