5 Creative Ways to Use Accordion Widgets: How to Embed Charts, Images, and More in Elementor

Web developers often use "Accordion Widget" (accordion) to organize content. The accordion widget can show and hide content in a layered form, a collapsed box, thus giving the page a cleaner look and enhancing the user interaction experience. An accordion widget withnested element(used form a nominal expression)Accordion This provides greater flexibility for the user, allowing for a greater degree of flexibility within each section.Nesting other design elements such as images, buttons, videosetc.

5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容

Step 1: Add the accordion widget

  1. Open the Elementor editor: In your WordPress web pagemaybecardIn the Elementor page editor, open the Elementor page editor.
5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容
5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容
  1. Add Accordion Widget: inLeft Widget BarSearch in "Accordion"Widget. Once found, drag it to the design area of the page.
5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容
5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容

Step 2: Setting up the accordion item

  1. Create an accordion item: By default, Elementor's accordion widget will contain 3 initial items. This can be done by clicking on the "addendum" button to add more items, or click the "X"Delete unneeded items.
  2. Edit accordion item titles and content: Each accordion item contains "caption"and"element(e.g. CSS ID, Icon, etc.)". Clicking on the title section of each item allows you to edit the text, for example, to change the title to "Graphical Presentation" or "Video Presentation", etc., so that users can easily understand the content of each item.
5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容

Embedding creative content into accordion items

1. Embedding charts in accordion items

The charts visualize the data and are suitable for placing into accordion items for detailed presentation.

move::

  1. Click on the content area of the accordion item.
5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容
  1. Add an "HTML" or "shortcode" widget to it.
5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容
  1. Paste in your chart code, for example Google Charts maybe Chart.js of the generated code. Adjust styles and sizes to ensure that the charts fit the accordion content.
5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容

So, we're done adding icons for the first part.

2. Embedded image gallery in accordion

Image galleries are particularly suitable for product demonstrations or case studies, making the user experience more visual.

move::

  1. Drag and drop in the accordion item content area "Image Gallery"Widgets.
5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容
  1. Upload the images you want to display and set the gallery layout (e.g. grid, alignment, waterfall) that you want to rotation effectThen you need to use the Elementor's "Image Carousel" WidgetThe
5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容
5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容
  1. Resize and align the images to ensure the gallery looks neat and tidy when the accordion is open.

3. Embedding video content

Embedded videos allow users to visualize the information in a more intuitive way and are suitable for product demonstrations and tutorials.

move::

  1. In the content area of the accordion item add "video"Widgets.
5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容
  1. Paste the link to your video (e.g. YouTube maybe Vimeo).
5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容
  1. Set playback options for the video, such as autoplay or mute, and resize the video according to the page style.
5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容

4. Add buttons to guide users

Adding buttons to an accordion helps guide the user to subsequent actions, such asJump to detail page or formThe

move::

  1. Drag and drop in the accordion item content area "buttons"Widgets.
5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容
  1. Enter the button text, e.g. "Learn more"or"Contact Now".
5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容
  1. Set the button link and customize the color and size of the button in the style options.
5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容

5. Embedding contact forms to enhance interaction

Add a contact form to the accordion item to allow users to interact without leaving the page.

move::

  1. utilization WPForms maybe Contact Form 7 and other plugins to create contact forms.
  2. Copy the short code generated by the form to the clipboard.
5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容
  1. In the content area of the accordion item drag in "short code" widget to paste the form shortcode. Adjust the styling to make the form consistent with the page design style.
5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容
5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容

Customized Accordion Styles

Once you've finished embedding the content, you can further customize the style of the accordion in Element to make it more in line with the overall style of the page.

  1. Expand Style Settings: on the left side of the "type" tab, you can adjust the color, font, and background color of the accordion title.
5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容
  1. Adjusting the accordion icon: in "element"Find."icon (computing)" section, you can customize the style of the expanded and collapsed icons.
5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容
  1. Optimize spacing and animation: in"Advanced"The settings allow you to adjust the accordion spacing, borders, and transition animation effects to ensure a smooth user experience.
5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容

Summary:

Accordion widgets are a commonly used content display tool in web development to make the page layout more concise and enhance the user experience by collapsing and expanding the content. Adding Accordion widgets with Elementor is very easy and developers can embed charts, images, videos, buttons, contact forms and more to make each accordion item more vivid and interactive. With custom styles, developers can also adjust the appearance and animation of the accordion according to the page requirements to create a beautiful and functional content display.

Common problems and solutions when using the Accordion Widget (Accordion) are listed below:

  1. Accordion items cannot be deployed or retracted
    • rationale: Usually due to JavaScript conflicts or other plugin interference.
    • cure: Try disabling the other plugins to confirm if there is a conflict. Make sure Elementor and all related plugins are up to date.
  2. Accordion item is blank
    • rationale: The content area was not added correctly or there was a loading error.
    • cure: Re-check that the content of each accordion item has been filled out and make sure that the content formatting (HTML, short codes, etc.) is correct.
  3. Styles do not take effect
    • rationale: Custom styles are overridden by the theme or other plugin styles.
    • cure: Use higher-priority custom CSS in Elementor's style settings, or check the theme styles and adjust them accordingly.

Contact Us
Can't read the article? Contact us for a free answer! Free help for personal, small business sites!
Tel: 020-2206-9892
QQ咨询:1025174874
(iii) E-mail: info@361sale.com
Working hours: Monday to Friday, 9:30-18:30, holidays off
Posted by photon fluctuations, retweeted with attribution:https://www.361sale.com/en/22410

Like (0)
Previous 1 day ago
Next 23 hours ago

Recommended

Leave a Reply

Your email address will not be published. Required fields are marked *

Contact Us

020-2206-9892

QQ咨询:1025174874

E-mail: info@361sale.com

Working hours: Monday to Friday, 9:30-18:30, holidays off

客服微信
If you are experiencing problems with your WordPress site, pleaseSubmission of work ordersOur technical team will provide you with professional restoration services.