Site logo

Archived topic

TOC and sticky ad feature

3 replies · Started by Knuth Becker on November 1, 2021

Viewing posts 1–4 of 4

Hi

Is it possible to replicate the table of contents and sticky advertisement feature with GP?

See screencast and website attached in private area.

OK, thanks. And how about the sticky element / advertisement?

Hi there,

the sticky element can be achieved with some CSS.

1. Select the Block you want to make Sticky - make sure its a parent block like a GenerateBlocks Container Block or Group Block.
1.1 In the Advanced > Additional CSS Class(es) add: sticky-block

2. Add this CSS to your site:

.sticky-block {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}
This archived topic is closed to new replies.