-
AuthorPosts
-
November 25, 2015 at 7:49 pm #542660
Since this theme doesn’t place the phone number in a tap to call button for mobile only, I’m trying to make my own. I did it on another site I made with this theme at http://173.254.96.214/~vicautor/ using a div class and custom css to hide it on screens larger than mobile devices.
But on this site, it’s not working. I have it at http://173.254.96.214/~ronspubh/reservations/
I have a 1/1 column at the top of the page with the custom class mobile-only (I added custom class field with functions.php). Inside of that 1/1 is a text element with the tap to call button code.
It sort of works, but not good enough. In this site, you’ll see on non-mobile, there is a blank space at the of the page. So the css is hiding the content of that 1/1 column, but it’s leaving a blank space there. Padding is set to 0 and so is bottom margins, so I’m not sure why it’s leaving that blank space there.
Nor do I know why it’s behaving differently on http://173.254.96.214/~ronspubh/reservations/ than on http://173.254.96.214/~vicautor/
Can you please help with this.
Also, it would be great if kreisi could release an update with a customizable tap to call button that shows on mobile only, from a phone number field entered in the them options.
Looking forward to your reply.
November 25, 2015 at 11:24 pm #542769Hi robphat!
Please refer to this post – https://kriesi.at/support/topic/phone-number-click-to-call/#post-452509
Also, if you would like to show/hide certain elements on mobile, please see – http://kriesi.at/documentation/enfold/hide-menu-itemselements-on-mobile/Regards,
YigitNovember 26, 2015 at 12:01 am #542787Thanks. That helps.
But I actually just found this. Pretty cool: https://wordpress.org/plugins/call-now-button/
Alternatively, now that I think about it, I could add custom CSS to make the phone number in the top bar bigger, give it a background color with rounded corners and a hover egfect to them it into a tap to call button, I guess. But for now I’ll just use that plugin.
Plus the top bar is too small in non-mobile to be an effective phone number fob a local business. It needs to be bigger. So I put it in the menu with highlighted background color.
-
AuthorPosts
- The topic ‘Mobile only element’ is closed to new replies.