Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #73427

    JCastelize
    Participant

    I want to create a “return to top” button on one of my site’s pages but not sure how to insert anchor links OR how to make the button follow you as you scroll down (so that it’s always visible on the side as you’re scrolling down.) Any help with this would be very much appreciated! Thanks!

    Using up to date x-theme and all updated shortcodes.
    Using Integrity theme.
    Wordpress is updated to most recent.

    #73826

    Kosher K
    Member

    Hi There,

    Thanks for writing in,

    You can enable the button in Customizer -> Footer -> SCROLL TOP ANCHOR

    Cheers

    #74406

    JCastelize
    Participant

    I know about that setting, my problem is it’s not very intuitive. Is there no way to enter in custom jQuery code for a button I place on the page titled “return to top?”

    #74730

    Christian
    Moderator

    Hey Jacqueline,

    Please add the code below in your Customizer > Custom > CSS.

    .x-scroll-top.right {
    width: 123px;
    border: 0;
    font-size: 17px;
    border: 1px solid black;
    border-radius: 2px;
    }
    
    .x-scroll-top.right .x-icon-angle-up:before {
    content: "Return to Top";
    }

    Hope that helps. 🙂

    #74869

    JCastelize
    Participant

    That’s great! Thanks so much! 🙂

    #75244

    Kosher K
    Member

    You’re Welcome

    Cheers