[Resolved] How to make generate_after_right_sidebar_content hook element sticky

Home Forums Support [Resolved] How to make generate_after_right_sidebar_content hook element sticky

Home Forums Support How to make generate_after_right_sidebar_content hook element sticky

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #2361025
    surendra1506

    Hi team,

    I want to make the generate_after_right_sidebar_content hook element on the right sidebar of my site classmate4u.com
    sticky.

    Please help me.

    #2361051
    Fernando
    Customer Support

    Hi Surendra,

    It seems that one of your plugins or custom code is adding a height rule to the height: auto inside-right-sidebar. See: https://share.getcloudapp.com/L1u9WZ6E

    You’ll need to figure out what’s adding this rule, and disable it so we can make the Element sticky.

    #2361109
    surendra1506

    Hi Fernando,

    I disabled the auto height rule from the WP rocket setting and checked my Additional CSS.

    I think we can proceed further.

    #2361117
    Fernando
    Customer Support

    It’s still there from my end.

    You can check this by Right clicking > inspect, then search for inside_right_sidebar.

    #2361177
    surendra1506

    Hi Fernando,

    I had cross-checked the same. I had checked with inspect element also.

    The auto height rule is no more there. It has been removed.

    Please confirm.

    What you can see

    #2361183
    Fernando
    Customer Support

    It’s still there from my end. I’ve also cleared my Browser’s cache and used Incognito to test. Can you try temporarily disabling all non-GP plugins?

    It would be good to take a backup of your site before doing this.

    #2361270
    surendra1506

    Hi Fernando,

    Please find attached a screenshot https://postimg.cc/9DdrGWSM where you can see the height attribute is no more there.
    It has been disabled.

    #2361768
    surendra1506

    Hi any update on this?

    #2361848
    Ying
    Staff
    Customer Support

    The height attribute is still there, I think it might be added by the ads plugin/script.
    https://www.screencast.com/t/tqD6mlKy

    And which widget are you wanting to be sticky?

    If it’s the last widget in the sidebar, it can not be sticky as the initial position of the widget is lower than the entire content area.

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