Forum Replies Created
-
AuthorPosts
-
Hey Michael,
Thank you for your patience, but the site you linked to is not working, but I believe that I found the correct site in one of your other threads.
When I checked your three columns, all of them were set to “position 1”:
please note that this will only work when “Column Behaviour” set to individual:
One way around this limitation is to add custom IDs the elements:
and then this css, which I added to your WordPress ▸ Customize ▸ Additional CSS@media only screen and (max-width: 767px) { #changeorder,#changeorder .entry-content-wrapper,#changeorder .flex_column_table { display: flex !important; flex-wrap: wrap !important; } #placeone { order: 1 !important; } #placetwo { order: 2 !important; } #placethree { order: 3 !important; } }
and this works for your DE site, but your EN & FR pages don’t update correctly, I’m not sure if it is your caching or your WPML. To correct I added this css:
@media only screen and (max-width: 767px) { #top.home #av_section_1,#top.home #av_section_1 .entry-content-wrapper { display: flex !important; flex-wrap: wrap !important; } #top.home #av_section_1 .av_one_fourth.first { order: 1 !important; } #top.home #av_section_1 .av_one_fourth.last { order: 2 !important; } #top.home #av_section_1 .av_one_half { order: 3 !important; } }
Now it is working for all three languages, please clear your browser cache and check.
Best regards,
MikeNovember 18, 2023 at 5:43 pm in reply to: Feature request/performance improvement: Technical WP_Options Autoload Review #1425932Hey Thomas,
I reviewed the /managing-your-wp_options-table/ page that you linked to and at the bottom it says:You can set the autoload value to anything other than ‘yes’ and they will not be autoloaded, but still be available if a plugin really does need them. You can use ‘no’ but if you use ‘wpi’ or some other value it lets you revert your changes if you need to.
This option is safe, because the options will remain in your database and be available for the relevant plugin, they just won’t be autoloaded on every page.so as I understand what they are writing is that changing autoload to ‘wpi’ is safe and doesn’t affect the element except that it doesn’t autoload, when I check with ChatGPT it says:
In WordPress, options are typically autoloaded by default for better performance, as it reduces the number of database queries required to load commonly used data.
and it offers the following function to add to your child theme functions.php to change the autoload instead of a database query:
update_option('av_alb_usage_av_catalogue', '', 'wpi');
, for the catalog element. when I tested on my site the database showed that the autoload was changed and the element seemed to work correctly on the frontend and backend.
WordPress’s update_option function doesn’t support wildcard patterns like ‘av_alb_usage_av_%’ in the option_name, so if you want to change multiple options you would need to specify the individual option names when using update_option, or you could try this to prevent the autoloading for multiple options:global $wpdb; $options_to_disable_autoload = $wpdb->get_results(" SELECT option_name FROM $wpdb->options WHERE option_name LIKE 'av_alb_usage_av_%' "); if ($options_to_disable_autoload) { foreach ($options_to_disable_autoload as $option) { update_option($option->option_name, '', 'wpi'); } }
you could also use this for plugins with multiple options, I would recommend testing this on a staging site first as thoroughly testing would be the only way to determine how your site will behave.
Best regards,
MikeHi,
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,
MikeNovember 18, 2023 at 3:44 pm in reply to: https://kriesi.at/support/topic/relates-to-https-kriesi-at-support-topic-duplica #1425930Hi,
Thank you for your patience, it seems that the issue is the flex css we used to change the position of the menu items equally across the header, the position of the mega-menu sub-menu is determined by javascript based on the screen width and the calculation was for before the css moves the item. I didn’t find a way to adjust the precious css to correct or a way to correct with more css because the value is dynamic.
I was able to correct with the following javascript and I added it to your child theme functions.phpfunction adjust_mega_menu_submenu_for_aboutus_item_to_be_on_screen() { ?> <script> document.addEventListener('DOMContentLoaded', function() { const menuItem = document.querySelector('#menu-item-287'); const subMenu = document.querySelector('#menu-item-287 .avia_mega3'); function adjustSubMenuPosition() { const viewportWidth = window.innerWidth; const subMenuRect = subMenu.getBoundingClientRect(); const offScreenRight = subMenuRect.right - viewportWidth; if (offScreenRight > 0) { subMenu.style.left =
-${offScreenRight}px
; } else {} } menuItem.addEventListener('mouseenter', function() { subMenu.style.display = 'block'; adjustSubMenuPosition(); }); menuItem.addEventListener('touchstart', function() { subMenu.style.display = 'block'; setTimeout(adjustSubMenuPosition, 200); }); menuItem.addEventListener('mouseleave', function() { subMenu.style.display = 'none'; }); menuItem.addEventListener('touchend', function() { subMenu.style.display = 'none'; }); }); </script> <?php } add_action('wp_footer', 'adjust_mega_menu_submenu_for_aboutus_item_to_be_on_screen', 99);Please clear your browser cache and check.
Best regards,
MikeNovember 18, 2023 at 12:33 pm in reply to: Cookie issue after Enfold update with WooCommerce #1425926Hey Bernd,
Thank you for the links to your sites, and your patience. I have tested the cookie banner on my test site with woocommerce and was not able to reproduce this error, I see that you have a couple of jQuery errors on your site and perhaps this is related. Try disabling Enfold Theme Options ▸ Performance ▸ JS & CSS file merging and compression and enable Enfold Theme Options ▸ Performance ▸ Delete old CSS and JS files and then disable WP Rocket and your other plugins except woocommerce and then check again. If this solves then enable your other plugins one at a time until you see the error again, which will point to the conflict.
If this doesn’t help please include an admin login to your staging site in the Private Content area so we can be of more assistance.Best regards,
MikeHi,
Thanks for the login, I see that you have the homepage set as the footer page and the custom 404 page, I disabled this for you by setting no page as the footer & custom 404 page in all of your languages so it will show as the homepage.
Now your homepage shows correctly when logged out in all languages, please clear your browser cache and check.Best regards,
MikeHi,
You seem to have two threads for the same issue, in your other thread you gave us access to the site and I found that your WordPress ▸ Customize ▸ Additional CSS you have a missing bracket before the css posted above, casuing an error:
I also found that your WP Rocket plugin is minifying the css & js and the theme is also minifying these files, sometimes this can cause errors, so I disabled the theme Enfold Theme Options ▸ Performance ▸ JS & CSS file merging and compression
Now for both logged in and logged out the /blog/ page text is aligned left.
Please clear your browser cache and check.Best regards,
MikeHi,
Thanks for the login, when I check your WordPress ▸ Customize ▸ Additional CSS I see that you have a missing bracket before the css I posted, casuing an error:
I also found that your WP Rocket plugin is minifying the css & js and the theme is also minifying these files, sometimes this can cause errors, so I disabled the theme Enfold Theme Options ▸ Performance ▸ JS & CSS file merging and compression
Now for both logged in and logged out the /blog/ page text is aligned left.
Please clear your browser cache and check.Best regards,
MikeNovember 17, 2023 at 11:19 am in reply to: Top and botom margin newly display on full screen slider #1425821Hi,
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,
MikeHi,
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,
MikeHi,
Thanks for the feedback, for the blog page text that is justified, it looks like you have two threads open for the same topic, in your other thread a css solution was offered to correct the blog justified text, although you said it didn’t work, but when I test it seems to work.
Perhaps you have an error in your css such as a missing bracket, etc.
Try disabling your caching plugin, and then add this css to your WordPress ▸ Customize ▸ Additional CSS#top #wrap_all .fullsize .template-blog .post .entry-content-wrapper { text-align: left; }
then clear your browser cache and if you are using a server cache please clear it also, and then check.
If this doesn’t help please include an admin login in the Private Content area so we can examine. Please leave your caching disabled while examine this.Best regards,
MikeHey Yvonne,
The resume demo has the header hidden by default, so you could enable the header to show the menu and add more pages:
This is an example of the header enabled with a menu for additional pages:
but since the site layout is boxed, making the header sticky will make it fullwidth and be outsite of the boxed area, so you should choose between a sticky header & a boxed layout.Best regards,
MikeHi,
The Dev Team has added the function to the social links of a team member element, you will not need to and the mailto and you can include the subject and body in the link.
I tried to identify any other elements that the Dev Team could add this to, but I didn’t see any that couldn’t use the new shortcode, did you see any?
We don’t have an ETA for releasing the update, the Dev Team is also working on other things right now. If you need it right away you can add the files I linked to and I can link to the new team.php file if you wish.Best regards,
MikeNovember 14, 2023 at 12:07 pm in reply to: Top and botom margin newly display on full screen slider #1425560Hi,
Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:@media only screen and (max-width: 1534px) { #top #wrap_all .avia-builder-el-0 .av-element-cover video { height: 100%; width: 190vh; } }
After applying the css, please clear your browser cache and check.
Best regards,
MikeNovember 14, 2023 at 11:39 am in reply to: OSM Leaflet Map: only one marker pop-up displaying #1425557Hi,
Ok, I believe that this is the case then, if you like we can leave this open for a few more days to see if you get another error email, but I’m not seeing this on my test site.
Try testing for a couple of days and if all is well then let us know that we can close the thread.Best regards,
MikeHi,
Thanks for the feedback, I see that you have this custom css blocking the click event, please find and remove it, perhaps it is in your Quick CSS:@media only screen and (max-width: 986px){ .av-masonry-entry { pointer-events: none; } }
The login you posted above doesn’t work so I couldn’t remove it for you.
Best regards,
MikeNovember 13, 2023 at 6:27 pm in reply to: OSM Leaflet Map: only one marker pop-up displaying #1425473Hi,
Did this occur only once? perhaps it was while you were uploading the new file? I didn’t get this error on my site.
line 904 in the functions.php isrequire_once( 'config-leaflet-maps/class-avia-leaflet-maps.php' );
so it is possible that the file was not found while you added the new one.Best regards,
MikeNovember 13, 2023 at 6:20 pm in reply to: Adding a modified helper-privacy.php to child theme #1425468Hi,
Typically the say what plugin works good, I would recommend using it or some javascript, which may use less resources than a plugin for just one line of text.
Perhaps something like this:var changeMasonryAuthor = document.querySelector('html[lang="it-IT"] .av-masonry-author.meta-color.author'); if (!!changeMasonryAuthor) { var search = "da "; var replacement = "A cura di "; document.body.innerHTML = document.body.innerHTML.split(search).join(replacement) }
You will need to adjust to suit your needs.
Best regards,
MikeHi,
If you update your custom theme manually you will need to change the name of the theme files and inside the syle.css to the same names that are currently used, then you can upload in the WordPress ▸ Theme panel and it will overwrite your old one, but I recommend that you save a backup of your old one.
To activate the former child theme I just click on “activate”? And after I can always switch back to the one I created for you.
If you use the Envato market plugin you should not enter the Token in the Enfold Theme Options ▸ Theme Update ▸ Enter a valid Envato private token
Envato has a limit for the number of times you can check a token in each 24 hours, so by using both you are doubling your checks.Best regards,
MikeHi,
Thanks for the feedback, I went to your /blog/ page and inspected as an iPhone and I see the text is justified, to change it to left try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:#top #wrap_all .fullsize .template-blog .post .entry-content-wrapper { text-align: left; }
After applying the css, please clear your browser cache and check.
Please note that testing with iPads & iPhones 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,
I recommend searching for a online video to gif creator that will give you a better quality.
Or you could try someone on Fivver convert it for you in a portrait layout 425px x 768px in a high quality.Best regards,
MikeHi,
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,
MikeHi,
When I check your page I don’t see these errors, but the first two are the same /xmlrpc.php file that is not for public use, that is why you will see a 403 Forbidden if someone trys to load it, this is the correct response.
the last one is a 404 Not Found for a font, but I don’t see this when I check.Best regards,
MikeHi,
Thank you for your patience, I’m not sure why this doesn’t seem to work so I have asked the rest of the team for advice.Best regards,
MikeHi,
When I checked your page the images in your “Themenbereiche” section have the opacity on desktop until I mouse-over them and for screen sizes below 1440px the images don’t have any opacity. This is what you wanted, correct?
Perhaps your iPad needs it’s cache cleared, try 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,
The Dev Team has updated the email spam function to include the subject and body in the email address in the button and in the shortcode in the shortcode wand, like this:(Email address hidden if logged out) ?subject=your_subject&body=your_body
I linked to the files below, you will need to replace:
/enfold/config-templatebuilder/avia-shortcodes/email_spam.php
/enfold/config-templatebuilder/avia-template-builder/php/class-generic-helper.php
In the button you will not manually add the “mailto:” and the shortcode would look like this:
[av_email_spam url=" (Email address hidden if logged out) ?subject=your_subject&body=your_body" hex_encoding="1"]readable info[/av_email_spam]
Best regards,
MikeHi,
Thank you for the link to your site, but unfortunately I’m not able to reproduce your screenshot error on my Android device, try using this link to identify your screen resolution for your device so we can reproduce the error. Perhaps the error is for a specific size and device?Best regards,
MikeHey finchkelsey,
Thank you for the link to your site, I believe that this code at the end of your child theme functions.php file in Appearance ▸ Editor will help:function custom_tab_section_script() { ?> <script> window.onload = function() { if (window.location.hash) { var hash = window.location.hash.substring(1); var targetElement = document.getElementById(hash); if (targetElement) { setTimeout(function() { var offset = targetElement.offsetTop; window.scrollTo({ top: offset, behavior: "smooth" }); }, 1000); } } }; </script> <?php } add_action('wp_footer', 'custom_tab_section_script', 99);
but I can’t fully test without admin access, please give this a try and clear your browser cache.
Best regards,
Mike -
AuthorPosts