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

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.
Tab 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.

Tab Settings Common setting for Tab

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.

Animation Select an animation that will be applied to the content items when toggling between them.
Match Content Height Extend all content items to the same height.
CSS Classes CSS class name for the particle.

Tab Style

Title Settings Common setting for Title

Settings Description
Show Title Show/Hide title inside the content tab.
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.
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.
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.
Margin Top Set the top margin. Note that the margin will only apply if the content field immediately follows another content field.

Image Settings Common settings for Image Style

Settings Description
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 None 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 Style Customize the border color for Thumbnav. You need to set the Navigation type to Thumbnav to use these features.

Example

Result

Settings Description
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.

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.
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.