[Resolved] Top Bar – Call button

Home Forums Support [Resolved] Top Bar – Call button

Home Forums Support Top Bar – Call button

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2277681
    Darren

    Hi

    As you know most things are moving to mobile so in the top bar I would like to create a button to say “Lets chat” and when they click the button it automatically opens up their caller screen on their phone with my Number ready to dial.
    Is this possible ?

    #2278086
    Leo
    Staff
    Customer Support

    Hi Darren,

    I believe this video should help:

    #2284255
    Darren

    Thanks this has helped a lot.

    Do you know if there if a way of making the call button sticky?

    #2284329
    David
    Staff
    Customer Support

    Hi there,

    can i see the site with the Call Button in place ?

    #2284341
    Darren

    https://darrenandrhianphotography.com

    I would like the top bar to move with call button to scroll, so always visible if possible

    #2284353
    David
    Staff
    Customer Support

    OK, tricky to make that element sticky and not have it up most of the screen.
    How about this.

    Keep what you have added so far.
    We’ll add a second button that will be part of the sticky navigation on mobile?

    If thats good then:

    1. create a new Block Element in Appearance > Elements.
    2. The Element Type should be Hook, and the hook should be menu_bar_items
    3. In the block editor add your button with the call number.
    4. Select that Buttons block ( note that the Core Buttons Block is a buttons wrapper and a button inside, we want the wrapper ). And in Advanced > Additional CSS Class(es) add: hide-on-desktop hide-on-tablet sticky-call-button

    Once thats done it should appear in the Mobile nav, let me know and ill provide some CSS so it only appears when its sticky.

    #2286984
    Darren

    Hi Thank that seems to have worked great 🙂

    #2287158
    David
    Staff
    Customer Support

    Glad to hear that!

    Let us know if you need any CSS for hiding it where you don’t require it etc…

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.