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 |
thanks.
but last question: my Button Text isnt in the middle/center of the Button
but last question: my Button Text isnt in the middle/center of the Button
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.
no sorry, doesnt work.
i cleared all caches. and for you make a new Button
i cleared all caches. and for you make a new Button
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?
***** Content has been removed by an Administrator *****
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.
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.
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.