How to create a auto-scrolling widget sidebar?
-
Hi,
I am unable to get the floating TOC in the sidebar to work. What I want is that the TOC is always displayed in the sidebar as the user scrolls down.I found the sidebar ID (sidebar-1) by looking at the code sent to the register_sidebar function:
$sidebar_args['sidebar'] = array( 'name' => __( 'Sidebar', 'themedd' ), 'id' => 'sidebar-1', 'description' => __( 'Add widgets here to appear in your sidebar.', 'themedd' ) );I inserted sidebar-1 in Easy TOC options “Widget afix selector”
I ticked in the TOC widget “afix”
and the TOC still does not scroll.Am I missing something?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘How to create a auto-scrolling widget sidebar?’ is closed to new replies.