Forum Replies Created
-
AuthorPosts
-
Hi,
Try to install the following browser extension, then check the browser console. This should return information about the analytics script.
The theme properly renders the analytics script as you can see in the screenshot above, so the issue might related to how the the analytics script has been setup. Unfortunately, we will not be able to provide further information about that. Is it working when you use a different analytics plugin?
Best regards,
IsmaelHi,
Thank you for the update.
This is an example of the avf_template_builder_content filter. You can add it in the functions.php file.
function avia_add_social_toolbar_template_builder($content = "") { if (!is_singular("post")) return; ob_start(); get_template_part( 'includes/related-posts' ); $related = ob_get_clean(); $content .= $related; $content .= ''; return $content; } add_filter('avf_template_builder_content', 'avia_add_social_toolbar_template_builder', 10, 1);
This should render the related post section below the ALB content.
Best regards,
IsmaelHi,
Thank you for the update.
We cannot reproduce the issue on our end. Have you managed to fix the issue?
Best regards,
IsmaelHi,
We modified the code a bit to remove the prefix from the category title and show the category description. We also adjusted it to remove the duplicate tag title. This is the final code.
// https://pastebin.com/JxwayjRJ
Best regards,
IsmaelHi,
Unfortunately, you cannot override the script with a filter or hooks. You may need to reinitialize the media scripts and override the first, but this will require significant amount of modification, which we will not be able to provide here. You may need to hire a freelance developer or contact our partner, Codeable.
Best regards,
IsmaelJuly 13, 2021 at 10:57 am in reply to: Feature request: Provide fields for entry of img width and height for SVGs #1309909Hi,
Are you using a plugin to allow svg images? WordPress does not have native support for svg images, which is why the theme does not have any option for it. And defining the width and height attribute will render the image unresponsive because the defined dimensions will persist regardless of the screen size.
Best regards,
IsmaelHi,
Would you mind providing a direct link to a page or post containing the sharing button? Just to make sure that we are actually referring to the same thing. A screenshot will also help.
Best regards,
IsmaelHi,
Would you also consider disabling the background image on mobile view? If yes, then you can add this code in the Quick CSS field.
@media only screen and (max-width: 767px) { .responsive #top .header_bg { background: none; } }
Best regards,
IsmaelHey cristinagrafik,
Thank you for the inquiry.
The site is quite slow even in the backend or when loading panels in the dashboard, which might mean that it’s just not an issue with the preloading. Have you tried contacting your hosting provider regarding the issue? This might be an issue with your database or the server itself.
Does it help when you disable the cache and chat plugin?
Best regards,
IsmaelHey!
Have you tried removing the revisions? For some reason, the old revision with the old demo content is persisting instead of displaying the current layout. Try to remove the revisions, update the page, then test the preview again. Disabling the cache plugin temporarily should also help.
You can try this plugin to remove the revisions.
// https://wordpress.org/plugins/simple-revisions-delete/
Cheers!
IsmaelHey Knutnik,
Thank you for the inquiry.
You can use this css code to adjust the width of all portfolio items in the grid and convert it to a single column on mobile view.
@media only screen and (max-width: 767px) { /* Add your Mobile Styles here */ .responsive #top .container .av-content-small, .responsive #top #wrap_all .flex_column, .responsive #top #wrap_all .av-flex-cells .no_margin { margin: 0; margin-bottom: 20px; width: 100%; } }
Best regards,
IsmaelHey Knutnik,
Thank you for the inquiry.
You can use this css code to display the post navigation back on smaller screens.
@media only screen and (max-width: 767px) { /* Add your Mobile Styles here */ .responsive #top .avia-post-nav { display: block; } }
Please toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css code.
Best regards,
IsmaelHey Knutnik,
Thank you for the inquiry.
There is an element in the builder called “Fullwidth Sub Menu”, which can be used to create a custom menu or display an existing menu. You may need to adjust the style a bit using custom css code.
Best regards,
IsmaelHey Knutnik,
Thank you for the inquiry.
What do you mean by “option”? If you are referring to the size of the images, it may depend on the value that was set in the Enfold > General Layout > Dimensions > Maximum Container width field. The width of the 1/1 column will not exceed this value, so any image that has the same exact size as the maximum container width or larger should be fine.
The theme also adds an srcset attribute to images and displays the appropriate thumbnail based on the current screen size, but you may need to use an actual image element from the builder instead of manually adding the image in a text block. You have the option to select the full size or the original version of the image before inserting it.
Best regards,
IsmaelJuly 12, 2021 at 12:21 pm in reply to: Enfold+WooCommerce need to keep a categories filter widget on sub cat pages #1309749Hey hollabrunn,
Thank you for the inquiry.
The widget is added by the shop plugin, not the theme, so you may need to ask additional assistance from the plugin authors. The widget is defined in the woocommerce/includes/widgets/class-wc-widget-product-categories.php file.
Best regards,
IsmaelJuly 12, 2021 at 12:16 pm in reply to: disable the Sticky Header on certain page types in Woocommerce #1309746Hey Dave,
Thank you for the inquiry.
You can use the avf_header_setting_filter filter to adjust the header settings on certain pages. An example can be found in the following thread.
// https://kriesi.at/support/topic/making-header-on-homepage-not-scrolled/#post-1279791
Just replace is_front_page with the appropriate conditional function.
Best regards,
IsmaelHey rankbrite,
Thank you for the inquiry.
You may need to adjust the filter a bit so that it checks if the context is set to “archive” instead of “tag”.
function avia_change_tag_blog_layout($layout, $context){ if($context == 'archive') $layout = 'single-small'; return $layout; } add_filter('avf_blog_style','avia_change_tag_blog_layout', 10, 2);
Best regards,
IsmaelHey aacolema,
Thank you for the inquiry.
Did you try the css code that we provided in the previous thread? You may need to toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the code. We tried to access the site but the credentials above are invalid.
Best regards,
IsmaelJuly 12, 2021 at 6:35 am in reply to: icons downloaded from flaticon (as icon fonts) not showing up on Safari #1309682Hey buzbuzzer,
Thank you for the inquiry.
Where exactly in the page did you place the icon? We cannot find it anywhere when we checked the site using Chrome. Please provide a screenshot.
Best regards,
IsmaelHey marco_adinolfi,
Thank you for the inquiry.
You can modify the template-builder.php file directly to include the related posts for posts that have been created using the advance layout builder. Example here:
You can also use the avf_template_builder_content if you do not want to edit the template file directly, or you can create a custom shortcode that renders the related posts section.
// https://kriesi.at/support/topic/related-entries-3/#post-1166140
Best regards,
IsmaelHey Charlotte,
Thank you for the inquiry.
Edit the post and look for the Layout > Featured Image settings. You should be able to show/hide the featured image by adjusting the settings.
Best regards,
IsmaelJuly 12, 2021 at 6:13 am in reply to: creating a 2nd page causes issues with layer slider on main page #1309679Hey Marcel,
Thank you for the inquiry.
The “allaboutme” page does not exist. Did you remove it? Please provide a screenshot of the layout issue so that we can understand it better.
Best regards,
IsmaelJuly 12, 2021 at 5:35 am in reply to: Imported Google font not working on iPhone or desktop Safari #1309677Hey tiffanytnttobol,
Thank you for the inquiry.
How do you load the font? Looks like you did not select the font from the Enfold > General Styling > Fonts panel. Try to disable the cache and minification plugin, then test the page again on Safari.
Best regards,
IsmaelHey Colin,
Thank you for the inquiry.
We cannot reproduce the issue on Safari. The pdf file opens in a new tab when we clicked any of the images in the Free eGuides section.
Screenshot: https://postimg.cc/crt5jQyg
Best regards,
IsmaelHey laptophobo,
Thank you for the inquiry.
You can actually use a filter to adjust the heading tag to something else.
function avf_customize_heading_settings_mod( array $args, $context, array $extra_args = array() ) { if( $context == 'avia_social_media_icons') { $args['heading'] = 'h1'; } return $args; } add_filter( 'avf_customize_heading_settings', 'avf_customize_heading_settings_mod', 10, 3 );
Best regards,
IsmaelHey kemsei,
Thank you for the inquiry.
The post meta info including the date will only display if the post has an excerpt. Make sure to add an excerpt to the posts manually if it is not available to make sure that the date will display.
Best regards,
IsmaelHey Jillian,
Thank you for the inquiry.
You can try this filter in the functions.php file to add an “out of stock” text when the product is not available.
function wcs_stock_text_shop_page() { global $product; $availability = $product->get_availability(); if ( $availability['availability'] == 'Out of stock') { echo apply_filters( 'woocommerce_stock_html', '<p class="stock ' . esc_attr( $availability['class'] ) . '">' . esc_html( $availability['availability'] ) . '</p>', $availability['availability'] ); } } add_action( 'woocommerce_after_shop_loop_item_title', 'wcs_stock_text_shop_page', 25 );
Best regards,
IsmaelHey Groeier!,
Thank you for the inquiry.
You can actually override the original script by creating a copy of it in your child theme. Just follow the instructions that we provided in the following thread.
// https://kriesi.at/support/topic/play-video-in-fullscreen/#post-1239084
Best regards,
IsmaelHey Frank,
Thank you for the inquiry.
You can add this script in the functions.php file to create a copy of the social icons on mobile view.
// move social icons inside icon or mobile menu function ava_custom_script_mod_social() { ?> <script> (function($) { $(document).ready(function() { var burger_wrap = $('.av-burger-menu-main a'); var social = $('.social_bookmarks'); $(burger_wrap).on('avia_burger_list_created', function() { setTimeout(() => { social.appendTo('#av-burger-menu-ul').addClass("mobile_social_bookmarks"); }, 150); }); }); })(jQuery); </script> <?php } add_action('wp_footer', 'ava_custom_script_mod_social', 10000);
Make sure that the social icons are actually enabled in the Enfold > Header > Extra Elements panel.
Best regards,
Ismael -
AuthorPosts