Forum Replies Created
-
AuthorPosts
-
Hi,
Thank you for the inquiry.
Have you tried setting the Enfold > Performance > Disabling of template builder elements to the second option (Load only used elements)? How do you load the builder or enfold elements in the custom template?
You can find most of the scripts and their name in the functions.php, inside the avia_register_frontend_scripts function.
Best regards,
IsmaelJune 25, 2020 at 10:44 am in reply to: (IPad OS) images blurry with wrong stretch/resolution #1225440Hi,
What do you mean by “request mobile version”? Do you mean Chrome’s device toolbar?
This is how we see the site on Chrome’s iPad Pro emulation.
Screenshot: https://imgur.com/fu5C532
Best regards,
IsmaelHey TimesDigital,
Thank you for the inquiry.
We are not really sure what’s causing that error. Have you tried disabling the other plugins temporarily?
Best regards,
IsmaelHi,
The sub menu looks exactly like the screenshot now, so we are not really sure which element you’re trying to center here.
You should be able to center align an element relative to the parent container using the transform property.
.parent{ position: relative; } .child{ position: relative; left: 50%; transform: translateY(-50%); }Best regards,
IsmaelHi,
Thank you for the update.
You can try this css code to limit the width of the content inside the entry-content container and exempt the blocks with the fullscreen class name or keep them fullwidth.
.entry-content > * { max-width: 800px; margin: 0 auto; } .entry-content > .fullscreen { max-width: none; }Best regards,
IsmaelHi,
The script above only triggers the corresponding tab section title based on the tabsort parameter. You can’t append the anchor in the link or expect to go to a nested content within the tab section. If you want the page to automatically scroll to the tab section, try to use the scrollTo function in the script.
$([document.documentElement, document.body]).animate({ scrollTop: $("#av-tab-section-1").offset().top }, 1000);Replace #av-tab-section-1 with the id the grid row element. Or try to replace the previous code with this:
add_action('wp_footer', function() { ?> <script> (function($){ function getQueryParams(qs) { qs = qs.split("+").join(" "); var params = {}, tokens, re = /[?&]?([^=]+)=([^&]*)/g; while (tokens = re.exec(qs)) { params[decodeURIComponent(tokens[1])] = decodeURIComponent(tokens[2]); } return params; } $(document).ready(function() { var $_GET = getQueryParams(document.location.search); if($_GET['tabsort']) { $("a[data-av-tab-section-title='" + $_GET['tabsort'] + "']").click(function() { this.click(); }).click(); $([document.documentElement, document.body]).animate({ scrollTop: $("#av-tab-section-1").offset().top }, 1000); } }); })(jQuery); </script> <?php }, 9999);The link to the page containing the tab section should look something like this:
http://site.com/sample-page/?tabsort=3… without the anchor.
Best regards,
IsmaelHi,
The srcset option has been put on hold for other priorities, but rest assured that you will still be able to fully optimize the site without it. Please check this article for more info.
// https://kriesi.at/archives/scoring-100-100-in-google-pagespeed-insights-gtmetrix-pagespeed-and-yslow
As we’ve said earlier, the srcset feature has been put on hold and unfortunately, we are not sure if and when it will be resumed. We’ll tag Kriesi and one of our developers to check the thread.
Best regards,
IsmaelHi,
You’re welcome! We’ll close the thread now, but please don’t hesitate to open another if you need anything else.
Have a nice day.
Best regards,
IsmaelHi,
Thank you for the update.
We adjusted the code in the functions.php file a bit. It should work properly now.
Best regards,
IsmaelHi,
How did you create the “Regal aufbauen” and “Regal abbauen” services? We are having a bit of difficulty navigating the site because of the language.
We went through the filters and actions included in the theme, but we can’t find anything that sorts the taxonomy terms. In which taxonomy do the services “Regal aufbauen” and “Regal abbauen” belong?
Best regards,
IsmaelJune 24, 2020 at 4:28 pm in reply to: Support for srcset also for background image in the color section #1225279Hi,
We are not really sure why it loads that image last but the whole page loads under 1.9s according to the testing tool, so I don’t think anyone would notice. We also checked the page directly and the main image was immediately visible even before the page finished loading. We are not able to check it thoroughly because devtools are disabled.
Best regards,
IsmaelHi,
Thank you for the update. We have now added the script at the very bottom of the functions.php file. The items in the masonry element are now shifting properly while the page or images are loading. Please don’t forget to remove the cache prior to checking the page.
Best regards,
IsmaelJune 24, 2020 at 3:32 pm in reply to: Erweiterter Layout Editor zerstört Layout beim ändern von Elementen #1225255Hi,
Sorry for the troubles. We tried logging in again to the site but the account above is no longer valid. Did you remove it?
And you seem to be ignoring our notes regarding interchangeably using the builder and the default editor. You can’t switch between these two editors, it just doesn’t work that way in the theme. And we are not sure why you have to copy the shortcode in the text editor when you can add a completely new accordion element using the builder.
Can you post the shortcode that you’re trying to copy and its contents? It’s possible that there are open html tags inside that shortcode or characters that’s breaking the layout of the builder. Please post the shortcode on pastebin.com.
Best regards,
IsmaelHi,
We missed the margin from the video element. Try this css code.
.flex_cell .avia-video { margin-bottom: 0; }You might have to remove the minimum height of the grid row cells to get rid of the spaces on smaller screens.
Best regards,
IsmaelHi,
@mistercuppix: The camp2400 image is now displaying or opening the original version of the image. Please check the private field.
@rockdesignnet: You have to adjust the size of the Large size thumbnail in the Settings > Media panel. It is currently set to 1030x1030px. After the adjustment, try to upload the images again or use the following plugin to regenerate the thumbnails.// https://wordpress.org/plugins/regenerate-thumbnails/
Best regards,
IsmaelHi,
The “Redirect to selected page” uses the wp_redirect function while the other returns a query containing the id of the 404 page and the corresponding 404 template. Functions can be found in the themes\enfold\includes\class-avia-custom-pages.php file.
Best regards,
IsmaelHi,
Sorry for the delay. You can actually select the size of the image that you want to display in the Posts Slider or Slider Articles element. Please edit the Post Slider element, go to the Styling > Preview Image toggle, then set the Preview Image Size settings to the second option. After that, try to set the Select custom preview image size settings to the first option. This option will display original uncropped version of the image.
Best regards,
IsmaelHi,
Sorry for the delay. The blog posts element in the theme doesn’t support sticky posts because it has its own custom query, so you have to add the filter that we provided previously. Is it not working as expected when you add the query filter?
Best regards,
IsmaelHey JaneJoyce,
Thank you for the inquiry.
You have to create a new shortcode path in the child theme folder and override the script there.
// https://kriesi.at/documentation/enfold/intro-to-layout-builder/#add-elements-to-alb
This function in the contentslider.php file loads the scripts and stylesheets, so it has to be adjusted.
function extra_assets() { //load css wp_enqueue_style( 'avia-module-slideshow', AviaBuilder::$path['pluginUrlRoot'] . 'avia-shortcodes/slideshow/slideshow.css', array( 'avia-layout' ), false ); wp_enqueue_style( 'avia-module-postslider', AviaBuilder::$path['pluginUrlRoot'] . 'avia-shortcodes/postslider/postslider.css', array( 'avia-layout' ), false ); wp_enqueue_style( 'avia-module-slideshow-contentpartner', AviaBuilder::$path['pluginUrlRoot'] . 'avia-shortcodes/contentslider/contentslider.css', array( 'avia-module-slideshow' ), false ); //load js wp_enqueue_script( 'avia-module-slideshow', AviaBuilder::$path['pluginUrlRoot'] . 'avia-shortcodes/slideshow/slideshow.js', array( 'avia-shortcodes' ), false, true ); }Make sure that the path in the wp_enqueue_script function points to the script with the modification.
wp_enqueue_script( 'avia-module-slideshow', AviaBuilder::$path['pluginUrlRoot'] . 'avia-shortcodes/slideshow/slideshow.js', array( 'avia-shortcodes' ), false, true );Best regards,
IsmaelHey alvaromasiammp,
Sorry for the delay. We are not yet sure what’s affecting the sorting of the taxonomy field, but it could be a filter that sorts the terms beforehand. Can we access the site?
Best regards,
IsmaelHi,
Sorry for the delay. You should be able to use the avf_sc_mailchimp_form_elements filter to adjust the value of the form fields and make them translatable. Example usage can be found here:
Just replace the avf_sc_contact_form_elements with the avf_sc_mailchimp_form_elements filter.
This is an example of the values contained in a single form field.
array ( 'label' => 'Name', 'type' => 'text', 'check' => 'is_empty', 'options' => '', 'multi_select' => '', 'av_contact_preselect' => '', 'width' => '', 'av_uid' => 'av-9fiu', ),Within the filter, you have to replace the default value of the label key and make it translatable using the translation __() function.
$formfield['label'] = __( $formfield['label'], 'avia_framework' );// https://developer.wordpress.org/reference/functions/__/
You may need to loop through the $formfields first.
Best regards,
IsmaelJune 23, 2020 at 10:16 am in reply to: Endfold – Page wobbles / shake after triggering more load button #1224801Hi,
Sorry for the delay. The solution in the following thread should help fix the issue temporarily.
// https://kriesi.at/support/topic/masonry-screen-shakes-on-desktop/
Try to add this css code.
.avia_loading_icon { display: none !important; }Best regards,
IsmaelHi,
@newmediologo: The dummy widget will display if the Appearance > Widgets > Display Everywhere widget area is empty. To disable the dummy widget, you can either add a blank widget in the Display Everywhere widget area or disable the Page Sidebar navigation option in the Enfold > Sidebar Settings panel.Best regards,
IsmaelHi,
Sorry for the delay. How did you do the translations? If you’re using plugins like WPML or Polylang, this task would be quite easy because you can assign a set of menu for each language. But since you’re not using any of those plugins, you can try to use a menu visibility plugin or a plugin that controls where or when to render a specific menu item based on certain conditions. You can try one of these plugins.
// https://wordpress.org/plugins/if-menu/
// https://wordpress.org/plugins/menu-items-visibility-control/Best regards,
IsmaelJune 22, 2020 at 9:57 am in reply to: Accessibility issues with main nav leaves US sites in danger of lawsuits :( #1224526Hi,
The menu is already usable with a keyboard, but you can’t use the arrow keys to move to the previous and next menu items, only the Tab key to navigate and space to access the link.
If you want to use a different menu, other users usually integrate the Ubermenu plugin with the theme in place of the default menu, but we are not really sure if it has accessibility features. It looks like the menu is keyboard accessible based on this article.
// https://sevenspark.com/docs/ubermenu-3/faqs/accessibility-blue-glow
Best regards,
IsmaelJune 22, 2020 at 9:51 am in reply to: button link option display wrong after copy to other language using WPML again #1224525Hi,
We haven’t really looked into the issue because we can’t reproduce it, so we’ll probably add the changes based on what you provided above. Have you tried it again?
This is the \enfold\config-templatebuilder\avia-template-builder\php\html-helper.class.php file with the modification based on what you described above.
// https://pastebin.com/43xhHiYr
Best regards,
IsmaelHi,
Thank you for the update.
We would like to check the script but the Appearance > Editor panel is not accessible. Please enable the editor or post the FTP details in the private field so that we can check the functions.php file.
Best regards,
IsmaelHi,
Thank you for the update.
Looks like most of the featured images are tall, so adjusting the height should help make the whole of the image more visible. The current width is just enough because the blog page has a sidebar but you can adjust it a bit more if you want. It is also recommended to upload images with the same sizes or aspect ratio because it makes the overview page looks more consistent. With that said maybe try to adjust the size to 1050x787px or 4:3 ratio.
Best regards,
IsmaelHi,
You will have to find all videos in the page and define the duration for each of them. Each player or video has a unique id, so maybe you can use that to specify a different duration for each item when you iterate through them.
This is the markup of the video frame or player.
<iframe class="av_youtube_frame" id="player_12_928568916_1097519820" ... more attributes here></iframe>This is beyond the scope of support unfortunately, so you might have to hire a consultant or a freelance developer.
Best regards,
Ismael -
AuthorPosts
