[Resolved] Back To Top button text won’t stick

Home Forums Support [Resolved] Back To Top button text won’t stick

Home Forums Support Back To Top button text won’t stick

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #2077015
    Peter

    I’ve enabled the Back To Top button, changed the shape (via CSS code), chosen the background colors and the arrow (text) colors. Everything works fine except when viewing the live site, the arrow colors do not update.

    Any help would be appreciated. Thanks.

    #2077069
    Leo
    Staff
    Customer Support

    Hi there,

    Any chance you can link us to the site in question?

    You can use the private information field:
    https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information

    Let me know 🙂

    #2077121
    Peter

    Sure.

    #2077150
    Leo
    Staff
    Customer Support

    Part of the CSS is getting overwritten by Elementor:
    https://www.screencast.com/t/IlFsEA9p7wiA

    #2077173
    Peter

    Thanks Leo. Is this just a matter of tweaking a setting in Elementor, or will it be more complicated?

    #2077199
    Ying
    Staff
    Customer Support

    Not sure if that can be tweaked in Elementor as we are not expert of Elementor.

    If you can not find the solution in Elementor, try this CSS:

    body a.generate-back-to-top {
        color: #ffffff;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    #2078146
    Peter

    Hi Ying,

    That fixed the initial color but not the hover color. Can you give me the additional CSS for that?

    Sorry, I’m new to CSS.

    Thanks,

    Peter

    #2078226
    David
    Staff
    Customer Support

    Hi there,

    you can use this CSS for the hover:

    a.generate-back-to-top:hover, a.generate-back-to-top:focus {
        background-color: #ffbe0b;
        color: #fff !important;
    }
    #2078233
    Peter

    Beautiful. Thanks.

    #2078354
    David
    Staff
    Customer Support

    Glad to be of help

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