Forum Replies Created
-
AuthorPosts
-
Hi,
Great! Glad to know that they provided a working solution. Thanks for sharing. Please feel free to open another thread if you need anything else.
Have a nice day.
Best regards,
IsmaelHi,
No problem. We hope that we would be able help you better in the future. We will close this thread for now.
Have a nice day.
Best regards,
IsmaelHey Jorge,
Thank you for the inquiry.
Where are you planning to get the value of the $id parameter, or how would you assign it to the shortcode? You may need to create a custom shortcode instead of directly using the code block element. For more info about custom shortcodes or its API, please check the following documentation.
// https://codex.wordpress.org/Shortcode_API
Best regards,
IsmaelHi,
No problem! We will forward your request to our channel but we cannot promise that this will be included in the latest patch or the next.
Thank you for your patience.
Best regards,
IsmaelHey wpjohnny,
Thank you for the inquiry.
You can now upload SVG images as logo without using a plugin. Please make sure to update the theme to version 4.8.6.5, disable the plugin, then upload the SVG file in the Enfold > Theme Options > Logo field.
Best regards,
IsmaelHi,
The css rule is in the enfold/config-templatebuilder/avia-shortcodes/gallery_horizontal/gallery_horizontal.css file, around line 145
/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */ @media only screen and (max-width: 767px) { .responsive #top .avia-slideshow-controls a{display:none;} /* more css rules here*/ }
Are you using a plugin to minify the stylesheets? You may need to disable the option temporarily, or just make sure to hard refresh the page before checking.
Do you have other css in the Quick CSS field? It is possible that there are invalid css code in that field such as missing curly braces or semicolons, which might be the reason why the changes are not reflecting.
Best regards,
IsmaelHi,
It is working correctly on our end. Did you add the $ajax parameter in the avia_masonry_entries_query within the query_entries function or method? There are two instances of the avia_masonry_entries_query filter in the av-helper-masonry.php file.
Best regards,
IsmaelOctober 14, 2021 at 7:35 am in reply to: Enfold Contact Form Bug. Not sending Emails from certain domains? #1324851Hey Jack,
Thank you for the inquiry.
You may need to setup an SMTP plugin to handle all the outgoing mails sent using the contact form. Or use a different contact form using a plugin such as Contact Form 7 or WPForms.
// https://wordpress.org/plugins/easy-wp-smtp/
// https://wordpress.org/plugins/wp-mail-smtp/To help with the troubleshooting, please visit the following link.
// https://kriesi.at/documentation/enfold/contact-form/#troubleshoot
Best regards,
IsmaelHey Erdrol,
Thank you for the inquiry.
This is possible but you will have to modify the config-templatebuilder/avia-template-builder/php/class-template-builder.php file and look this code around line 1713.
//create tiny mce button $tiny = array( 'id' => 'avia_builder_button', 'title' => __( 'Insert Theme Shortcode', 'avia_framework' ), 'image' => $this->paths['imagesURL'] . 'tiny-button.png', 'js_plugin_file' => $this->paths['assetsURL'] . 'js/avia-tinymce-buttons.js', 'shortcodes' => array_map( array( $this, 'fetch_configs' ), $this->shortcode_class ) );
To remove a specific shortcode, just use the unset function to remove an entry in the $tiny[“shortcodes”] array. Add this line below the code.
unset($tiny["shortcodes"]["avia_sc_button"]);
This will remove the button element from the shortcode magic wand.
Best regards,
IsmaelOctober 13, 2021 at 9:19 am in reply to: Background color changes on mobile devices/low resolutions #1324694Hey KeesKaas,
Thank you for the inquiry.
The code is inside a css media query for desktop view, which is why the background is not applied on mobile.
@media only screen and (min-width: 990px) { }
Make sure to move it outside the css media query.
Best regards,
IsmaelHi,
@Louiswhite: To adjust the size of the logo on scroll, try this css code..header-scrolled .logo img { width: 100px; }
Please open a new thread and post the login details in the private field so that we can check the issue properly. We will close this thread for now. Thank you.
Best regards,
IsmaelHi,
Thank you for the update.
We can now access the server but the FTP account above leads us to an empty directory. Please ask your hosting provider to adjust the FTP account and make sure that it has the correct permissions to access the root directory of the WordPress installation.
Did you modify any templates in the child theme directory? Try to disable those modifications temporarily. And if you have the time, please set your installation to debug mode so that we can see the errors.
// https://help.dreamhost.com/hc/en-us/articles/360029327771-Enabling-the-WordPress-Debug-log
// https://wordpress.org/support/article/debugging-in-wordpress/Best regards,
IsmaelHi,
@Eggzentrisch: Sorry for the delay. The script above is created for the default menu but you can adjust it so that it works correctly when using a custom button. Look for the following code and replace the selectors “.menu-item a” or “window” with the actual class name of the custom button.scrollToTab( '.menu-item a', 'click' ); scrollToTab( window, 'load' );
If you need more help, please open a new thread. We will close this thread for now.
Best regards,
IsmaelHey hjacob72,
Thank you for the inquiry.
Unfortunately, this is not possible with the Upcoming Events element. You may need to apply a special category to the items that you want to display and select that category instead.
Best regards,
IsmaelHi,
Thank you for the update.
You can actually do the same with the default contact form element in the builder. Just set the Content > Frontend > What should happen once the form gets sent? settings to the second option to redirect users to a page containing the link to the pdf file. But you can definitely use the plugin if you want. It offers more options compare to the default contact form.
Best regards,
IsmaelHi,
Thank you for the update.
I would like to set it only on one page for a certain Blog Post Element
Yes, that should be possible. You can use conditional functions such as is_page or is_single within the query filter to only apply the changes to a specific page or blog posts element.
// https://developer.wordpress.org/reference/functions/is_page/
Best regards,
IsmaelHi,
Thank you for the update.
The slider navigation is disabled on mobile devices by default. The following css code hides it.
.responsive #top .avia-slideshow-controls a { display: none; }
You can override above css rule by adding this code in the Quick CSS field.
@media only screen and (max-width: 767px) { .responsive #top .avia-slideshow-controls a { display: block !important; } }
This is the result when we add the above css code or when we adjust the display property of the navigation directly in the browser.
Result: https://postimg.cc/47qzdXY5
Best regards,
IsmaelHi,
Alright. Please let us know if you need anything else. We will close this thread for now.
Have a nice day.
Best regards,
IsmaelOctober 13, 2021 at 12:39 am in reply to: Adjusting heading font size in paragraphs and spec. headings #1324649Hey Benjamin_Nitsche,
Thank you for the inquiry.
Are you trying to adjust the font size of the headings within a text block element? Using the following css code in the Quick CSS field should work.
.responsive #top .avia_textblock h2 { font-size: 18px; }
Or use em instead of px.
.responsive #top .avia_textblock h2 { font-size: 1.6em; }
The font settings in the Special Heading element can be overridden with custom css. You can also adjust the element styling in the Enfold > Advanced Styling panel.
Best regards,
IsmaelHi,
Sorry about the link. Have you tried disabling the option that combines the scripts and stylesheets? Looks like you are not using the default file compression settings from the theme, so it must be one of the plugin options. This should minimize the main-thread work and speed up site rendering.
Best regards,
IsmaelHi,
Thank you for the update.
We could exclude the sticky posts when loading more posts but we have to modify the config-templatebuilder/avia-shortcodes/av-helper-masonry.php file and replace line 1565..
$query = apply_filters( 'avia_masonry_entries_query', $query, $params );
,.. with:
$query = apply_filters( 'avia_masonry_entries_query', $query, $params, $ajax );
We can then use the post__not_in parameter to exclude the sticky posts when loading more posts.
add_filter("avia_masonry_entries_query", function($query, $params, $ajax) { if($ajax) { $query["post__not_in"] = array(1, 254); } return $query; }, 10, 3);
Make sure to replace the array value with the actual IDs of the sticky posts.
Best regards,
IsmaelHey Ivana,
Thank you for the inquiry.
Unfortunately, this option is not available in the theme out of the box. You may need to use a plugin such as Search & Filter Pro or use Woocommerce and create product variations and filter items based on product attributes.
// https://searchandfilter.com/
// https://docs.woocommerce.com/document/variable-product/Best regards,
IsmaelHi,
Thank you for the update.
You can add this css code to adjust the width of the header container on mobile view.
@media only screen and (max-width: 767px) { .responsive #top #wrap_all .container { width: 100%; max-width: 100%; } }
Default width is set to 85%.
Best regards,
IsmaelHi,
Thank you for the update.
The background is not displaying on both browsers, which might be due to the stylesheet minification or compression. Are you using a plugin to compress the stylesheets? Please try to disable the plugin temporarily, then check the page again.
Best regards,
IsmaelHey Martin,
Thank you for the inquiry.
The privacy option is enabled in the live site, which is why the video opens in a different tab. The privacy option disallows external scripts or services from working immediately without user consent. But you can change this behavior by selecting the first or second option in the Enfold > Privacy & Cookies > Cooking Handling > Default Cookie Behavior settings.
Best regards,
IsmaelHey spooniverse,
Thank you for the inquiry.
You should be able to use the date_query parameter to retrieve posts that were published from the last 30 days. An example can be found in the following article.
// https://hirejordansmith.com/how-to-get-posts-published-in-the-last-30-days-using-wp_query/
'date_query' => array( array( 'after' => '-30 days', 'column' => 'post_date', ),
You can use the avia_blog_post_query filter to adjust the blog posts query.
Best regards,
IsmaelOctober 12, 2021 at 9:29 am in reply to: Blog post element broken when Woocommerce is activated #1324505Hey wtechgr,
Thank you for the inquiry.
Would you mind providing a screenshot of the issue? We checked the site and the blog posts elements in the home page only display items from the selected categories (Certifications, Private Sessions).
Best regards,
IsmaelHey Rob,
Thank you for the inquiry.
The avia-footer-scripts.js is actually the file containing the merged or compressed scripts, and the avia-gutenberg-dynamic-enfold_child.css will not be registered or enqueued when the block editor is inactive. You can disable the scripts and stylesheets compression in the Enfold > Performance > File Compression settings.
Best regards,
IsmaelHey sdigit,
Thank you for the inquiry.
According to the page speed insight tool, the following issues have to be corrected.
Avoid multiple page redirects:
The site does not resolve directly to the preferred domain, possibly because the DNS (A and CNAME) is not configured correctly. To fix it, please follow the instructions in the following thread.
// https://isotropic.co/how-to-avoid-multiple-page-redirects-on-your-wordpress-site/
Reduce initial server response time
This might be due to the server configuration and other factors such as the number of installed plugins and the theme that is currently used. To further optimize the theme or the site in general, please check the following articles and follow the recommendations.
// https://gtmetrix.com/wordpress-optimization-guide.html
// https://kriesi.at/archives/scoring-100-100-in-google-pagespeed-insights-gtmetrix-pagespeed-and-yslowMinimize main-thread work
Minifying and compressing the scripts and stylesheets usually help, but combining the resource files into a single file could potentially delay site rendering. Disabling the option that combines the scripts and stylesheets could be the better option in this case.
Site performance or speed result using Gtmetrix is actually quite good.
// moved to private field
Best regards,
IsmaelHi,
Thank you for the inquiry.
We cannot see any layout issue with the promobox element on mobile view. Would you mind providing a screenshot? The promobox element can be recreated with column and button elements, but you have to manually insert additional html and css.
Best regards,
Ismael -
AuthorPosts