Forum Replies Created
-
AuthorPosts
-
Hi,
Thank you for the update.
You cannot override the config file in the child theme, but you can copy the avia_woocommerce_frontend_search_params function in the child theme’s functions.php file and modify it as you please. And yes, you can use the remove_action function to completely disable or remove the custom sort options.
Best regards,
IsmaelHi,
Thank you for the update.
Unfortunately, there is no dedicated widget area for the portfolio category sidebar, so you may have to add the widgets in the Displayed Everywhere widget area and use a plugin to control their visibility.
You can also modify the sidebar.php file and add a new condition to display a different widget area on portfolio category pages. In the file, look for this code around line 65.
// general shop sidebars if ($avia_config['currently_viewing'] == 'shop' && dynamic_sidebar('Shop Overview Page') ) : $default_sidebar = false; endif;Below, add a new condition.
// portfolio category sidebars if ($avia_config['currently_viewing'] == 'portfolio' && dynamic_sidebar('Portfolio Category') ) : $default_sidebar = false; endif;You will then have to register a new sidebar or widget area called “Portfolio Category”.
register_sidebar(array( 'name' => 'Portfolio Category', 'before_widget' => '<section id="%1$s" class="widget clearfix %2$s">', 'after_widget' => '<span class="seperator extralight-border"></span></section>', 'before_title' => '<h3 class="widgettitle">', 'after_title' => '</h3>', 'id'=>'av_portfolio_category' ));The new widget area should display in the Appearance > Widgets panel afterwards.
Best regards,
IsmaelHi,
Thank you for the update.
We used Affinity Designer to crop and resize the image. We uses the preset (JPEG Best Quality), which sets the image quality to 100% by default, and resampling to Bilinear. You should also check the file size difference between the image that we edited and yours.
Best regards,
IsmaelHey J.,
Thank you for the inquiry.
You can set the Table element’s Styling > Table Styling > Table Design settings to “Minimal” and add a bit of css to completely remove the borders.
.responsive .avia_responsive_table .avia-data-table { border: 0; } tr:first-child th, tr:first-child td, td { border: 0; }Did you mute the video in the layer slider? Please note that only muted videos are allowed to autoplay in the browser.
Best regards,
IsmaelHi,
Thank you for the update.
The spaces between the menu items are now consistent. How did you fix it? Looks like you did remove the font-size property as suggested above.
Best regards,
IsmaelHey Jorge,
Thank you for the inquiry.
That option is not available by default but it can done using a custom script. Why do you have to reload the page?
This is an example of the script that reloads the page after clicking the lightbox close button (mfp-close).
// reload the page on lightbox close function ava_custom_script(){ ?> <script> (function($) { $(document).ready(function() { $(".avia_image").on("click", function() { setTimeout(function() { $(".mfp-wrap").on("click", function(e) { var target = e.target; if(target.classList.contains("mfp-close")) { location.reload(); } }); }, 500); }); }); })(jQuery); </script> <?php } add_action('wp_footer', 'ava_custom_script');Best regards,
IsmaelHi,
Thank you for the inquiry.
You can apply the “noLightbox” class name to the link tag or to the Image element to disable the lightbox link.
Example:
<a class="noLightbox" href="/wp-content/uploads/2021/11/link-to-image.jpg" target="_blank" rel="noopener">Download Pressefoto Thomas Breit</a>Make sure to adjust the value of the href attribute.
Best regards,
IsmaelHi,
Thank you or the info.
Looks like you are using a third party plugin (Ubermenu) to create the tab style menus. Is there an option in the plugin where you can display the content of the tab on click instead of hover? Currently, the parent menu item closes immediately once you attempt to close the active tab or when you try to access the next items.
You may need to contact the plugin authors for additional assistance.
Best regards,
IsmaelHey Stephan_H,
Thank you for the inquiry.
Can you be more specific? What are you trying to change in the sort options?
The current sort options are created using the avia_woocommerce_frontend_search_params function in the themes/enfold/config-woocommerce/config.php around line 1503. You can manually edit the options from there.
You can also use a plugin to extend the default sorting option.
// https://wordpress.org/plugins/woocommerce-extra-product-sorting-options/
// https://wordpress.org/plugins/woocommerce-more-sorting/But you have to remove the custom sorting options that the theme added and re-enable the default sorting options from the shop plugin with these hooks.
add_action( 'woocommerce_before_shop_loop', 'woocommerce_catalog_ordering', 30 ); remove_action( 'woocommerce_before_shop_loop', 'avia_woocommerce_frontend_search_params', 20 );Best regards,
IsmaelHi,
It seems to be working as it should as shown in the screenshot below.
Screenshot: https://imgur.com/a/jaYIvfK
The first image (morgan2), which is unattached, is uploaded directly in the media library and added to a post called “Unattached Post” using the Image element, so the the Advance Layout Builder is active on this one. The second (morgan4) and third image (morgan3) are attached to the “Unattached Post” post because they were uploaded directly in the page using the Image element. The fourth one (morgan1) is attached to a post called “Attached Post”, which is using the default block editor. In both editors, the behavior is the same.
So if you do not want the images to be attached to a post or page, make sure to upload them directly in the Media > Library pane, edit a page, add any image element (sliders, gallery etc) and select them from there.
Best regards,
IsmaelHey micscr,
Thank you for the inquiry.
Yes, that should be possible with this css code.
.av-catalogue-content:before { content: "add to cart"; position: absolute; right: 0; top: 50px; }You can replace the content value with an image or a font icon. Please make sure to toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css.
Best regards,
IsmaelHi,
Thank you for the update.
This css breaks the menu items with long titles and causes them to merge into a single line.
#top #wrap_all .av-main-nav ul>li>a {
line-height: 0em !important;
}Adjusting the top and bottom padding as suggested above should decrease the total height of the submenu.
#top .av-main-nav ul a { padding: 20px 20px; }Please make sure to toggle or temporarily disable the Enfold > Performance > File Compression settings after the modification.
Best regards,
IsmaelHey MikeTandySwag,
Thank you for the inquiry.
Looks like you adjusted the width of the portfolio preview container with the following css code, which also resizes the image.
.portfolio-preview-image { /* width: 30% !important; */ }Default width value is 66.6%. To remove the thumbnail, make sure to set the Ajax Portfolio Preview Settings > Display Preview Images settings to slideshow or image list.
Best regards,
IsmaelHey allespalettibystefan,
Thank you for the inquiry.
You can edit the widgets in the sidebar via the Appearance > Widgets panel. Widgets within the Displayed Everywhere widget area are displayed by default, but you can use plugins like If Widget or Widget Logic to control the visibility of the widgets.
// https://wordpress.org/plugins/if-widget/
// https://wordpress.org/plugins/widget-logic/Best regards,
IsmaelHi,
Thank you for the update.
Glad to know that you managed to find a working solution. To adjust the header style, edit the page and look for the Layout > Header visibility and transparency settings. There should be a transparent header option in the dropdown.
Best regards,
IsmaelHi,
Thank you for the screenshot.
Did you try the css code above? It should adjust the width and position of the mega menu container when the screen width is equal or less than 1280px.
Best regards,
IsmaelHey sofiadadci,
Thank you for the inquiry.
You can easily create a login/logout menu with this plugin.
// https://wordpress.org/plugins/login-logout-menu/
To change the position of the cart icon, go to the Enfold > Shop Options panel and adjust the Header Shopping Cart Icon settings.
If you have any additional questions at this time we kindly ask that you open them up in a separate thread. The longer threads get in the forum, they become more difficult to support as they tend to drift off topic and they also make it troublesome for users trying to search for solutions. Keeping threads relevant to their original inquiry ensures that we can keep better track of what has been resolved and that users can more effectively find answers to similar issues they might be experiencing.
Thanks!
Best regards,
IsmaelNovember 24, 2021 at 4:41 am in reply to: Enfold Theme Image for variation products with Avia editor #1330223Hi,
This is not available by default, unfortunately. You may need to ask the agency to create a new shortcode or builder element that renders the default gallery from the shop plugin. Or switch to the classic editor with the default product gallery.
Thank you for your understanding.
Best regards,
IsmaelHey Jorge,
Thank you for the inquiry.
You may need to ask a third party developer to create a plugin or a custom script that automatically creates a post or page when a specific URL is loaded. They will probably use the wp_insert_post function to automate the post/page creation.
// https://developer.wordpress.org/reference/functions/wp_insert_post/
Unfortunately, we cannot find any plugin that does this automatically.
Best regards,
IsmaelNovember 24, 2021 at 4:30 am in reply to: ALB shortcodes are stripped if element gets opened up in backend #1330220Hey spooniverse,
Thank you for the inquiry.
We were not able to reproduce the issue on our installation, which contains the latest version of the theme (4.8.7.1). We updated the page and saved the element a few times.
Screenshot: https://imgur.com/homwyE0
Please try to temporarily disable the plugins, toggle the Enfold > Performance > File Compression settings, then purge the cache before testing it again.
Best regards,
IsmaelHey satucker,
Thank you for the inquiry.
Have you tried any of the steps provided in the troubleshooting section?
// https://kriesi.at/documentation/enfold/contact-form/#troubleshoot
You may need to install the Contact Form 7 plugin temporarily and create a form to test if the server is actually sending mails properly.
Best regards,
IsmaelHey JantienM,
Thank you for the inquiry.
You can try this filter in the functions.php file to adjust the scroll offset or to adjust the position where the document lands after clicking an anchor and scrolling.
function avf_header_setting_filter_mod($header) { $header['header_scroll_offset'] = $header['header_scroll_offset'] - 100; return $header; } add_filter('avf_header_setting_filter', 'avf_header_setting_filter_mod', 9999, 1);Please make sure to purge the cache and refresh the browser before checking.
Best regards,
IsmaelNovember 24, 2021 at 4:00 am in reply to: La proprietà ImageObject non è riconosciuta dal vocabolario Schema.org. errors #1330211Hey erick1975bcn,
Thank you for the inquiry.
The ImageObject property is not recognized by the Schema.org vocabulary.
Are you using a lot of Image element in the site? That error should not occur in the analysis because ImageObject is a valid item or schema type.
// https://schema.org/ImageObject
Have you tried asking the SEMrush team about the issue?
Best regards,
IsmaelHi,
Yes, that is about it. If you have any specific questions or if you get stuck anywhere, just let us know, but I am sure you will easily find your way by following the documentation or the setup wizard.
Thank you for your patience.
Best regards,
IsmaelHi,
Thank you for the update.
You can use this css to adjust the width of the main image container, which should also increase the width of the 360 image.
#top.single-product .single-product-main-image { width: 100%; }Make sure to place the code inside one of the css media queries for mobile view.
Best regards,
IsmaelNovember 24, 2021 at 3:43 am in reply to: How to use Metadata content element to show particular categories #1330208Hi,
Thank you for the info.
We understand what you are trying to do but unfortunately, this kind of customization is beyond the scope of support. You will have to hire a freelance developer or find an agency that will help you extend the Metadata shortcode.
Best regards,
IsmaelHi,
Since the css is working correctly when in the Quick CSS field, it is possible that there are some invalid css code in your child theme’s style.css file. You have to correct those in order to fix the issue. Temporarily, you can just leave the css in the Quick CSS field.
Best regards,
IsmaelHi,
Yes, you have to upload the font somewhere in your server, preferably in the wp-content > uploads or in the child theme directory, then use the @font-face rule to register and load it.
Example:
@font-face { font-family: "MyChineseFont"; src: url("/path/to/the-font.woff2") format("woff2"), url("/path/to/the-font.woff") format("woff"); }You will also have to apply the font to the intended elements using css. To apply it to the special element for example, you will have to use this css.
body .av-special-heading .av-special-heading-tag { font-family: 'MyChineseFont'; }Please check the link below for more info.
// https://css-tricks.com/snippets/css/using-font-face/
Best regards,
IsmaelHey melanie_erfrischt,
Thank you for the inquiry.
Did you install a cache plugin and compress the scripts and stylesheets? You can inspect the current performance of the site using tools like Gtmetrix or Pagespeed Insights, and follow their recommendations in order optimize the site further. Please check the following articles for more info.
// https://kriesi.at/archives/scoring-100-100-in-google-pagespeed-insights-gtmetrix-pagespeed-and-yslow
// https://gtmetrix.com/wordpress-optimization-guide.htmlThis is the current site score, which can be improved by analyzing the tool recommendations and by following the steps listed in the articles above.
// https://pagespeed.web.dev/report?url=https%3A%2F%2Fwww.siebentage-store.at%2Fshop%2F
Best regards,
Ismael -
AuthorPosts
