Forum Replies Created
-
AuthorPosts
-
Hey combra,
Thank you for the inquiry.
The border is from this css rule.
span.wc-gzd-additional-info.shipping-costs-info { border: 3px solid #13c416; padding: 10px 10px 10px 10px; border-right: 0; border-top: 0; border-bottom: 0; font-weight: 700; }You can override it and remove the border by adding this css code.
span.wc-gzd-additional-info.shipping-costs-info { border: none; }You may need to toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css.
Best regards,
IsmaelHey chrisholemar,
Thank you for the inquiry.
It seems to be working correctly on our end, although it is not recommended to use html tags in the title field. Are you sure that you added the image tag properly?
<img src="http://site.com/wp-content/uploads/2021/10/my-image.jpg" />Please post the site URL in the private field so that we can check the issue properly.
Best regards,
IsmaelHey!
Thank you for the clarification.
You may need use the avf_alb_exec_sc_only filter and allow execution of shortcodes that were not added directly in the ALB. Please add this in the functions.php file.
function avf_custom_exec_sc_only_mod( $exec_sc_only, $obj_sc, $atts, $content, $shortcodename, $fake ) { return true; } add_filter( 'avf_alb_exec_sc_only', 'avf_custom_exec_sc_only_mod', 10, 6 );Or this..
add_filter( 'avf_alb_exec_sc_only', '__return_true' );Regards,
IsmaelHi!
Thank you for the update.
The modification above should only unset or remove the button element, not the magic wand. Did you try it? You may need to toggle or temporarily disable the Performance > File Compression settings after adding the code.
Best regards,
IsmaelHey forestrygy,
Thank you for the inquiry.
The breadcrumb works correctly in the demo.
// https://kriesi.at/themes/enfold/2014/04/28/new-electric-cars-are-getting-really-fast/
Did you use the avf_breadcrumb_trail filter in the functions.php file or modify anything in the theme? We were not able to check the theme options because the account above is not an admin.
Best regards,
IsmaelHi,
Thank you for the inquiry.
To adjust the button text, you can use this plugin.
// https://wordpress.org/plugins/say-what/
Just look for the text that you would like to adjust, then provide the replacement text or translation. You can also adjust the text by editing the template file (enfold/config-woocommerce/config.php line 529) directly.
if($product->get_type() == 'variable' && empty($output)) { $output = '<a class="add_to_cart_button button product_type_variable" href="'.get_permalink($product->get_id()).'"><span '.av_icon_string("details").'></span> '.__("Select options","avia_framework").'</a>'; } if(in_array($product->get_type(), array('subscription', 'simple', 'bundle'))) { $output .= '<a class="button show_details_button" href="'.get_permalink($product->get_id()).'"><span '.av_icon_string("details").'></span> '.__("Show Details","avia_framework").'</a>'; }And to adjust the button style, use this css code.
.avia_cart_buttons { padding: 0; } #top .avia_cart_buttons .button { padding: 10px; }Again, you need to toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css or resave the theme options.
Best regards,
IsmaelHey combra,
Thank you for the inquiry.
You can use this css code to adjust the position of the breadcrumbs.
.breadcrumb.breadcrumbs.avia-breadcrumbs { top: 20px; left: 0; }Please toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css code.
Best regards,
IsmaelOctober 14, 2021 at 8:38 am in reply to: Blog post element broken when Woocommerce is activated #1324868Hi,
Thank you for the update.
We can now reproduce the issue on our end. Looks like the posts from the MasterStudy LMS plugin are getting included in the blog posts element when Woocommerce is enabled. We are not yet sure why that is happening, but adding this filter in the functions.php file should help.
function avia_masonry_entries_query_mod($query, $params) { foreach($query['post_type'] as $key => $value) { if( $value == 'stm-lessons' ) { unset($query['post_type'][$key]); } } return $query; } add_filter('avia_masonry_entries_query', 'avia_masonry_entries_query_mod', 10, 2);Removing the post type “stm-lessons” should hide the unwanted posts.
Best regards,
IsmaelHi,
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,
Ismael -
AuthorPosts
