Builder – Avada Website Builder https://avada.com For WordPress & WooCommerce Tue, 10 Sep 2024 23:38:31 +0000 en-US hourly 1 https://wordpress.org/?v=6.6.1 Cross-domain copying with Avada https://avada.com/documentation/cross-domain-copying-with-avada/ Tue, 10 Sep 2024 23:38:31 +0000 https://avada.com/?post_type=documentation&p=894864

While you’ve always been able to copy content easily from one page to another within an Avada site, a recently added feature allows you to copy and paste content across different domains. Read on to find out how this works, and watch the video below for a visual overview.

For privacy reasons YouTube needs your permission to be loaded.

To use this feature, you will need Avada 7.11.10 and above. It is available in both the Live Editor and the backend Builder. It works, as usual, through the right click context menu. This feature copies data to the OS clipboard, using the clipboard API which is the standard method of copying data between websites.

Browser Specific Setup – Chrome / Safari

Different browsers have different approaches to this because of security management. On WebKit browsers, such as Chrome and Safari, cross-domain copying and pasting will usually work out of the box, meaning nothing has to be activated in the browser settings.

If you want, you can enable or disable copying permissions by clicking on the site information icon in the address bar, and resetting the Clipboard permission.

When you want to copy, the current browser window and tab have to have focus on page load. Usually, that will be automatically the case, when you load the editor. In some cases though, you could have dev tools open and do something there, then click reload through the keyboard shortcut. In that case the browser considers devtools to have focus and not the page window.

Clipboard Permissions

When you load a site in one of the editors for the first time after installing 7.11.10 or up, you will see a popup, asking for your consent for text and images to be copied to the clipboard. Just allow that, and this will be stored for that website, so you don’t have to do this again.

Copy Permissions popup

If you want, you can enable or disable copying permissions by clicking on the site information icon in the address bar, and resetting the Clipboard permission.

Reset Copy Permissions

Browser Specific Setup – Firefox

In Firefox however, it’s a bit different, as here, the clipboard API has to be enabled. In order to do so, just type about:config in the address bar. A risk warning will appear – just accept it.

Firefox About Config

Then type asyncClipboard in the search bar, which will yield 3 settings. ClipboardItem and readText will likely already be set to true by default, so one would expect that the feature is auto-activated.

Firefox Async Clipboard Default

But testing.asyncClipboard also needs to be set to true, and this is false by default. So just click the toggle icon for the value to be set to true. Once this is done, copying and pasting will work, after you reload your page.

Firefox Toggle Value

Right Click Cross Domain Copy / Paste

So once your browser is on board, you can just copy and paste as normal. Below on one domain, I have right clicked on the container icon and selected Copy.

Cross Domain Copy

And then on another I have right clicked and selected Paste Before. The container is then pasted into the page. The differences you see here are due to the color variables and fonts being different on the two sites.

Cross Domain Pasted
]]>
Container Publishing Status Options https://avada.com/documentation/container-publishing-status-options/ Mon, 29 Jul 2024 23:03:28 +0000 https://avada.com/?post_type=documentation&p=894693

A very useful set of options can be found in the Container Element, on the General tab, just under the Visibility options. It’s the Container Publishing Status Options.

For privacy reasons YouTube needs your permission to be loaded.

Published

By default, all containers are Published, which is one of the choices in the option. So there’s not much to say about that. It’s the other three that offer some great features, particularly for those with seasonal or temporary content.

Published Until

The second option is Published Until. If you select this, a date and time picker appears, and here you can select the specific time that the Container is published until. After that time, it reverts to draft status, and is then only visible to logged in users with the capability to publish posts.

This feature is particularly useful to website owners with seasonal or temporary content, as in this way, they can automate the publication of the container, and not have to manually come in to sort it on a particular date.

Published After

The next option is Publish After. This is the same in the sense that if you select this, you choose a date and time, after which the container’s status becomes published.

So you can design and set up your container to be published on a particular day and time.

Any time after it’s published, you could edit it again, and this time select Published Until, and set the date for it to be unpublished. Once it reaches that date, the container reverts back to Draft status, and is not visible to the public.

Draft

Draft status is also useful if you are updating a live site with a new container, but you don’t get finished. You can just set it to draft, and save your work, and then you can come back another time to complete and publish the container.

OK, these often overlooked options can be very useful for controlling content on a container by container basis.

Behind the Scenes

When using the publishing status options on containers, they are not hidden as they would be with the visibility options. Instead they are treated like conditional rendering is applied. If the container is in draft mode or scheduled for a later date, it won’t render at all, and thus there is no indexing, and also no additional weight on page load.

]]>
Button Hover Transitions https://avada.com/documentation/button-hover-transitions/ Tue, 30 Jan 2024 21:27:21 +0000 https://avada.com/?post_type=documentation&p=893361

An easily overlooked Button Element feature is the Button Hover Transition option. This option is found at the very bottom of the Design Tab, and allows you to set specific transitions for your buttons on hover.

Effects

There are eight button hover transition effects available.

  • Text Slide Up – With this transition, the original text slides up and fades, and is replaced by text fading in from the bottom.
  • Text Slide Down – This is the opposite of the above transition, with the text sliding down.
  • Underline – A subtle transition, this just underlines the text, which disappears on hover.
  • Icon Slide – This is similar to the Text Slide effect, but here the original icon disappears, while a new one slides in from the left or the right, depending on icon position. Obviously, for the icon effects to work, an icon must be set.
  • Icon Switch Position – Here, the icon fades out to the side it is set on, while a new icon slides in from the opposit side of the button text. This effect will not work when icon dividers are used.
  • Icon Rotate – This effect is pretty simple. The icon rotates 360 degrees upon hover, and back again on release.
  • Background Slide Right – This effect controls the background of the button, with the Gradient Start and End colors sliding in from top left to bottom right on hover.

  • Background Slide Left – This effect is the opposite of the one above.

]]>
Form Step Element https://avada.com/documentation/form-step-element/ Fri, 15 Dec 2023 00:46:26 +0000 https://avada.com/?post_type=documentation&p=893294

The Form Step Element is one of three Special Item Elements that have very specific jobs. You will find this Element on the Special tab when adding a Container while editing an Avada Form.

Add A Form Step

To add a Form Step, add a Container to the Builder directly after the container with your initial form content, and navigate to the Special tab. Here, you see the Form Step Element. This adds the step to your Form.

There is nothing to configure with this special Item; just give it a title, and an icon if you wish.

Multi-step Forms > Add A Form Step Element

For full details of how to create a Multi-step form using the Form Step Element, see the video below.

For privacy reasons YouTube needs your permission to be loaded.
]]>
Checkout Form Element https://avada.com/documentation/checkout-form-element/ Fri, 15 Dec 2023 00:46:05 +0000 https://avada.com/?post_type=documentation&p=893293

The Checkout Form Element is one of three Special Item Elements that have very specific jobs. You will find this Element on the Special tab, when adding a new container on a WooCommerce enabled site.

When to Use The Checkout Form Element

This Element is only needed in special situations. It is not a visual element, but merely a technical one, to solve limitations with WooCommerce checkouts.

The checkout in WooCommerce works as any other form on a website, utilizing HTML form tags and a submit button. Since you can move around Avada’s checkout elements on your custom checkout page as you like, we add wrapping form tags automatically, around the whole post content. In general, this approach works fine for simple checkouts.

In some cases though, you may add elements to your checkout page, that use HTML form tags themselves. This could break the functionality. The reason is, that then you would have a form tag within a form tag. The special checkout form element makes it possible to limit your checkout form tag to the area where it should be. If you make use of it, the HTML form tags will be placed exactly at the position where you put the element.

As an example, suppose you have the Woo Cart Coupon Element on the checkout page. It creates its own form tags to be able to apply the coupon correctly. Now, if you don’t use the special form checkout element, you would exactly run into issues with the tags. To avoid that, you could add the Woo Cart Coupon Element to a first container, then add the special Checkout Form element, then a container with all your other checkout elements, and then another special Checkout Form element. The two special elements would then serve as opening and closing HTML form tags for the WooCommerce checkout.

]]>
How To Use The Column Transform Options https://avada.com/documentation/how-to-use-the-column-transform-options/ Fri, 15 Dec 2023 00:39:19 +0000 https://avada.com/?post_type=documentation&p=893297

On the Extras tab of the Column Element, you will find Transform options. These can be used in very powerful ways to control the movement, scale and opacity, etc, of your columns in both normal and hover states. Read on to find out more about the various options, and watch the video below for a visual overview.

For privacy reasons YouTube needs your permission to be loaded.

Where To Find Them

The transform options are found under the Extras tab, in Columns, and Nested Columns. There are ten transform options, and they can be applied on both the normal and the hover state of the columm. Let’s go through them one at a time to see what they do.

Column > Transform Effects

The Transform Options

  • Hover Element – Found only on the Hover State, this option allows you to select which element should be hovered to apply the transform hover options. Choose from Self or Parent.

  • Scale X – This option allows you to scale up or down the width of the column, on both normal or hover states, from a value of 0 to a vlue of 2 (double size).

  • Scale Y – This option allows you to scale up or down the height of the column, on both normal or hover states, from a value of 0 to a vlue of 2 (double size).

  • Translate X – This option allows you to adjust the horizontal positioning of the column, on both normal or hover states, by plus or minus 300px.

  • Translate Y – This option allows you to adjust the vertical positioning of the column, on both normal or hover states, by plus or minus 300px.

  • Rotate – This option allows you to adjust the rotation of the column, on both normal or hover states, from -360 to plus 360 degrees.

  • Skew X – This option allows you to skew the column in the horizontal direction, on both normal or hover states, from a value of minus 100 to plus 100.

  • Skew Y – This option allows you to skew the column in the vertical direction, on both normal or hover states, from a value of minus 100 to plus 100.

  • Transform Origin – This option allows you to set the location of the origin point for your selected transformations.

  • Transition Duration – This option controls the duration of the transform effect as you change from Normal to Hover state.

  • Transition Easing – This option allows you to control the easing of the transition. Linear, for example, specifies a transition effect with the same speed from start to end. You can also choose Ease (the default) Ease In, Ease Out, Ease In Out, Linear, and Custom. For custom, there is a link to a website where you can create custom easing.

]]>
Column Element Flex Grow and Flex Shrink Options https://avada.com/documentation/column-element-flex-grow-and-flex-shrink-options/ Mon, 30 Oct 2023 23:27:40 +0000 https://avada.com/?post_type=documentation&p=893134

There are two options you will find on the Design tab of the Column Element, called Flex Grow and Flex Shrink. These are useful when the sum of your columns do not add up to 100%. With these values, you can let the browser know how to distribute the remaining space.

Flex Grow

Flex-grow tells your column whether or not it can take up additional space within its wrapping container. Initially, the option will be empty, which means a default value of 0, and thus the column will not grow to take up any available space. With a value of 1 or higher, we are telling the column to grow and to take up the available space.

It’s easiest to explain this with an example. Let’s say you have three columns of 1/4 width. This means they take up seventy-five percent of the container. If nothing is set, then the columns will not grow and remain at 1/4 each, but if they all get a flex-grow value of 1, the remaining twenty-five percent is distributed equally among all three columns (an extra 8.333% for each one). But if you set a value of one on the first and third column, but a value of two in the middle column, then the browser would divide the remaining space by four (25% / 4 = 6.5%) and apply two units to the second column (13%) while the first and third column would only grow by one unit (6.5%).

To give another example, if you have a pixel width column, which size do you set to the neighboring sibling? To make it fill up the space it would have to be calc(100% – 200px) e.g., if the px width column had a size of 200px. This can easily be rectified by setting flex grow to the column instead.

The same applies if one of the columns changes its percentage width value from desktop to mobile. Then, flex grow on the other one would make that one adjust accordingly.

Flex Shrink

This option only works if the parent container’s Content Wrap value is set to No Wrap. By default, the containers are set to wrap, so if the columns take up too much space, the last one will simply be pushed to a new row. But, when Content Wrap is turned off, all columns are forced to stay on the same row. That could lead to overflow when there are some elements in the columns that can’t be reduced in width.

So, the Flex Shrink factor, similar to Flex Grow, lets the browser decide which columns can shrink more than others. Initially, all columns have a factor of 1, so if you set one of them to e.g. 2, it can shrink twice as much as the others.

Another important value is a Flex Shrink value of 0, which means the column must not shrink at all. For example, if you use a px width column, that will make sure, that regardless of available space, that column will always remain at its set px width. If Flex Grow is set on the same column, then it won’t shrink more than the overall width of its content.

]]>
How To Generate Element Code For Pasting Into Avada https://avada.com/documentation/how-to-generate-element-code-for-pasting-into-avada/ Tue, 18 Jul 2023 01:39:24 +0000 https://avada.com/?post_type=documentation&p=892829

There are times when it is helpful to paste Avada Element code directly into the page. For example, with Avada Sliders, you might want to paste button code into a slider. There are also several Elements in Avada that allow you to add further content inside them, through the WordPress editor. For example, there is the Toggle Element, the Tabs Element, and the Content Boxes Element, to name a few. If you wish to add further Avada Builder content into Avada Slider, or inside other Elements, we have a few tips here on the best way to achieve this. Read on, and watch the video below for a visual overview…

For privacy reasons YouTube needs your permission to be loaded.

Elements Within Elements

As mentioned before, there are some Elements, like the Tabs Element, that you can add content to through the Avada Element Generator. If you are just adding a single element, then you can use the Avada Element Generator, configure the element, and insert the shortcode directly into the containing element. But if you want a more complex layout involving columns, you can create that on a new page, and then copy and paste this into the editor within the parent Element.

Not every element that has the WordPress editor in it (and therefore the Avada Element Generator) is designed to have extra shortcode content. For example, the Title Element has an editor, but you can’t add a Gallery to a Title. So, some common sense is required here.

But any time you have access to the Avada Builder Shortcode Generator, you can, theoretically at least, add further Avada Builder Elements inside the parent Element. There is one golden rule with this process:

So, to create a more complex layout, simply create a new page, and using your preferred interface of the Avada Builder, create your desired layout using nested columns. When you are finished, you simply need to copy the Nested Columns Element itself (using the right-click feature) to copy the code into memory.

Copying A Nested Column

You can then return to your original page and paste your shortcode content into the editor of the containing element. This way, you will be inserting the nested column shortcodes that are needed, as well as the elements inside them, but not the container and column they are in.

The resultant shortcode pasted into the editor in the element then generates the desired layout, without needing to edit any code.

Nested Columns Inside Toggle Element

Avada Sliders

Avada Sliders > Button Links

In an Avada Slide, there are places to add code for up to two buttons, as can be seen above. The default code is a simple default button, and these buttons can be edited directly in the code.

Alternatively, you can create a button and paste this code into the button area in the Slide. The easy way to do this is to simply generate your button in the Avada Builder on a separate page, and then copy the element code by right-clicking and choosing copy.

Design Button

This places the Element shortcode on the clipboard, and from here you can simply head to your Avada Slide, and paste the code in, as you can see below.

Pasting Button In
]]>
Woo Order Customer Details https://avada.com/documentation/woo-order-customer-details/ Tue, 28 Mar 2023 23:39:21 +0000 https://avada.com/?post_type=documentation&p=892165

As part of Avada Layouts, we created a series of Dynamic Elements that help generate content in the Content Layout Section of a Layout. These are called Layout Elements.

As part of the Avada WooCommerce Builder, a range of Woo Commerce Elements were added. In this document, we are looking at the Woo Order Customer Details Element. This Element is designed to be used in custom WooCommerce Thank You pages. See the How To Create A Custom WooCommerce Thank You Page doc for more details on that process, but here we will look at the Element, and what it offers.

For privacy reasons YouTube needs your permission to be loaded.

How To Use The Woo Order Customer Details Element

This Element is designed to be used in custom WooCommerce Thank You Pages. See the How To Create Custom WooCommerce Thank You Pages for more details on that process, but here we will look at the Element, and what it offers.

This Element simply add the Customer Details into the Thank You page. It adds both the Billing and Shipping address and other details. There is a full range of typography, color and border options so you can style this element as you wish. Simply add it into your Woo Thank You Content Layout Section wherever you wish, and style it as desired.

Woo Order Customer Details Element

Element Options

Note: 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

HeadingDescription
Element VisibilityChoose to show or hide the element on small, medium or large screens. You can choose more than one at a time.
CSS ClassAdd a class to the wrapping HTML element.
CSS IDAdd an ID to the wrapping HTML element.

Design

HeadingDescription
MarginEnter values including any valid CSS unit, ex: 4%.
HTML Heading TagChoose HTML tag of both headings, either div, p or the heading tag, h1-h6.
Headings TypographyControls the headings typography.
Headings MarginEnter values including any valid CSS unit, ex: 4%. Let empty for default H2 title margin.
Separator StyleControls the border style of the heading.
Separator WidthSelect the width of the separator.
Separator ColorControls the separator color.
Separator WidthControls the separator width.
Address TypographyControls the headings typography.
Address MarginEnter values including any valid CSS unit, ex: 4%.

Extras

HeadingDescription
Animation TypeSelect the type of animation to use on the element.
Direction of AnimationSelect the incoming direction for the animation.
Animation ColorSelect the color of the animation
Speed of AnimationType in speed of animation in seconds (0.1 - 5).
Animation DelaySelect the delay time after the animation starts(0 - 5).
Offset of AnimationControls when the animation should start.
]]>
Woo Order Details https://avada.com/documentation/woo-order-details/ Tue, 28 Mar 2023 23:30:49 +0000 https://avada.com/?post_type=documentation&p=892166

As part of Avada Layouts, we created a series of Dynamic Elements that help generate content in the Content Layout Section of a Layout. These are called Layout Elements.

As part of the Avada WooCommerce Builder, a range of Woo Commerce Elements were added. In this document, we are looking at the Woo Order Details Element. This Element is designed to be used in custom WooCommerce Thank You pages. See the How To Create A Custom WooCommerce Thank You Page doc for more details on that process, but here we will look at the Element, and what it offers.

For privacy reasons YouTube needs your permission to be loaded.

How To Use The Woo order Details Element

This Element is designed to be used in custom WooCommerce Thank You Pages. See the How To Create Custom WooCommerce Thank You Pages for more details on that process, but here we will look at the Element, and what it offers.

This Element add the Order details to the Thank You page. As you can see in the screenshot below, there are a number of available details you can display. By default, they are all enabled, but if there’s one you don’t want to display simply drag it to the Disabled area.

Woo Order Details Element

Element Options

Note: 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

HeadingDescription
Order of DetailsChoose the order of order received details.
Failed MessageShow a custom message if the order fails. Leave empty for default Woo message translated in displayed language. You can click preview button to see how this message is displayed in case payment fails.
Element VisibilityChoose to show or hide the element on small, medium or large screens. You can choose more than one at a time.
CSS ClassAdd a class to the wrapping HTML element.
CSS IDAdd an ID to the wrapping HTML element.

Design

HeadingDescription
MarginEnter values including any valid CSS unit, ex: 4%.
Item/Failed Message TypographyControls the item typography.
Item Detail TypographyControls the item detail(information) typography.
Failed Button Colors
Button ColorSelect the color of the text of buttons.
Button Background ColorSelect the background color of buttons.
Button Border ColorSelect the border color of buttons.
Button PaddingEnter values including any valid CSS unit, ex: 10px or 10%.
Button Border WidthSelect the width of the button border.
Button Border RadiusEnter values including any valid CSS unit, ex: 10px or 10%.
Buttons Distance From ParagraphEnter values including any valid CSS unit, ex: 10px or 10%.
Distance Between ButtonsEnter values including any valid CSS unit, ex: 10px or 10%.

Extras

HeadingDescription
Animation TypeSelect the type of animation to use on the element.
Direction of AnimationSelect the incoming direction for the animation.
Animation ColorSelect the color of the animation
Speed of AnimationType in speed of animation in seconds (0.1 - 5).
Animation DelaySelect the delay time after the animation starts(0 - 5).
Offset of AnimationControls when the animation should start.
]]>