[Support request] My back to top button has dissapeared

Home Forums Support [Support request] My back to top button has dissapeared

Home Forums Support My back to top button has dissapeared

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1052671
    Jesús

    Hello!

    I follow these steps:
    https://generatepress.com/forums/topic/back-to-top-button-and-anchor/
    to put a button float in my main page.

    It works very well but I changed the anchor name in Appearance => Elements and now, my button float (right down) dissapeared.

    <a  class="go-to-section smooth-scroll" href="#windows-android-mac-ios-linux">Menu</a>

    Can you help me please?

    #1052683
    Jesús

    I want clarify this theme:
    I want a button float right down in a page.
    The problem it´s that now my button isn´t float right, I´ve seen that he is here:

    In Appearance my configuration is:

    The CSS code is this:

    .go-to-section {
        display: block;
        height: 50px;
    	  right: 20px;
        bottom: 20px;
        line-height: 50px;
        width: 60px;
    	
    		color: white;
    	text-decoration: none;
        text-align: center;
    	opacity: 1;
    		visibility: visible;
        position: fixed;
    	background-color: white;
    		border-radius: 7px;
    		z-index: 10;
    		transition: opacity 300ms ease-in-out;
    		font-size: 17px;
        background: rgba(0,110,188,.63);
    }

    The button isn´t dissapeared, but he isn´t float 🙁
    How can I get that this can become a float button right down?

    I hope that this you help 🙂

    #1052734
    David
    Staff
    Customer Support

    Hi there,

    it is because your HTML contains additional white space ie – remove extra space between <a and class.

    ie.
    <a class="go-to-section smooth-scroll" href="#windows-android-mac-ios-linux">Menu</a>

    #1053029
    Jesús

    Wow!!

    You are great humain! =)

    Thanks David!

    #1053058
    David
    Staff
    Customer Support

    Glad to be of help 🙂

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