Divi "Read More" Button with jQuery - Reveal a Hidden Section on Click

Divi "Read More" Button with jQuery - Reveal a Hidden Section on Click

Ania Romańska

2 года назад

4,483 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Audrey
Audrey - 01.10.2023 12:43

Thank youuuu

Ответить
Armin Zlöbl
Armin Zlöbl - 14.02.2023 20:21

Hi Ania, nice and simple tutorial with a bug for me: when I want to place the code for displaying the hidden content in visual images (body:not ...), I can not save changes or can not close the visual builder without saving. I have tried the code on the website (in code module), on divi options (integration) ... all the same ... with this code I can't save anymore. I also tried with a single module ... also not! With the simple code "display:none;" ... is works fine ... but it is annoying that in visual builder the sections/modules aren't displayed. Any suggestion?

Ответить
Júlio Rodrigues
Júlio Rodrigues - 14.12.2022 14:24

This little bit of code Worked great on Gutenberg! You should do a video on that, couldn't find any video on how to do this on Gutenberg! Great work 😁

Ответить
Marina Bouchet-Skalka
Marina Bouchet-Skalka - 22.06.2022 11:55

That was the first time of my life I did code and that worked first time ! I'm so proud ! Thank you so much !

Ответить
Johannes Hutagalung
Johannes Hutagalung - 03.06.2022 18:30

do you have css for unhide section with down arrow button and hide section with up arrow button and the button is not hidden.

Ответить
Sergey Zatsepin
Sergey Zatsepin - 21.04.2022 12:56

So, there is no way to make it without JavaScript? I mean to do it only with divi builder modules somehow? And if I wanna realize expand/collapse functionality for read more links, I can only use jQuery?

Ответить
Andrzej Różycki
Andrzej Różycki - 04.04.2022 17:09

That hidden section is awesome. However if you apply it and you have some scroll effects underneath hidden section, it affects them, and kills all the effects below. Any ideas how to fix this?

Ответить
Skepti Media
Skepti Media - 31.03.2022 01:50

Ania, thanks so much for this but can you please make carousel for modules in Divi?

Ответить
Zaharia Bogdan
Zaharia Bogdan - 30.03.2022 23:04

Love your videos! Great stuff for me! I'm a learning Divi machine.

Ответить
Barnabas Adedoyin
Barnabas Adedoyin - 30.03.2022 17:51

Lovely, I will use it for my present design. Thanks greatly, Ania. Any snippet for button pop-up that works like Divi Overlay?

Ответить
JF Designs
JF Designs - 30.03.2022 17:46

I was curious how the query slideDown also reset the "display:none" css that was applied to the section. I would have assumed I would have needed to add a jquery css change of "display: block" before applying the slideDown. I just learned something . Thanks!

Ответить