• Resolved Sebastian Schwarz

    (@se-schwarz)


    Hi there,

    considering upgrade to premium, but have presale question and a problem.

    When adding a button to hero component with an extra css class (“smooth-scroll” provided by my theme GeneratePress) it doesn’t scroll smooth to my anchor element.

    Following your guide on the FAQs doesn’t work either, because it’s only affecting text links, but not buttons. The additional class adds it to the div container around, not the link itself.

    Any solution for this? Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Rohan Khandeparkar

    (@rohanvc)

    Hi Sebastian,

    A workaround in this case can be to add the link via raw html element with class attached to it. The link can then be styled using custom CSS to make it look like a button.

    Thanks,

    Thread Starter Sebastian Schwarz

    (@se-schwarz)

    Hi! Yes, this is what I did now, but it isn’t the best and comfortable way.

    Maybe you could add an class field for that link inside the button itself in a future version.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Smooth Scroll on Button’ is closed to new replies.