Forum Replies Created
-
AuthorPosts
-
Thanks!
That did the trick with the functionality!
I still had an issue where the content of the toggle-section was shown (at all times) in the next section, and when I clicked the button to toggle the section it looked like it was supposed to do.
I added
.notseen { height: 0 !important; min-height: 0 !important; text-indent: 100%; white-space: nowrap; overflow: hidden; }
to the .notseen class and that did it for me.
Thank you very much for your help sir!
Ah, glad to hear its not only on my site. Although I used a full-width button to test it on the example page (although here it was inside layout element 1/3) where I got it working, so does it has something to do with the button lying outside the layout elements?
- This reply was modified 7 years, 3 months ago by cimpleadmin.
Yes it did,
I removed the ID and deleted the page, but the issue remains the same.It does exactly the same it looks like.. Thanks you for all the suggestions though!
Hmm.. I tried both of them and it looks like they’re doing the same thing. When button is clicked the page just scrolls upwards a bit, and nothing really happens, sadly the section is not toggled.
I tried to add this to the middle my front-page now (The button with the text “Les mer”), but it seems here that the button just sends me to the top of the page without opening the section at all;
- This reply was modified 7 years, 3 months ago by cimpleadmin.
Thank you kind sir!
It now works perfectly :)I’ve now changed the code in functions.php to exactly what you have, and I’ve set up a new page with something like you describe at:
- This reply was modified 7 years, 3 months ago by cimpleadmin.
Hi Guenni007, I can’t seem to understand how you’ve set this up, could you please explain a bit more of how you’ve set this up?
Thanks for any inputs!Yes!
- This reply was modified 7 years, 3 months ago by cimpleadmin.
-
AuthorPosts