๐ Display posts in an expandable accordion layout
The Post Accordion Widget in Ansar Elements allows you to showcase posts in an interactive accordion format. It is useful for displaying featured content, trending posts, or category-based articles while saving space and improving content organization.
โก Quick Start
- Open any page using Elementor Editor
- Drag & drop the Post Accordion Widget
- Select posts using Post Query
- Customize accordion settings
- Style the widget according to your design
๐๏ธ Content Controls
๐งฉ Container
Control the overall layout structure:
- Layout width and spacing
- Content positioning
- Container settings
๐ฆ Card Layout
Customize the accordion card appearance:
- Card style selection
- Layout arrangement
- Item spacing
๐ Card Content
Control content displayed inside each accordion item:
- Show/Hide content elements
- Excerpt settings
- Content arrangement
๐ Post Query
Choose which posts to display:
- Categories / Tags
- Order By / Order
- Posts Per Page
- Offset
- Exclude Posts
- Not Found Text
๐ Button
Customize call-to-action settings:
- Button Text
- Icon
- Position & spacing
๐จ Style Controls
๐งฑ Container
Customize the outer layout:
- Background
- Padding
- Margin
- Alignment
๐ฆ Card Layout
Style accordion cards:
- Background
- Border & Radius
- Box Shadow
- Padding
๐ Card Content
Customize content styling:
- Typography
- Colors
- Spacing
๐ท Category Badge
Customize category labels:
- Typography
- Colors
- Background
- Border Radius
๐ผ Featured Image
Image styling options:
- Height control
- Border Radius
- Overlay effects
๐ Post Title
Customize title appearance:
- Typography
- Colors
- Hover colors
- Spacing
๐ Post Meta
Customize post metadata:
- Typography
- Icon colors
- Spacing
โ Meta Elements
Control styling for:
- Author
- Date
- Comments
- Categories
๐ก Pro Tip
Use the Post Accordion Widget when displaying multiple posts in limited space. It helps visitors quickly browse content without making the page look crowded.
