Tabs Particle Documentation

  • JoomLeadTeam
  • 2 November 2016
  • No comments
  • Docs
Create a tabbed navigation with different styles. You can click on a tab to open the content. See how Tabs can be designed beautifully on Demo Page.

# Tab Package contents

Files Description
jltabs.yaml Contains the Tab particle settings.
jltabs.html.twig The Twig file to pull information, settings.

Installation Installing the particle on your website is a really simple process. You can refer to the document here to know more.

Requirements Tabs particle requires Uikit 3 for Gantry 5 Atom to be installed and enabled in your theme layout settings.

Go to Template/Theme Settings > select the Layout to add Tabs particle (i.e: Home) -> Layout tab -> Drag and drop the Tabs Particle from Particles panel (left corner) to the section you want to display the Tabs content.

Settings

Switcher Gantry5 particle

Content Tab – Items

Settings Description
Items List Tab items to display. You can add new items to the collection using the plus + icon

Items You can add new items to the collection using the plus + icon

Settings Description
Title Customize the Title.
Meta Customize the Meta.
Content Enter your custom content here.
Image An image field with an image picker.
Image ALT Enter the image’s alt attribute.
Link Specify the link for button.

Note: Scroll smoothly added automatically to internal link that contains a URL fragment to add the smooth scrolling behavior.

Link Text Specify the button label.
Navigation Label Specify the Navigation label.
Navigation Thumbnail This option is only used if the thumbnail navigation is set.
CSS Classes Specify the CSS class name for item.

Switcher Common setting for switcher effect

Settings Description
Animation Select an animation that will be applied to the content items when toggling between them.
Match Height Extend all content items to the same height.

Navigation Common setting for the tab navigation.

Settings Description
Navigation Select the filter navigation style. The pill and divider styles are only available for horizontal Subnavs.
Thumbnail Wrap Define whether thumbnails wrap into multiple lines or not if the container is too small.

This option won’t have any effect unless Navigation Thumbnav is selected.

Thumbnail Width Enter the image’s width/height if the navigation is Thumbnav.

Setting just one value preserves the original proportions. The image will be resized automatically

.
Thumbnail Height
Position Position the navigation at the top, bottom, left or right. A larger style can be applied to left and right navigations.
Primary navigation This feature available for lef /right position and Subnav navigation style only.
Alignment Align the navigation’s items.
Margin Set the vertical margin.
Grid Width Define the width of the filter navigation. Choose between percent and fixed widths or expand columns to the width of their content.

This option won’t have any effect unless LEFT or Right Position is selected.

Column Gap Set the size of the gap between the grid columns.
Row Gap Set the size of the gap between the grid rows.
Grid Breakpoint Set the breakpoint from which the filter navigation and grid will stack.

This option won’t have any effect unless LEFT or Right Position is selected.

Vertical Alignment Vertically center the navigation and content.

This option won’t have any effect unless LEFT or Right Position is selected.

CSS Classes CSS class name for the particle.

Layout tab

Settings Description
Card Settings Common style settings for Card
Style Select one of the boxed Card, Tile styles or a blank Panel.
Padding Set the padding for the boxed Card or Tile styles.
Link card Link the whole card if a link exists.
Panel Padding Set the Panel size padding.
Max Width Set the maximum width.
Align image without padding Top, left or right aligned images can be attached to the card’s edge. If the image is aligned to the left or right, it will also extend to cover the whole space.
This option won’t have any effect IF the Style is set to Panel or Image Alignment is set to Between.

Image Settings Common settings for Image Style

Settings Description
Load image eagerly By default, images are loaded lazy. Enable eager loading for images in the initial viewport.
Width Enter the image’s width.
Height Enter the image’s height.
Border Select the image’s border style.
Box Shadow Select the image’s box shadow size.
Hover Box Shadow Select the image’s box shadow size on hover.
Hover Box Shadow Select the image’s box shadow size on hover.

This option won’t have any effect unless Panel Card Style is enabled.

Alignment Align the image to the top,left, right or place it between the title and the content.
Grid Width Define the width of the image within the grid. Choose between percent and fixed widths or expand columns to the width of their content.

This option won’t have any effect unless Left/Right Image Alignment are enabled.

Grid Column Gap Set the size of the gap between the image and the content.

This option won’t have any effect unless Left/Right Image Alignment are enabled.

Grid Breakpoint Set the breakpoint from which grid cells will stack.

This option won’t have any effect unless Left/Right Image Alignment are enabled.

Vertical Alignment Vertically center grid cells.
This option won’t have any effect unless Left/Right Image Alignment are enabled.
Margin Top Set the top margin. Note that the margin will only apply if the content field immediately follows another content field.

This option won’t have any effect unless Bottom and Between are enabled for Image Alignment.

Thumbnav Settings Common settings for navigation Style.

Settings Description
Border Select the thumbnav image’s border style.
Border Width Customize border width color, i.e: 5.
Border Color Customize the thumbnav Border Color.
Border Hover Color Customize the Border Hover Color on hover/click.
Style Title styles differ in font-size but may also come with a predefined color, size and font.
Predefined Color Select the text color. If the Background option is selected, styles that don’t apply a background image use the primary color instead.
Custom Color Customize the title color instead using predefined title color mode. Note:You need to set the Predefined Color to None before using the color customization.
Font Size Customize the title text font size.
Transform The following options will transform text into uppercased, capitalized or lowercased characters.

Font weight Add one of the following classes to modify the font weight of your text.
HTML Element Choose one of the elements to fit your semantic structure.
Margin Top Set the top margin. Note that the margin will only apply if the content field immediately follows another content field.

Tab Style

Title Settings Common setting for Title

Settings Description
Style Title styles differ in font-size but may also come with a predefined color, size and font.
Decoration Decorate the headline with a divider, bullet or a line that is vertically centered to the heading.
Predefined Color Select a predefined text color.
Custom Color Customize the title color instead using predefined title color mode.
You need to set the predefined color to None to use the customize color option.
Font Size Customize the title text font size.
Transform The following options will transform text into uppercased, capitalized or lowercased characters.
Font weight Add one of the following classes to modify the font weight of your text.
HTML Element Choose one of the elements to fit your semantic structure.
Alignment Align the title to the top or left in regards to the content.
Grid Width Define the width of the title within the grid. Choose between percent and fixed widths or expand columns to the width of their content.
Grid Column Gap Set the size of the gap between the image and the content.
Grid Row Gap Set the size of the gap if the grid items stack.
Grid Breakpoint Set the breakpoint from which grid cells will stack.
HTML Element Choose one of the elements to fit your semantic structure.
Margin Top Set the top margin. Note that the margin will only apply if the content field immediately follows another content field.

Meta Settings Common settings for Meta Style

Settings Description
Style Select a predefined meta text style, including color, size and font-family.
Predefined Color Select the predefined meta color.
Custom Color Customize the meta color. Set Predefined Color for Meta to None before using this feature.
Font Size Customize the title text font size.
Transform The following options will transform text into uppercased, capitalized or lowercased characters.
Font weight Add one of the following classes to modify the font weight of your text.
HTML Element Choose one of the elements to fit your semantic structure.
Alignment Align the meta text above/below the title or below the content.
Margin Top Set the top margin. Note that the margin will only apply if the content field immediately follows another content field.

Content Settings Common settings for Content Style

Settings Description
Drop Cap Display the first letter of the paragraph as large initial.
Style Select a predefined text style, including color, size and font-family.
Predefined Color Select the predefined meta color.
Content Color Customize the content color instead using predefined text color.
You need to set the predefined color to None to use the customize color option.
Font Size Customize the content text font size.
Transform The following options will transform text into uppercased, capitalized or lowercased characters.
Font weight Add one of the following classes to modify the font weight of your text.
Margin Top Set the top margin. Note that the margin will only apply if the content field immediately follows another content field.
Process Twig Enable Twig template processing in the content. Twig will be processed before shortcodes.
Process shortcodes Enable shortcode processing / filtering in the content. This useful when you want to load the Joomla module or WordPress shortcode inside the card content, example you can add a Joomla shortcode inside the card content like {loadmoduleid your_moduleId}, then just enable the Process shortcodes feature and done. This solution similar to How do you put a module inside an article?

Link Settings Common settings for Link Style

Settings Description
Target Target browser window when item is clicked.
Text Enter the text for the link.
Style Set the button style.
Button Size Set the button size.
Full width button Set the fullwidth for button.
Font weight Add one of the following classes to modify the font weight of your text.
Margin Top Set the top margin.

General, Parallax and Parallax Background tab

Please take a look the documentation here for more detail about these tabs settings

Video Tutorial

Comments

Leave a Reply

You must be logged in to post a comment.

JoomLead Gantry5 Particles 2.2.10 released, new features, bug fixes and more Learn more
Flash Sale. Get Up to 25% Off - Coupon: FLASH25 Shop Now