[Support request] How to add a ID to footer.

Home Forums Support [Support request] How to add a ID to footer.

Home Forums Support How to add a ID to footer.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1302987
    Shivam

    I am using Q2W3 widget to make sidebar float, but on mobile when website is scrolled down, the sidebar widgets crashes in the footer. In Q2W3 widget there is stop ID option which I think is given to make the floating widgets stop after the given ID.

    So How to give Footer a ID in generate press

    #1303119
    David
    Staff
    Customer Support

    Hi there,

    If you just need an element with an ID that you can set then do this:

    1. Create a new hook element:
    https://docs.generatepress.com/article/hooks-element-overview/

    2. Add this to the hook content:

    <div ID="your-custom-ID"><!-- Stop Sticky here --></div>

    3. Select the before_footer hook

    4. Set Display Rules to Entire site.

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