[Resolved] back-to-top-button padding for tablet/cell

Home Forums Support back-to-top-button padding for tablet/cell

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1101877
    Torsten

    Hi,
    I tried to set a different right margin for the back-to-top button for tablet/cell with the following:

    @media (max-width: 768px) {
    .generate-back-to-top, .generate-back-to-top:visited {
        right: 20px;
    }

    which looks fine but produces the following error code:
    expected RBRACE at line 83, col. 2

    as I used the following for desktop view:

    .generate-back-to-top, .generate-back-to-top:visited {
        right: 60px;
    }

    where is my error?
    Thanks ahead for your help,
    Torsten

    #1101958
    David
    Staff
    Customer Support

    Hi there,

    you’re missing a closing brace } after your media query – it should look like this:

    @media (max-width: 768px) {
    
        .generate-back-to-top, .generate-back-to-top:visited {
            right: 20px;
        }
        
    }
    #1102017
    Torsten

    Thanks a lot.
    great, as usual…

    #1102026
    David
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.