Forum Replies Created
-
AuthorPosts
-
Hi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeHey steveorrmedia,
Thank you for your patience and the link to your site, for your first issue I found that between 1340px & 1799px you were seeing the four images appear in one horizontal row and two in a row underneath with a big grey space next to it, try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field t correct:@media only screen and (min-width: 989px) and (max-width: 1799px) { .responsive .av-masonry-col-flexible .av-masonry-entry { width: 33.3%; } }
For your second issue, having good titles for your images is good for SEO, but I notice that your titles are not very good, for example see the first screenshot below: “Steve5 In Action – Copy” try going to your media library and check each image and make the titles something that you would want to see on google like: “Award winning broadcaster Steve teaches”
Ok, then I know you don’t want to see the titles when you mouse-over the images, so to correct try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:function custom_remove_title_on_mouse_over_script() { ?> <script> (function($){ $('img').hover(function(e){ $(this).attr('data-title', $(this).attr('title')); $(this).removeAttr('title'); }, function(e){ $(this).attr('title', $(this).attr('data-title')); }); $('.av-masonry-image-container').hover(function(e){ $(this).attr('data-title', $(this).attr('title')); $(this).removeAttr('title'); }, function(e){ $(this).attr('title', $(this).attr('data-title')); }); $('a').hover(function(e){ $(this).attr('data-title', $(this).attr('title')); $(this).removeAttr('title'); }, function(e){ $(this).attr('title', $(this).attr('data-title')); }); })(jQuery); </script> <?php } add_action('wp_footer', 'custom_remove_title_on_mouse_over_script', 99);
Then clear your browser cache and check.
Best regards,
MikeHey padclip,
Thank you for your patience, I recommend trying to add the language selector to your css, I checked your site and these are the language code that you are using:html[lang="de-DE"] html[lang="en-US"] html[lang="fr-FR"]
So for example if the css above is for the DE language try adding the language like this:
html[lang="de-DE"] #top .av-main-nav li:nth-child(3) { margin-right:300px; } @media only screen and (min-width: 990px) { html[lang="de-DE"].html_header_top.html_header_sticky #header { position: fixed; top: 0px; } } html[lang="de-DE"].html_top_nav_header .av-logo-container { top: -30px; z-index: 999; } @media only screen and (max-width: 989px) { html[lang="de-DE"].html_top_nav_header .av-logo-container { top: 0px; left:0; } } /*Up the menu on the logo and remove the container of the menu*/ html[lang="de-DE"] #top .main_menu { top: -85px; } html[lang="de-DE"] #top #header #header_main_alternate .container { height: 0px!important; } html[lang="de-DE"] #top ul#avia-menu { margin-right: -35px; }
Then I would add all three languages to the WordPress ▸ Customize ▸ Additional CSS as it has top preference.
Best regards,
MikeOctober 22, 2023 at 8:26 pm in reply to: Is it possible to hide the “All” sorting tag on the accordion? #1423338Hi,
Thank you for the link to your site, try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:.togglecontainer .taglist a:first-child { display: none; }
After applying the css, please clear your browser cache and check.
Best regards,
MikeHi,
Odd, so you disabled all of your plugins, except for “Temporary Login Without Password” and then tried to add a image to a post, and you couldn’t use the space bar?
After much testing, I found that disabling the Feedzy RSS Feeds Lite plugin solved the issue in Windows in Chrome, Firefox, & Edge.
I have left it disabled so you can check. Please note that if you are using a Mac or IOS, it can be hard to clear the cache, often you need to also clear the history to fully purge the cache, following these steps for Safari and note Step 4 where you will Clear the History.Best regards,
MikeHi,
Ok, hopefully it also works well on the live site, this has been a big customization, more than normal.Best regards,
MikeHi,
I have checked your two sites, the homepage and the /galerien/ for each and I don’t see any errors, so I would say that your css is working correctly.Best regards,
MikeHi,
The commas are not in the author links:
but please note that the entire product grid item is wrapped in a link to the product page:
What is your goal, do you want to change the color of the commas?
Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:.inner_product.main_color a.woocommerce-LoopProduct-link { color: #7d7d7d; }
Best regards,
MikeHey Michael,
Thank you for the link to your sites, as I understand your request you would like the two cookie consent buttons to always be side-by-side (inline) and the cookie consent text to be inline next to the buttons, but at smaller screens the text should become multiple lines and still inline with the buttons.
Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field for each site:.avia-cookie-consent .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; } .avia-cookie-consent .avia_cookie_text { flex: 1; white-space: normal; margin: 0; } .avia-cookie-consent .avia-button { display: inline-block; }
This is the expected result that I see when I test:
Best regards,
MikeHi,
Thank you for your patience, but unfortunately I’m not able to login, please check.Best regards,
MikeOctober 21, 2023 at 9:02 pm in reply to: OSM Leaflet Map: only one marker pop-up displaying #1423260Hey CJGVD,
Thank you for your patience, unfortunately it looks like the Leaflet Map is set to only show one popup at a time, it looks like there maybe a workaround if you modify the Leaflet Map script, but I was not able to make this work in my tests.
I looked for another plugin that offered this option but couldn’t find one.
Perhaps if you would like to request this as a future feature, the Dev Team has opened a new Github Feature Request for users to place requests and follow them as the Dev Team reviews them.
But unfortunately I don’t see an easy way to do this right now. Thank you for your understanding.Best regards,
MikeHi,
Thanks Guenni007, I was having a hard time seeing the change, this makes since now :)Best regards,
MikeHi,
I’m not sure what the issue is, is this the only page that this occurs on?Best regards,
MikeHi,
I believe the new modification is working correctly, please check.
This is the new code:add_action('woocommerce_after_shop_loop_item_title', 'display_custom_attribute_in_product_grid', 5); function display_custom_attribute_in_product_grid() { // define the desired product attributes to be displayed $defined_attributes = array('autore'); global $product; $attributes = $product->get_attributes(); if (! $attributes) { return; } $out = '<span class="product-attributes">'; foreach ($attributes as $attribute) { $attribute_slug = str_replace('pa_', '', $attribute->get_name()); if (! in_array($attribute_slug, $defined_attributes)) { continue; } if ($attribute->get_variation()) { continue; } $name = $attribute->get_name(); if ($attribute->is_taxonomy()) { $terms = wp_get_post_terms($product->get_id(), $name, 'all'); $tax = $terms[0]->taxonomy; $tax_object = get_taxonomy($tax); if (isset($tax_object->labels->singular_name)) { $tax_label = $tax_object->labels->singular_name; } elseif (isset($tax_object->label)) { $tax_label = $tax_object->label; if (0 === strpos($tax_label, 'Product ')) { $tax_label = substr($tax_label, 8); } } $out .= '<span class="' . esc_attr($name) . '" style="width:100%" >'; $tax_terms = array(); foreach ($terms as $term) { $single_term = array('name' => esc_html($term->name), 'url' => get_term_link($term->term_id, $name)); array_push($tax_terms, $single_term); } $author_names = array(); foreach ($tax_terms as $term) { $author_names[] = '<p data-url="' . $term['url'] . '" class="attribute-value" style="margin:0">' . $term['name'] . '</p>'; } // Combine author names into a single string $author_list = implode(', ', $author_names); $out .= $author_list; } else { $value_string = implode(', ', $attribute->get_options()); $out .= '<span class="' . sanitize_title($name) . ' ' . sanitize_title($value_string) . '">'; } } $out .= '</span>'; echo $out; }
Best regards,
MikeHey sitesme,
Thanks for the login to your site, I see the your “blog” page has a special heading & a blog element & a magazine element, the reason thease are not showing is because your “blog” post category has the “slug” ▸ “blog”, so the URL for your-site.com/blog/ is the category page and not the “blog” page. I hope that I have explained this well.
So the solution is to change the “slug” for now I changed it to “blog-cat” but you can change it to anything you like.
Best regards,
MikeOctober 21, 2023 at 4:35 pm in reply to: Linking external images within – product grid, product slider or product list #1423240Hey molinesupport,
Thanks for your question, I’m not familiar with “BatchLine”, but if this works with the shopfront WooCommerce theme, try going to Enfold Theme Options ▸ Shop Options ▸ Product gallery and choose WooCommerce 3.0 product gallery, I assume that you are currently using the Default enfold product gallery option now.
On the page that you linked to I see the classes for the products that are showing the placeholder images: member-discount discount-restricted
are you using a “membership” plugin? If you don’t use any restrictions do the images then show correctly?Best regards,
MikeHi,
Glad to hear that you have this sorted out, shall we close this then?Best regards,
MikeHey akbar70j,
Thank you for the link to your site, but when I land on the /wp-admin/ login page I get a “forbidden” error, please check and make your site accessible for us. Thank you.Best regards,
MikeHi,
Thanks for the screenshot, I would like to try but your token link above is not logging me in, please check.
Oh, perhaps that plugin is also disabled, please enable that one plugin :)Best regards,
MikeHi,
There are some plugins that cause this error, unfortunately we are not able to change the theme to work with every plugin, there are just too many.
When you find the plugin causing the issue you can then determine if it is something you really need or use a alternative plugin.Best regards,
MikeOctober 21, 2023 at 3:10 pm in reply to: ENFOLD GDRP / General Data Protection Regulation Cookie Settings Multilang #1423228Hey Steve,
Thank you for your patience, with WPML each language has it’s own theme settings, but I don’t think POLYLANG does this, you could create a class and add your text twice and use css to hide the text based on the language, similar to this thread, but this would not change the links, so for using POLYLANG you may find it more convenient to use a Thirdparty Cookie Plugin.Best regards,
MikeHi,
Thank you Guenni007 for helping, Eleina_Shinn were you able to sort this out with Guenni007’s help?Best regards,
MikeHi,
WordPress doesn’t support PHP v5.6.40 any more, please update to at least PHP v7.4Best regards,
MikeHey schweg33,
Thanks for the link to your pages, I’m not sure what the issue is, is this the only page that this occurs on?
Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:#top.page-id-15521 #av_section_1 { height: 62vh; }
After applying the css, please clear your browser cache and check.
Best regards,
MikeHey daves1997,
Typically this error is caused by a conflict with plugins, try disabling all of your plugins. If that resolves the issue, reactivate each one individually until you find the one causing the conflict.Best regards,
MikeHi,
Thank you for the link to your site, I found that you were getting the error: Uncaught SyntaxError: Unexpected string I believe from this script in a widget:
once I removed it and cleared your cache you site showed correctly.
I added the code into your child theme functions.php:
so now it shows with no errors:
I see that you have an empty avia-style.min.css css file in your child theme, I recommend removing this as it may cause a conflict in the future.
Best regards,
Mike -
AuthorPosts