try to steel code from DIVI-HACKS plugin https://divihacks.com/product/divi-hacks-plugin-1-website/
some styles and code ...looke into my gists https://gist.github.com/muks999/46ad60d0f6c81198e15652b685af3574 https://gist.github.com/muks999/fdaa230ea3844905cf4b1d25921e410f https://gist.github.com/muks999/f9b02c49dbe725e1968b954810c54a97 https://gist.github.com/muks999/29fa2ba13fa435b6ffe3e2fbd82e55c7 https://gist.github.com/muks999/6c1cbc0c8a0b5c00e45ad40b0d0e9057 https://gist.github.com/muks999/da941eca81819dbd831544f458f6007d