Phone and email Button

Permalink Browser Info Environment
is there any way to create a Button with a Phone or Email link?

Type: Ticket
Status: Resolved
nemonic1
View Replies:
mnakalay replied on at Permalink Reply
mnakalay
Hello,

You make your button a link, then you select "external link" and, for the URL, you enter either mailto:your-email@email.com for an email link or tel:01234567 for a phone link

And that's it.
nemonic1 replied on at Permalink Reply
nemonic1
thanks.

but last question: my Button Text isnt in the middle/center of the Button
mnakalay replied on at Permalink Reply
mnakalay
You are right, I found a bug in the package. Please update to version 5.0.4 that I just uploaded and it should work correctly.
nemonic1 replied on at Permalink Reply 1 Attachment
nemonic1
no sorry, doesnt work.

i cleared all caches. and for you make a new Button
mnakalay replied on at Permalink Reply
mnakalay
It works for me so you might have CSS on your website interfering with the button. Can you give me an address where I can check it please?
nemonic1 replied on at Permalink Reply
nemonic1
***** Content has been removed by an Administrator *****
mnakalay replied on at Permalink Reply
mnakalay
So in your common.css file, from your website's theme, you have

div.ccm-page footer a:not(.fas):not(.btn):not(.link-item):not(.rp-social-links__icon-link):not(.rslides_nav):not(.rp-page-list__read-more),div.ccm-page main a:not(.fas):not(.btn):not(.link-item):not(.rp-social-links__icon-link):not(.rslides_nav):not(.rp-page-list__read-more) {
padding: 10px 0;
}

That's super specific so it overrides pretty much any links styling in the footer. That padding of 10px is what's making the button's content go down.
You have to modify it to be much less specific or to exclude the button.

concrete5 Environment Information

# Concrete Version
Core Version - 9.2.0
Version Installed - 9.2.0
Database Version - 20230308163514

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/114.0

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.