Articles
The Article Widget allows you to display selected Joomla articles directly in your Astroid layout. You can customize how each article looks and where it appears on the page.
๐ฐ 1. What is the Article Widget?โ
The Article Widget is a drag-and-drop element in the Astroid Layout Builder. It lets you choose specific Joomla articles and display them with various layout options, such as:
- Title
- Featured image
- Intro text
- Published date
- Category
- "Read more" button
๐ ๏ธ 2. How to Add an Article Widgetโ
โ Step 1: Open Layout Builderโ
- Go to your Joomla Administrator Panel
- Navigate to:
System
โSite Template Styles
โ Click on your Astroid template - Click the โTemplate Optionsโ button
- Open the Layout tab
- Launch the Layout Builder
โ Step 2: Insert the Article Widgetโ
- Choose a column (
col
) where you want to place the widget - Click โAdd Elementโ or the
+
icon - From the popup, select โWidgetsโ โ Click โArticleโ
โ๏ธ 3. Article Widget Settingsโ
Once added, youโll see multiple configuration options:
๐ Basic Settingsโ
- Title: Optional title for the widget block
- Select Categories: Choose specific categories to filter articles
- Limit Articles: Set how many articles to display (e.g., 5, 10)
- Order By: Choose how to sort articles (e.g., by date, title, etc.)
๐ Grid Settingsโ
- Columns: Set how many columns to display articles in (e.g., 1, 2, 3)
- Gutter: Adjust spacing between articles
- Use Masonry: Enable masonry layout for a Pinterest-style look
๐ผ๏ธ Image Settingsโ
- Choose Layout: Select how to display the featured image (e.g., Classic, Image Overlay)
- Thumbnail Only: Show only the thumbnail without the article type media
- Border Radius: Set the border radius for images (e.g., 0px, 5px, 10px)
- Enable Image Effect: Add hover effects like zoom or grayscale
โ๏ธ๏ธ Info Block Optionsโ
- Info Block Position: Choose where to display the article info (e.g., before title, after title, or after content)
- Select Info Block Fields: Choose which fields to show in the info block, such as:
- Author Name
- Category Name
- Published Date
- Created Date
- Modified Date
- Hits
๐จ Style Optionsโ
- You can add custom CSS classes
- Control spacing using padding/margin settings
๐๏ธ 4. Preview and Saveโ
- After configuring the widget, click โSave Layoutโ
- Visit your websiteโs frontend to preview how the articles appear
๐ก 5. Tips for Best Resultsโ
- Use high-quality featured images for better visual impact
- Add multiple Article Widgets in different layout sections to group articles by topics
- Use custom CSS if you want to fine-tune the appearance
โ 6. Frequently Asked Questions (FAQ)โ
โ My article is not showing up on the page
๐ Make sure the article is Published and has Public access
โ Can I select multiple categories at once?
๐ Yes! Hold Ctrl
(Windows) or Cmd
(Mac) to select multiple categories in the widget settings