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 Instead, it provides the user with greater flexibility, allowing within each sectionNesting other design elements such as images, buttons, videosetc.

图片[1]-5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容-光子波动网 | 专业WordPress修复服务,全球范围,快速响应

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.
图片[2]-5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容-光子波动网 | 专业WordPress修复服务,全球范围,快速响应
图片[3]-5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容-光子波动网 | 专业WordPress修复服务,全球范围,快速响应
  1. Add Accordion Widget: inLeft Widget BarSearch in "Accordion"Widget. Once found, drag it to the design area of the page.
图片[4]-5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容-光子波动网 | 专业WordPress修复服务,全球范围,快速响应
图片[5]-5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容-光子波动网 | 专业WordPress修复服务,全球范围,快速响应

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 of each item allows you to edit the text, e.g. change the title to "Graphical Presentation" or "Video Presentation", etc., so that users can easily understand the content of each item.
图片[6]-5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容-光子波动网 | 专业WordPress修复服务,全球范围,快速响应

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.
图片[7]-5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容-光子波动网 | 专业WordPress修复服务,全球范围,快速响应
  1. Add an "HTML" or "shortcode" widget to it.
图片[8]-5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容-光子波动网 | 专业WordPress修复服务,全球范围,快速响应
  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.
图片[9]-5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容-光子波动网 | 专业WordPress修复服务,全球范围,快速响应

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.
图片[10]-5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容-光子波动网 | 专业WordPress修复服务,全球范围,快速响应
  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
图片[11]-5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容-光子波动网 | 专业WordPress修复服务,全球范围,快速响应
图片[12]-5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容-光子波动网 | 专业WordPress修复服务,全球范围,快速响应
  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.
图片[13]-5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容-光子波动网 | 专业WordPress修复服务,全球范围,快速响应
  1. Paste the link to your video (e.g. YouTube maybe Vimeo).
图片[14]-5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容-光子波动网 | 专业WordPress修复服务,全球范围,快速响应
  1. Set playback options for the video, such as autoplay or mute, and resize the video according to the page style.
图片[15]-5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容-光子波动网 | 专业WordPress修复服务,全球范围,快速响应

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.
图片[16]-5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容-光子波动网 | 专业WordPress修复服务,全球范围,快速响应
  1. Enter the button text, e.g. "Learn more"or"Contact Now".
图片[17]-5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容-光子波动网 | 专业WordPress修复服务,全球范围,快速响应
  1. Set the button link and customize the color and size of the button in the style options.
图片[18]-5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容-光子波动网 | 专业WordPress修复服务,全球范围,快速响应

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.
图片[19]-5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容-光子波动网 | 专业WordPress修复服务,全球范围,快速响应
  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.
图片[20]-5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容-光子波动网 | 专业WordPress修复服务,全球范围,快速响应
图片[21]-5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容-光子波动网 | 专业WordPress修复服务,全球范围,快速响应

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.
图片[22]-5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容-光子波动网 | 专业WordPress修复服务,全球范围,快速响应
  1. Adjusting the accordion icon: in "element"Find."icon (computing)" section, you can customize the style of the expanded and collapsed icons.
图片[23]-5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容-光子波动网 | 专业WordPress修复服务,全球范围,快速响应
  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.
图片[24]-5种使用手风琴小部件的创意方法:如何在 Elementor 中嵌入图表、图像和更多内容-光子波动网 | 专业WordPress修复服务,全球范围,快速响应

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 free answers! 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
© Reprint statement
Author: xiesong
THE END
If you like it, support it.
kudos0 share (joys, benefits, privileges etc) with others
commentaries sofa-buying

Please log in to post a comment

    No comments