Okay
  Public Ticket #3728494
Make last elementor sidebar sticky
Closed

Comments

  • gabrielel1370 started the conversation

    Hi. Thanks for your help.
    I have a ruby template for the sidebar and I have it added in the widget area, using the "foxiz - Rubú template" widget. In that template I have several blocks, and I want only the last one to be sticky when scrolling. However, they all stay fixed.

    I also have the option to stick the last widget activated in the theme options, in: Single post > sidebar area > Sticky last widget.

    But it still doesn't work. Is there a way to make only the last widget sticky using elementor?

    I really appreciate your help.

    Attached files:  St.png
      St2.png

  • gabrielel1370 replied

    Forgot to mention that I also tried to put two ruby templates in the sidebar. But they all stay fixed.

    And I also have the option enabled in the theme options: Sidebars > Sticky last widget

    Attached files:  St3.png

  • gabrielel1370 replied

    An update:

    I looked at their documentation and now implemented the code: is-sidebar rb-sticky-last-widget

    I still keep two ruby templates in the sidebar.

    I use elementor flexbox.

    I have all sticky last widget options enabled in the theme.

    It still doesn't work.

  •   gabrielel1370 replied privately
  •  121
    Theme Ruby replied

    Hi,

    Thank you for your reply!

    The sticky sidebar setting in Theme Options will only apply to predefined templates. Since you are using Elementor to build a custom single template, you need to use the class name `rb-sticky-last-widget` and add it to the sidebar section.

    However, the sidebar section must include blocks. If you assign a single sidebar block to the section, it will treat it as a single block and cannot apply the sticky functionality.

    I have fixed the single template for you, and the sticky sidebar is working fine now. Please check!

    Hope this helps!

    Regards, 

  • gabrielel1370 replied

    Excellent, thank you very much for your help.

    :D

  •  121
    Theme Ruby replied

    Thank you very much!