Portfolio Element

07/08/2019

The Portfolio Element allows you to display your collected portfolio posts on any page you wish. It includes 3 different layout styles: Carousel, Grid, or Masonry. All styles can specify a certain category and number of posts, along with a plethora of customization options that are simply amazing. All layouts can also use 1-6 columns. Read below for an overview of the specific features of this much-used Element.

Portfolio Element Example

How To Use The Portfolio Element

The Portfolio Element allows you to add a customized range of your Portfolio items anywhere in your content.

Step 1 – Create a new page or post, or edit an existing one.

Step 2 – Select the container and column you would like to place the portfolio items into.

Step 3 – Click on the + Element button at the bottom of the column. Select Portfolio.

Step 4 – Start by working through the options. You can style the output of this element in three main ways. It can be a Portfolio Carousel, a Grid layout, or a Masonry layout. There are several options after this that control the look and feel of the layout, depending on what option you initially select. Be sure to visit the Portfolio Element Demo page to get a good idea of what’s possible with this amazing element.

Step 5 – After the styling options, come the content options. With this Element, you can specify which categories you would like to include, or alternatively exclude. You can control their alignment, offset the content (for example a post offset of 1 would not show the latest portfolio item but would start with the second latest), set the number of posts per page, specify the pagination, as well as many other small granular controls. To get the layout you want might take some experimentation, but pretty much all options you might wish for are included.

Step 6 – Once you have set all your styling options, there is also the Animation pane, if you wish to influence how your content interacts with the page load.

Step 7 – Once you have completed styling your Portfolio Element, click Save. You will be returned to the edit page. You can preview the page to view your content, and you can always edit the element again to make changes..

Read below for a detailed description of all element options.

Element Options

Location: The edit screen within each Element.

You can deploy as many individual Elements in pages and posts as you need, there is no limit. Within each of the Elements, you will see a tab or tabs that house an array of options that make it possible for you to configure each Element independently, and greatly enhance your flexibility and creative options.

Note: The Default setting will use the global settings assigned for this element in your Theme Options > Fusion Builder Elements > Portfolio Element section. Also, please note that the displayed options screens below show ALL the available options for the element. If you have Avada’s Option Network Dependencies turned on, you will only see options relevant to your selections, and so the options screen may look somewhat different.

General Tab

  • Layout – Controls the portfolio’s layout. Choose between Carousel, Grid, or Masonry.

  • Picture Size – Controls how the featured image will be sized. Choose between Default, Fixed, or Auto. Choose Fixed to load a theme generated image size so your images display in the same width and size, creating a uniform layout. Choosing Auto will use the featured image’s natural height and width.

  • Text Layout – Controls if the portfolio text content is displayed boxed or unboxed or is completely disabled. Choose between Default, No Text, Boxed, or Unboxed.

  • Grid Box Color – Controls the background color for the grid boxes. For Grid layout, this option will only work in boxed mode.

  • Grid Element Color – Controls the color of borders/date box/timeline dots and arrows for the grid boxes.

  • Grid Separator Style – Controls the line style of grid separators. Choose between Default, No Style, Single Border Solid, Double Border Solid, Single Border Dashed, Double Border Dashed, Single Border Dotted, Double Border Dotted, or Shadow.

  • Grid Separator Color – Controls the line style color of grid separators.

  • Number of Columns – Controls the number of columns per row. With Carousel layout, this specifies the maximum amount of columns.

  • Column Spacing – Controls the space or padding between the columns of the portfolio items.

  • Masonry Image Aspect Ratio – Controls the ratio to decide when an image should become landscape (ratio being width: height) and portrait (ratio being height: width). Note: The value of “1.0” represents a special case, which will use the auto-calculated ratios like in versions prior to Avada 5.5.

  • Masonry 2×2 Width – Controls when a square 1×1 image should become 2×2. This will not apply to images that highly favor landscape or portrait layouts. Note: There is a “Masonry Image Layout” setting for every image in the WP media library that allows you to manually set how an image will appear (1×1, landscape, portrait or 2×2), regardless of the original ratio.

  • Content Position – Controls the content’s orientation in relation to the image. This option is only for Grid and Masonry layouts and with Columns set to 1. Choose between Below Image or Next to Image.

  • Equal Heights – Allows you to display grid boxes with equal heights per row. Choose between Yes or No.

  • Posts Per Page – Controls how many portfolio items to display on the page. Set to -1 to display all portfolio items. Set to 0 to use the number of posts from Settings > Reading.

  • Portfolio Title Display – Controls what displays with the portfolio post title. Choose between Default, Title and Categories, Only Title, Only Categories, or None.

  • Portfolio Text Alignment – Controls the alignment of the portfolio title, categories and excerpt text when using the Portfolio Text layouts in portfolio archive pages. Choose between Left, Center, or Right.

  • Portfolio Text Layout Padding – Controls the top, right, bottom, and left padding for the portfolio text layout when using boxed mode.

  • Show Filters – Allows you to show or hide the category filters. Choose between Yes, Yes without “All”, or No.

  • Pull Posts By – Allows you to choose how posts are filtered. Choose between Category or Tag.

  • Categories – Controls which categories to display on the page. Only portfolio items organized under these categories will be shown. Leave blank to display all categories.

  • Exclude Categories – Controls which categories to hide from the page. Only portfolio items tagged under these categories will be hidden. Leave blank to load all categories.

  • Tags – Controls which tags to display on the page. Only portfolio items organized under these tags will be shown. Leave blank to display all tags.

  • Exclude Tags – Controls which tags to hide from the page. Only portfolio items organized under these tags will be hidden. Leave blank to load all tags.

  • Pagination Type – Controls the pagination type. Choose between Default, Pagination, Infinite Scrolling, Load More Button, or None.

  • Hide URL Parameter – You can use this setting to disable the URL parameter used in single post links when navigating from a Portfolio Element that’s filtering by Categories or Tags. You can find more info on that here.

  • Post Offset – Controls how many portfolio items to skip before showing posts on the page.

  • Order By – Controls how portfolios should be ordered. Choose between Date, Post Title, Portfolio Order, Post Slug, Author, Number of Comments, Last Modified, or Random.

  • Order – Controls the sorting order of portfolios. Choose between Descending or Ascending.

  • Text Display – Controls how to display the post excerpt. Choose between Default, No Text, Excerpt, or Full Content.

  • Excerpt Length – Controls the number of words/characters to display in the excerpt.

  • Strip HTML – Allows you to strip HTML from the excerpt for portfolio archive pages. Choose between On or Off. Choose On to strip HTML, or Off to keep it.

  • Carousel Layout – Controls the carousel’s layout. Choose between Title below image or Title on rollover.

  • Carousel Scroll Items – Accepts a numerical value that sets how many items to scroll. Leave empty to scroll the number of visible items.

  • Carousel Autoplay – Allows you to enable or disable the carousel’s autoplay feature. Choose between Yes or No.

  • Carousel Show Navigation – Allows you to show or hide the carousel’s navigation. Choose between Yes or No.

  • Carousel Mouse Scroll – Allows you to enable or disable the carousel’s mouse drag control. Choose between Yes or No.

  • Element Visibility – Allows you to control the column’s visibility. Choose one or more between Small Screen, Medium Screen, or Large Screen.

  • CSS Class – Allows you to add a class for the column.

  • CSS ID – Allows you to add an ID for the column.

View The Options Screen

Animation Tab

  • Animation Type – Controls the column’s animation type. Choose between None, Bounce, Fade, Flash, Rubberband, Shake, Slide, or Zoom.

  • Direction of Animation – Controls the direction of animation on the column. Choose between Top, Right, Bottom, Left, or Static.

  • Speed of Animation – Controls the speed of animation on the column. Choose between 0.1 to 1.

  • Offset of Animation – Controls when the animation will start. Choose between Default, Top of element hits bottom of viewport, Top of element hits middle of viewport, or Bottom of element enters viewport.

View The Options Screen

Global Options

Location: WordPress Dashboard > Avada > Theme Options > Fusion Builder Elements > Portfolio Element

The Avada Advanced Options Network gives you amazing flexibility with additional Global Options that allows you to control individual Elements en masse.

  • Portfolio Featured Image Size – Controls if the featured image size is fixed (cropped) or auto (full image ratio) for portfolio elements. IMPORTANT: Fixed works best with a standard 940px site width. Auto works best with larger site widths.

  • Number of Columns – Set the number of columns per row. With Carousel layout, this specifies the maximum amount of columns. IMPORTANT: Masonry layout does not work with 1 column.

  • Column Spacing – Controls the column spacing for portfolio items. In pixels.

  • Number of Portfolio Items Per Page – Controls the number of posts that display per page for portfolio elements. Set to -1 to display all. Set to 0 to use the number of posts from Settings > Reading.

  • Portfolio Text Layout – Controls if the portfolio text content is displayed boxed or unboxed or is completely disabled for portfolio elements.

  • Portfolio Text Display – Choose how to display the post excerpt for portfolio elements.

  • Excerpt Length – Controls the number of words in the excerpts for portfolio elements.

  • Strip HTML from Excerpt – Turn on to strip HTML content from the excerpt for portfolio elements.

  • Portfolio Title Display – Controls what displays with the portfolio post title for portfolio elements.

  • Portfolio Text Alignment – Controls the alignment of the portfolio title, categories and excerpt text when using the Portfolio Text layouts in portfolio elements.

  • Portfolio Text Layout Padding – Controls the padding for the portfolio text layout when using boxed mode in portfolio elements. Enter values including any valid CSS unit, ex: 25px, 25px, 25px, 25px.

  • Pagination Type – Controls the pagination type for portfolio elements. Choose from Pagination, Infinite Scroll, or Load More Button.

  • Load More Posts Button Color – Controls the background color of the load more button for ajax post loading for portfolio elements.

View The Options Screen

Fusion Page Options

When creating or editing a Portfolio item, there is also a Portfolio tab on the Fusion Page Options at the bottom of the page. See below for a quick overview, or for more detail, read the Fusion Page Options section of the Displaying and Configuring Portfolio Posts On Your Site document.

  • Choose to set this post to 100% browser width.

  • Choose if the featured image is full or half width.

  • Disable the 1st featured image on single post pages.

  • In pixels or percentage, ex: 100% or 100px. Or Use “auto” for automatic resizing if you added either width or height.

  • Insert Youtube or Vimeo embed code.

  • Insert the video URL that will show in the lightbox.

  • Choose to show or hide the project description title.

  • Choose to show or hide the project details text.

  • The URL the project text links to.

  • The custom project text that will link.

  • The URL the copyright text links to.

  • The custom copyright text that will link.

  • Choose which icons display on this post. Leave empty for default value

  • Link URL that will be used on archives either for the rollover link icon or on the image if rollover icons are disabled. Leave blank for post URL.

  • Choose to open the single post page, project URL and copyright URL links in a new window.

  • Choose to show or hide the social share box.

  • Choose to show or hide related projects on this post.

View The Options Screen

Portfolio Element Parameters

Copy to Clipboard
    • layout – Choose from carousel, grid or masonry. Sets the portfolio’s layout.
    • picture_size – Choose from fixed, or auto. Choose fixed to use the width and height of the container, or choose auto to use the image’s original resolution.
    • text_layout – Choose from no_text, boxed, or unboxed. Enable or disable a boxed text layout for grid-with-text layout.
    • grid_box_color – Accepts a hexcode ( #000000 ) or RGBA ( rgba(0,0,0,0) ). Sets the background color for the grid boxes. For grid layout this option will only work in boxed mode.
    • grid_element_color – Accepts a hexcode ( #000000 ) or RGBA ( rgba(0,0,0,0) ). Sets the color of borders/date box/timeline dots and arrows for the grid boxes.
    • grid_separator_style_type – Choose from default, none, single|solid, double|solid, single|dashed, double|dashed, single|dotted, double|dotted, or shadow. Sets the line style of grid separators.
    • grid_separator_color – Accepts a hexcode ( #000000 ) or RGBA ( rgba(0,0,0,0) ). Sets the line style color of grid separators.
    • columns – Choose from 1 – 6. Sets the number of columns to be displayed. Only works with grid or grid-with-text layouts.
    • one_column_text_position – Choose from below, or floated. Choose below to display title and content below the featured image, or floated to display them next to the featured image. Column must be set to 1.
    • column_spacing – Accepts a numerical value. For example, 7. Sets column spacing.
    • equal_heights – Choose from yes or no. Set to yes to display grid boxes with equal heights per row.
    • number_posts – Accepts a numerical value. For example, 7. Sets how many portfolio posts to display on the page.
    • portfolio_title_display – Choose from default, all, title, cats, or none. Sets which details to display.
    • portfolio_text_alignment – Choose from default, left, center or right. Sets the content’s text alignment.
    • padding_top – Accepts a numerical value. For example, 5px. Sets the portfolio text layout’s top padding for boxed layout.
    • padding_right – Accepts a numerical value. For example, 5px. Sets the portfolio text layout’s right padding for boxed layout.
    • padding_bottom – Accepts a numerical value. For example, 5px. Sets the portfolio text layout’s bottom padding for boxed layout.
    • padding_left – Accepts a numerical value. For example, 5px. Sets the portfolio text layout’s left padding for boxed layout.
    • filters – Choose from yes, yes-without-all,or no. Show or hide the filters.
    • pull_by – Define how posts should be loaded. Accepts: category or tag as the value here.
    • cat_slug – The portfolio categories to display. Use a comma for multiple categories.
    • exclude_cats – The portfolio categories to exclude. Use a comma to exclude multiple portfolio categories.
    • tag_slug – The slug name of the Portfolio post tag to display. Use a comma for multiple

      tags.

    • exclude_tags – The slug name of the Portfolio post tag to exclude. Use a comma for multiple

      tags.

    • pagination_type – Choose from default, pagination, infinite, load-more-button, or none. Sets the pagination type.
    • hide_url_params -Choose from “On/Off”. When enabled, this will remove the Portfolio query string added to the single post page, when navigating from a Portfolio element with specific categories or tags included/excluded. More details on this can be found here.
    • offset – Accepts a numerical value. For example, 1. Sets how many posts to skip.
    • orderby – Choose from date, title, menu_order, name, author, comment_count, modified, or rand. Sets the portfolios’ order.
    • order – Choose between DESC or ASC. Sets the portfolios’ sorting order.
    • content_length – Choose from default, excerpt, or full-content. Choose excerpt to display the excerpt, or full-content to display the full content.
    • excerpt_length – Accepts a numerical value. For example, 15. Sets how many words or characters the excerpt will be.
    • strip_html – Choose from yes, or no. Show or hide HTML content in the excerpt.
    • carousel_layout – Choose from title_on_rollover, or title_below_image. Sets the title position for carousel layout.
    • scroll_items – Accepts a numerical value. For example, 35. Set the amount of items to scroll. Leave empty to scroll number of visible items.
    • autoplay – Choose from yes, or no. Enable or disable carousel autoplay.
    • show_nav – Choose from yes, or no. Show or hide navigation buttons.
    • mouse_scroll – Choose from yes, or no. Enable or disable mouse drag on carousel.
    • hide_on_mobile – Choose from small-visibility, medium-visibility or large-visibility. You can select more than one setting. This will show the element on the selected visibility options, and will hide them on the deselected ones.
    • class – Add a custom class to the wrapping HTML element for further css customization. Learn more here.

    • id – Add a custom id to the wrapping HTML element for further css customization. Learn more here.

    • animation_type – Choose from none, bounce, fade, flash, rubberBand, shake, slide, or zoom. Sets the animation to use on the element.
    • animation_direction – Choose from down, right, left, up, or static. Sets the animation’s incoming direction.
    • animation_speed – Accepts a numerical value from .1 (fastest), to 1, (slowest).
    • animation_offset – Choose from default, top-into-view, top-mid-of-view, or bottom-in-view. Sets when the animation starts.