Forum Replies Created
-
AuthorPosts
-
Hi,
Thank you for the update.
Yes, it’s loading properly on our end now. But we haven’t done anything to the site. Is it a fresh installation?
Best regards,
IsmaelHi,
Thank you for the update.
We added this snippet in the functions.php file to adjust the structure of the product page.
add_action('init','ava534345953_init', 50); function ava534345953_init() { add_action( 'woocommerce_after_single_product_summary', 'avia_add_sidebar', 25); } function avia_close_image_div() { global $avia_config; echo "</div> "; } function avia_add_sidebar() { if(is_product()) { $avia_config['currently_viewing'] = "shop_single"; get_sidebar(); } }And this css code in the style.css file to alter the width of the containers.
.single-product-main-image { width: 25%; } .single-product-summary { overflow: hidden; width: 45%; float: left; margin-right: 5%; } .single-product .sidebar { width: 25%; }Best regards,
IsmaelHi,
Thank you for the update.
The filter works properly on our installation. Did you remove the browser cache before doing the test again? Is the html minified? It’s possible that the tool is testing a cached version of the markup.
Best regards,
IsmaelHi,
* Here is a screenshot of how all three elements would look like on the front-end: https://imgur.com/nGpBbf1
Add two color sections. In the first one, apply the background image and put the text and button in the other. Unfortunately, you won’t be able to accomplish this using a single element. It might be possible with a grid row with a single single cell and an image element but we haven’t tried it.
Best regards,
IsmaelHi,
Thank you for the screenshots.
Can we access the site or the WP dashboard? Please provide the login details in the private field so that we can inspect the media library.
Best regards,
IsmaelHi,
We mistakenly provided a link to a plugin extension. Sorry about that. We updated the link above. If you want to recreate the filters from the demo, then you have to create product attributes and apply them to variable products.
// https://docs.woocommerce.com/document/variable-product/
Unfortunately, you can’t filter products by categories without using an extension.
Best regards,
IsmaelHi,
Thank you for the update.
We would like to test the snippet, but the login credentials above are invalid. Please the info carefully and make sure that the Appearance > Editor panel is accessible so that we can edit the files when necessary.
Best regards,
IsmaelDecember 3, 2019 at 3:23 pm in reply to: Styling on website not beeing displayed correctly. #1162223Hi,
You’re welcome!
I am curious, how did you find the error?
We looked for the css code that is supposed to apply the background color to the mobile menu. It’s in the dynamic stylesheet or the wp-content > uploads > dynamic_avia > enfold.css file and when we found it, we noticed the invalid color value, so we adjusted it from the Enfold > General Styling panel.
Best regards,
IsmaelHi,
Thank you for the update.
Have you tried to add the following fix/patch yet?
It should fix the cookie consent issue on Safari browser.
Best regards,
IsmaelDecember 3, 2019 at 2:50 pm in reply to: layer slider, cookie notice, mobile menu are not displayed continuously #1162214Hi,
Thank you for the update.
We are having connectivity issue today, so we are not able to check the site properly. Did you try to disable the Performance > File Compression settings after updating the theme? You should also check and reconfigure the new Privacy & Cookies options if you haven’t done so.
Best regards,
IsmaelDecember 3, 2019 at 2:38 pm in reply to: Add Image to Right of Button in Fullwidth Easy Slider #1162211Hi,
Thank you for the update.
You can add html code in the caption field and add a few css to adjust the position of the element. You can also create the button manually and add the dots beside it so that you can control their position more easily.
Best regards,
IsmaelHey bimsenfold,
Thank you for using Enfold.
Have you tried applying a minimum height to the slider? There is a field or option in the slider where you can define the minimum height of the slider so that the captions will still be visible even on smaller screens. Please note that when you enable the option, the images in the slider will be resized based on the minimum height instead of the slider resizing based on images’ dimension.
Best regards,
IsmaelHey jmjm_jm,
Thank you for using Enfold.
You have to remove the slider’s minimum height value if you want it to respond or resize based on the image dimension.
Best regards,
IsmaelHi,
Thank you for the update.
Did you register the custom post type using the new filter? Please check the documentation below to learn more on how to properly enable the advance layout builder for the post type.
// https://kriesi.at/documentation/enfold/intro-to-layout-builder/#alb-for-any-post-type
Best regards,
IsmaelHi,
We understand. Please don’t hesitate to open a new thread if you decided to continue with it. We’ll close this one for now.
Have a nice day.
Best regards,
IsmaelHey netzhautflimmern,
Thank you for the inquiry.
Add this script in the functions.php file to apply the link to the whole grid entry.
add_action('wp_footer', function() { ?> <script> (function($) { $(document).ready(function() { $('.grid-entry').on('click', function() { window.location.href = $(this).find('grid-image').attr('href'); }); }); })(jQuery); </script> });And this css code to show a link pointer when you hover the portfolio entry.
.grid-entry { cursor: pointer; }Best regards,
IsmaelDecember 3, 2019 at 1:08 pm in reply to: Sold out product are hidden but their attributes are visible in filter #1162190Hey thehorsestore,
Thank you for the inquiry.
Which of the products should display when you click on the 10cm attribute? On my end, it displays a single glove as you can see in the screenshot below.
// https://imgur.com/a/Z03B64e
In the single product page, there is only one option in the dropdown. How many measurements should be showing there?
Best regards,
IsmaelHey agavinho,
Thank you for the update.
We found an invalid hex value in one of the color options in the General Styling panel and corrected it. The dimensions of the site should now return to normal.
Best regards,
IsmaelHey Blatze,
Thank you for the inquiry.
The tracker is actually disabled because the opt out property is set to true and no cookies related to analytics are stored on page load. Please check the screenshot below.
Screenshot: https://imgur.com/a/kHGQa6N
// https://developers.google.com/analytics/devguides/collection/analyticsjs/user-opt-out
Best regards,
IsmaelDecember 3, 2019 at 12:36 pm in reply to: ENFOLD causes problems with the WooCommerce shopping cart #1162170Hey Torge,
Thank you for the inquiry.
the shopping cart button immediately redirects it to another product.
We can’t seem to reproduce the issue on our end. It redirects to the cart page after adding the product as expected, not to another product or anywhere else.
Best regards,
IsmaelDecember 3, 2019 at 12:19 pm in reply to: Open Sans New Font problems – not showing in General Styling preview or on site #1162164Hey dngood,
Thank you for the inquiry.
We reselected the new font and added the following css code to apply it to the headings tags.
#top #wrap_all .all_colors h1, #top #wrap_all .all_colors h2, #top #wrap_all .all_colors h3, #top #wrap_all .all_colors h4, #top #wrap_all .all_colors h5, #top #wrap_all .all_colors h6 { font-family: 'Open Sans', 'HelveticaNeue', 'Helvetica Neue', 'Helvetica-Neue', Helvetica, Arial, sans-serif !important; font-weight: 300; }Unfortunately, we haven’t yet figured out why the default setting is not working.
Best regards,
IsmaelHi,
Thank you for the update.
We reset the Settings > Reading options to default, and set the blog page in the theme options. We also adjusted the Blog Layout to the last option so that you can use the advance layout builder to adjust the content of the blog page. You can now edit the blog page manually. (see private field)
Best regards,
IsmaelHi,
Thank you for the update.
Add this filter in the functions.php file to adjust the classes of the menu items based on the post category.
/** * Filter the CSS class for a nav menu based on a condition. * * @param array $classes The CSS classes that are applied to the menu item's <li> element. * @param object $item The current menu item. * @return array (maybe) modified nav menu class. */ function wpdocs_special_nav_class( $classes, $item ) { global $post; $have = array(); $categories = get_the_category( $post->ID ); if($categories) { foreach($categories as $key => $category) { $have[] = $category->slug; } } if(is_single()) { if(get_post_type($post->ID) == 'portfolio' && 'EVENTS' == $item->post_title) { $classes[] = "current-menu-item"; } if(in_array('resources', $have)) { if ( 'RESOURCES' == $item->post_title ) { $classes[] = "current-menu-item"; } if ( 'NEWS' == $item->post_title ) { $classes = array( 'menu-item', 'menu-item-type-post_type', 'menu-item-object-page' ); } } } return $classes; } add_filter( 'nav_menu_css_class' , 'wpdocs_special_nav_class' , 10, 2 );This will only work for posts with the category “resources”.
Best regards,
IsmaelDecember 2, 2019 at 12:27 pm in reply to: Adding content to end of post – error with footer page selected #1161826Hi!
Even though it is technically expected behavior, it is not what the user intends.
Yes, that’s true. However, by using the filter, you should be aware that it is used by both templates and that you’re modifying the default behavior of the theme or adding a new feature to it. You are in a way responsible for that modification, so in order to make it work properly, adding the conditional statement is required. It’s a normal way to extend an existing feature, so you can leave the modification as is if you haven’t found a “better” way to solve it.
Best regards,
IsmaelHi,
Thank you for the update.
Which twitter element are you trying to adjust exactly? Please provide a screenshot or a link to the actual page containing the element. The string translation in the screenshot is for the text in the theme options. It won’t affect the front end.
Best regards,
IsmaelHi,
Thank you for the inquiry.
Where can we see the issue with the gallery? Please make sure that the site is using the latest version of the theme, 4.6.3.1, and that WP is upgraded to version 5.2 or later. And provide the URL of the site so that we can check it.
Best regards,
IsmaelHi,
Sorry for the delay. We are able to reproduce the issue on Internet Explorer and it seems to be related to the privacy cookies, but we are not entirely sure. The cart only works properly when the privacy cookies are accepted first. Please try to set the Enfold > Privacy & Cookies > Default Cookies Behavior to the first option so that the required cookies are silently stored on load. Let us know if it changes anything.
Best regards,
IsmaelDecember 2, 2019 at 11:49 am in reply to: Main Menu on Side – breaking point to mobile menu #1161811Hi,
Thank you for the update.
You can adjust the Main Menu > General > Menu Items for mobile settings to the second option. This will set the mobile menu to display on smart phone and tablet view.
Best regards,
IsmaelDecember 2, 2019 at 11:44 am in reply to: Question about WooCommerce page set up and layout #1161806Hi,
Thank you for the inquiry.
You have to create some product attributes and use the default Filter Product by Attributes widget from the plugin. Please check the documentation below for more info.
// https://docs.woocommerce.com/document/managing-product-taxonomies/#section-6
// https://docs.woocommerce.com/document/woocommerce-product-search/widgets/product-filter-attributes/Best regards,
Ismael -
AuthorPosts
