Site logo

[Resolved] How to add padding to anchor text.

Home Forums Support [Resolved] How to add padding to anchor text.

Home Forums Support How to add padding to anchor text.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1687078
    Ika

    Hi guys,
    Hope you and your family in good health.

    FYI, right now when i click the anchor text link, as expected, it will jump to the corresponding anchor text. However, i notice that the there is no top padding making the text appears very close to the top of the screen (especially when viewed on mobile).

    How do i add top padding to the anchored text?

    Tq

    #1687308
    David
    Staff
    Customer Support

    Hi there,

    can you share a link to a page where i can see the issue ?

    #1687558
    Ika

    Hi David,
    Pls refer to the private info section.

    Tq

    #1687571
    Elvin
    Staff
    Customer Support
    #1687755
    Ika

    Hi Elvin,
    Am not sure on how to use the script. Do i enable it through code snippet plugin?

    #1687887
    David
    Staff
    Customer Support

    Hi there,

    tricky one – you can try adding this CSS to create a fake space above each of your H2 elements:

    h2 {
      padding-top: 40px;
      margin-top: -40px;
    }
    #1687993
    Ika

    Hi David,
    Tq so much for the great advice. It works.

    Am satisfied with the level of support i receive by GP team and i’ve decided to purchase lifetime license. Pls advice how to proceed.

    #1688300
    David
    Staff
    Customer Support

    Glad to hear that – and even happier to hear you upgraded !!

    #1689839
    Ika

    Upgrade done.
    Tq guys.

    #1689947
    David
    Staff
    Customer Support

    🙂

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