Site logo

[Resolved] Sticky social icons at the bottom of page on mobile

Home Forums Support [Resolved] Sticky social icons at the bottom of page on mobile

Home Forums Support Sticky social icons at the bottom of page on mobile

  • This topic has 9 replies, 3 voices, and was last updated 4 years ago by Fernando.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #2257257
    Tan

    Hi there,

    I follow this video. So, how to add sticky social buttons at the bottom of the page, but only on mobile?

    Thank you!

    #2257414
    Ying
    Staff
    Customer Support

    Hi Tan,

    You’ll need to change the CSS a bit.

    Can you link me to your site where I can see the social icons?

    #2257582
    Tan

    Ok. You can see it here.

    #2258162
    Ying
    Staff
    Customer Support

    Do you want the icons horizontally aligned at the bottom of the mobile screen?
    https://www.screencast.com/t/31M7NmxYrW

    If so, try the following the steps:

    1. Set both the outer container and inner container to full width instead of contained 50px width.

    2. select the buttonsblock, and uncheck the stack vertically option.

    3. Change the CSS to:

    .sticky-social-icons {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
    }

    4. Remove the hide-on-mobile class from the container, and add hide-on-desktop class to the container.

    I noticed that you are using different icon sizes and spacing, make sure you adjust them after the 4 steps are done.

    #2258494
    Tan

    Thank you Ying.

    I want 2 versions, one for mobile (2 icons on bottom), one for desktop and tablet (4 icons on bottom right corner)

    After following your instructions, I made another version for mobile. But it doesn’t like your screenshot 🙁

    Could you check it again?

    #2258505
    Fernando
    Customer Support

    Hi Tan,

    To clarify, did you uncheck the stack vertically option of the Buttons Block for mobile view? Example: https://share.getcloudapp.com/GGuK2oAX

    Kindly let us know.

    #2258537
    Tan

    Yes. I did. And I checked the Fill Horizontal Space on mobile

    #2258557
    Fernando
    Customer Support

    I see. Thank you for confirming.

    Can you check if you’ve set the Container Block’s Container Width to full? Example: https://share.getcloudapp.com/7Ku6bmlr

    Right now, upon checking, I believe it’s set to just 50px. Kindly try setting both Container and Inner Container widths to full.

    Kindly let us know how it goes.

    #2258564
    Tan

    I think I know where the problem is. Because I copy the code of Leo and use it for 2 versions so when I customize, it is still the same on the frontend.

    I rebuilt the mobile version from scratch, and it worked after following Ying’s guide.

    Thank you so much for your help! 🙂

    #2258569
    Fernando
    Customer Support

    I see. Glad you were able to make it work! You’re welcome!

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