• Resolved loukky

    (@loukky)


    i what to move up scrollToTopButton 15px, i type
    .btt{
    bottom:35px !important;
    }
    in custom css,and i save changes.but when reload page,i found the page`s custom css became
    .btt{
    bottom:35px ;
    }
    !important been lost

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    !important is not allowed in AMP. If you add !important it will show some validation error. So it automatically removed from custom CSS.
    Can you please add this code to custom CSS? And let me know if the issue is solved or not.

    a#scrollToTopButton {
    bottom: 35px;
    }

    • This reply was modified 5 years, 1 month ago by Ahmed Kaludi.
    Thread Starter loukky

    (@loukky)

    it`s working! thank you very much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘custom css !important not work’ is closed to new replies.