Smooth Scrolling

  • Author
    Posts
  • #3349055

    cage108
    Member

    Hi,

    I am trying to create smooth scrolling using CSS.

    I cant seem to figure out where I am going wrong, not sure if perhaps that particular line of CSS is being blocked by WordPress.

    The css I am using is:

    .page-id-695 html {
    	scroll-behavior: smooth;
    }
    

    I’ve tried with just the HTML target, and when that didnt work I tried to focus it to the specific page in question but still nothing.

    Am I doing something wrong or is this particular CSS customization not allowed?

    The blog I need help with is bbtfactsheet.wordpress.com.

    #3349254

    Hi there,

    Could you please provide the direct link of the page?

    #3349296

    cage108
    Member

    Hi,

    Sorry, should have mentioned that.

    It is on the home page, you will notice just below the picture of the book, there is an arrow on the right to scroll down. However when selected, it jumps down to the anchor instead of scrolling.

    Thanks

The topic ‘Smooth Scrolling’ is closed to new replies.