How to add YouTube video to collapsed According?

This topic has 7 replies, 2 voices, and was last updated 1 years, 2 months ago ago by st7878

  • Avatar: st7878
    st7878
    Participant
    January 30, 2023 at 10:51

    I want the accordion to be collapsed by default and have a YouTube video in it. But it doesn’t work like that. everything is fine when the chord is open by default. There are two completely identical chords on the https://hottabych.scs.pp.ua/yak-vybraty-shidnyj-kylym/ page. The first is closed by default, the second is open. The first one does not work, because it is closed by default. How to make the first option work?

    Please, contact administrator
    for this information.
    6 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 30, 2023 at 13:48

    Hello, St7878

    How this WPB element works when a default WP theme is activated on your site?

    Kind Regards,
    8theme team

    Avatar: st7878
    st7878
    Participant
    January 30, 2023 at 14:42

    Installed and activated the Storefront theme. The first accordion works great (you can test https://hottabych.scs.pp.ua/yak-vybraty-shidnyj-kylym/). And he’s even better! It does not have side margins, as in xStore (see screenshots)

    Storefront https://www.awesomescreenshot.com/image/36602992?key=91c8f0bac53b550525239e90c9a1f2ab

    xStore https://www.awesomescreenshot.com/image/36603320?key=9bb70e0817a7c704722e8e28a20ce1e7

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 30, 2023 at 15:29

    Thank you for the reply.

    Please provide temporary wp-admin and FTP access, so we can check the situation more deeply.

    To provide wp-admin access, you can create a new user account with administrator role via the Dashboard, and provide us with the username and password via the Private Content area.
    To provide FTP access, please contact your hosting provider for assistance.

    Kind Regards,
    8theme team

    Avatar: st7878
    st7878
    Participant
    January 30, 2023 at 16:13

    I created a backup, you can do whatever you want. After you find a bug, write how to fix it. I’ll do it myself. Because I will restore the backup and then fix the error.

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 31, 2023 at 08:36

    Hello,

    We checked and added for you next custom CSS inside xstore-child/style.css -> https://prnt.sc/O3fnkPy_VbF7
    Also, you are using 2 different according elements https://prnt.sc/lJZIFi9kAuVC which are not synchronized so you see both of them opened by default -> https://prnt.sc/gE6j9ndSWdr7 but if you need to create accordion with “children tabs” then you need to create few sections of one accordion element -> https://prnt.sc/bGDffzpPv53g and select active section -> https://prnt.sc/QsZKTIFVAGUJ Frontend view -> https://prnt.sc/m4c-zpeMt0zH ( https://gyazo.com/0d596c35822f1b8511dc2905efd921bb )

    Kind Regards,
    8theme team

    Avatar: st7878
    st7878
    Participant
    January 31, 2023 at 09:37

    I restored the backup, added your CSS code, and everything works. Thanks a lot. I don’t need two chords, I did the second one to show that the open (second) works and the closed (first) doesn’t work.

  • Viewing 7 results - 1 through 7 (of 7 total)

The issue related to '‘How to add YouTube video to collapsed According?’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.