Grid Widget
Last updated
Last updated
© Astroid Framework 2023.
Grid is a stunning widget that allows you to add several photos and display them in a grid layout. You can easily customize the number of columns on devices.
You need to create a new section, choose a grid layout and click adding a new element. By adding a new element, you will see a popup including all the widgets available.
Simply choose the Grid widget from the Widget panel, and then it'll be added to the layout section where you want to add the widget.
The Grid widget consists of 4 main settings tabs:
General Settings
Design Settings
Responsive Settings
Menu Assignment
In the general section, you can click "Add Item" to add a new grid item.
Media type: Choose a media type between "Icon" or "Image".
Select image: Select an image from the library.
Title: Enter a title for the grid item.
Meta: Input the meta info if you need it.
Description: Input the description of the grid item.
Link: Enter a link for the item.
You can enable the background image option for each grid item.
Background image: Upload or select an image from the media library.
Background repeat: Sets how background images are repeated horizontally and vertically, or no repeat.
Background size: Choose the size of the background image.
Background attachment: specifies whether the background image should scroll or be fixed (will not scroll with the rest of the page).
Background position: sets the initial position for each background image.
In this part, you can configure grid options on different devices. Switch between device icons to configure settings. Use Masonry: Enable this option, so you can present a grid gallery in a masonry style.
This section allows you to configure the article card style.
Card style: Choose a card style from the drop-down list
Card size: choose a card size from the drop-down list
Card border-radius: choose an option defining the radius of the testimonial card's corners
Media position: Choose a position on which the articles' media will be displayed.
Enable grid match: Enable this option to help grid items to match perfectly.
Text color mode: Choose a color mode for the article's text.
This section contains options for icons of grid items if you set them up above.
Here below you can find options to configure the image of each grid item.
Choose layout: Choose an image layout that suits your needs.
Image full-width: Enable the option if you want the image to display full width.
Enable image cover: Enable or disable the image cover
Border radius: Choose a type of border
Hover effect: Choose a hover effect from the dropdown list.
Hover transition: Choose a hover transition available in the list.
Here you can adjust the style options of the title below each grid photo.
In this part, you can configure style options for the content of the grid.
In this part, you can see options related to Read More (Call-to-action button) on the slideshow.
Style: Choose a style from the list for the button.
Outline Style: Enable the option to outline an element, outside the border.
Button Size: Choose an option for the button size.
Border radius: Set the border radius of the read more button.
Button margin-top: Set the margin-top of the button.
Element Visibility: Choose to set the element to be visible on "Current and all linked pages", or on "Current menu items only".
Animation: Choose an animation for the widget from the drop-down list.
Max Width: Set the Max Width for the widget.
Text Alignment: Set the alignment of the text of the widget.
Text Alignment Breakpoint: Choose a breakpoint at which the text alignment will change.
Background Type: Select the background type for the widget from None, Color, Image, Video or even add a Gradient.
Custom Color: Choose whether you want to enable or disable the custom colors for the widget. If you enable it then you have the option to set Text Color, Link Color & Link Hover Color of the element’s content.
Add margin and padding values over the row to improve its appearance on different devices.
Here in the design settings, you can add custom CSS to customize the element.
Device Visibility: Choose your preference for hiding or showing the section on different screens like:
Hide on Extra Small Devices: Enable to hide the widget on mobile phones.
Hide on Small Devices: Enable to hide the widget on tablets.
Hide on Medium Devices: Enable to hide the widget on laptops.
Hide on Large Devices: Enable to hide the widget on desktops.
Hide on Extra Large Devices: Enable to hide the widget on extra-large screens.
Since Astroid framework 3.0.12, the menu assignment feature has been introduced, which is applied to widgets available in Astroid's widget library.
You can choose between On all pages, No pages, Only on the pages selected from the List.
On all pages: the widget will be visible on all pages of your website
No pages: the widget will be invisible on all pages
Only on the pages selected: "Menu Selection" will show with all the menu items on. You can assign the widget by selecting the menu links that you want the widget associated with on what pages the widget appears.