Forum Replies Created
-
AuthorPosts
-
Hi,
Glad that you have sorted it out using width: 100vw; height: 100vh
The javascript option above only works on same domain iframes
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 Guenni007 and good point, hopefully this will be useful for many people :)Best regards,
MikeMarch 11, 2024 at 1:02 am in reply to: Burger menu has stopped working on my mobile devices. #1436900Hi,
Ok, since you have it installed you are certainly correct, I have not looked at WPFC for quiet a while, nonetheless I think you get my general points about issues when you have multiple things minifing, compressing, & merging the same files, it’s just something to keep in mind.
Anyways glad that this is sorted out, 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,
This only works if the domain is yours, it looks like you are trying to use a mailchi.mp domain it will not work.Best regards,
MikeHi,
Thanks for the login, I see that your Advanced Layout Builder post has a three image easy slider element and I believe this is an example of what you want to add to plain WordPress posts, so I cloned one of your plain posts as an example, linked below.
Then I used the shortcode wand to add a slider:
when it opens it looks just like the ALB element, just add your images like normal:
when you save the element you will see the shortcode:
then save your page, on the frontend you will see the slider:
Please give this a try.Best regards,
MikeHi,
I don’t know, It looks like your images are coming from https://i0.wp.com I believe this is the JetPack image server, it also looks like you have a CDN “onesingnal” try disabling all of your plugins and get your images to be served from your domain and wordpress install, then see if you still have issues.
Each time I check your site and images are showing for meBest regards,
MikeHey calebcuster,
Unfortunately the Animated Countdown element datepicker will not allow you to choose a past date so this will not work, the post that you linked to was from 2015.
Instead try this shortcode count up clone, add this code to the end of your child theme functions.php file in Appearance ▸ Editor or if you are not using a child theme you could use the WP Code plugin then add a new snippet, in the top right corner use the PHP snippet as the code type:
then add this code and save.function wp_custom_countup_shortcode($atts) { // Extract shortcode attributes $a = shortcode_atts(array( 'date' => '2020-01-01', // Default date 'color' => 'black', // Default font color 'background' => 'white', // Default background color 'offset' => '0', // Default timezone offset in hours ), $atts); $uid = uniqid('countup_'); // Enqueue jQuery if it's not already included wp_enqueue_script('jquery'); // Output HTML $html = "<div id='{$uid}' class='av-countdown-timer-inner'> <span class='av-countdown-cell av-align-center'><span class='av-countdown-cell-inner' style='color: {$a['color']}; background-color: {$a['background']};'><span class='av-countdown-time weeks'></span><span class='av-countdown-time-label'>Weeks</span></span></span> <span class='av-countdown-cell av-align-center'><span class='av-countdown-cell-inner' style='color: {$a['color']}; background-color: {$a['background']};'><span class='av-countdown-time days'></span><span class='av-countdown-time-label'>Days</span></span></span> <span class='av-countdown-cell av-align-center'><span class='av-countdown-cell-inner' style='color: {$a['color']}; background-color: {$a['background']};'><span class='av-countdown-time hours'></span><span class='av-countdown-time-label'>Hours</span></span></span> <span class='av-countdown-cell av-align-center'><span class='av-countdown-cell-inner' style='color: {$a['color']}; background-color: {$a['background']};'><span class='av-countdown-time minutes'></span><span class='av-countdown-time-label'>Minutes</span></span></span> <span class='av-countdown-cell av-align-center'><span class='av-countdown-cell-inner' style='color: {$a['color']}; background-color: {$a['background']};'><span class='av-countdown-time seconds'></span><span class='av-countdown-time-label'>Seconds</span></span></span> </div>"; // Adjust the current time for the timezone offset $offsetMilliseconds = $a['offset'] * 3600 * 1000; // Convert hours to milliseconds // JavaScript to update the countdown $html .= "<script> jQuery(function($) { var countUpDate = new Date('{$a['date']}').getTime(); var x = setInterval(function() { var now = new Date().getTime() + {$offsetMilliseconds}; // Adjust for timezone offset var distance = now - countUpDate; var weeks = Math.floor(distance / (1000 * 60 * 60 * 24 * 7)); var days = Math.floor((distance % (1000 * 60 * 60 * 24 * 7)) / (1000 * 60 * 60 * 24)); var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); var seconds = Math.floor((distance % (1000 * 60)) / 1000); $('#{$uid} .weeks').text(weeks); $('#{$uid} .days').text(days); $('#{$uid} .hours').text(hours); $('#{$uid} .minutes').text(minutes); $('#{$uid} .seconds').text(seconds); }, 1000); }); </script>"; return $html; } add_shortcode('custom_countup', 'wp_custom_countup_shortcode');
Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
Then use this shortcode on the page to display:
[custom_countup date="2024-03-10" color="#fff" background="#000" offset="-4"]
the first attribute is the date in the past, then the font color, then the cell background color, and then the time offset, this is the difference between your server time and the time you want to use, since our servers are not always in the same timezones as we are. The default is zero if you don’t add this attribute.
This is the result:
This uses the same classes as the countdown element so the style is pretty close, here is what the two together look like:
Best regards,
MikeMarch 10, 2024 at 9:26 pm in reply to: Burger menu has stopped working on my mobile devices. #1436887Hi,
I would leave it enabled, and double check your WPFC, as I recall the minify was not on the main settings panel, if you do have it disabled then good.
I’m glad to hear that your site is basically none, I was only making this suggestion to help as I didn’t know where you are in your process.
So if it is all set now shall we close this thread then?Best regards,
MikeHi,
Glad to hear that you have this sorted out, shall we close this thread then?Best regards,
MikeHi,
Thanks for the screenshots and the link to your site, this is a plain WordPress post and I think that you want to recreate this in a Advanced Layout Builder page, but it will not be exactly the same, this is apples & oranges. You can add the shortcode for the author above, and you can add the comment element to your page.
If tou like the plain WordPress post why are you trying to re-built it in the Advanced Layout Builder?
Above you write we wanted to publish articles which contained a slider in that case you can add the shortcode to the plain WordPress posts.Try creating a test post with the plain WordPress post and then on a test Advanced Layout Builder post create your article slider like you want and post an admin login in the Private Content area below and we will try to add the article slider to your post, it will probably be easier, if I’m understanding correctly.
Best regards,
MikeMarch 10, 2024 at 2:48 pm in reply to: Burger menu has stopped working on my mobile devices. #1436876Hi,
It sounds like my suggestion worked, so typically when using caching plugins the issue is having the files minified twice, due to the nature of minifing which tries to remove blank spaces and semicolons, but on the second time around things break.
I recommend only using one system to minify, perhaps the theme and then only use WPFC to cache, or the other way, whatever you prefer.
I also recommend waiting to cache when your site is done, that way you are not struggling with the cache while you are still building.Best regards,
MikeMarch 10, 2024 at 2:37 pm in reply to: Blog Posts: “106 resources are formatted as page link” warning on SEMrush #1436875Hi,
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,
MikeMarch 10, 2024 at 2:34 pm in reply to: Links to Items in the Enfold Table of Contents widget #1436874Hi,
@webdesignphx sorry I closed this thread in error because someone with a similar user name lead me to believe this was solved, I have re-opened it and hope to hear that your issue is now solved so we can properly close :)Best regards,
MikeHi,
I don’t spot any missing images on your page, you write that the top left image is missing but I see it:
this matches the frontend:
The text is an image so I assume that is what you are talking about it, but let’s assume that you also want a background image in the cell, behind the text image, then we see there is not one in the cell settings, so feel free to add one:
When I look at the rest of the page I don’t see any empty placeholders or and image 404’s so perhaps if you still see the missing images you could take a screenshot and point to it.
Thank you for your patience with us.Best regards,
MikeHi,
I have removed the image, but it was not a image of your site, it was from my test page and the water marked iStock image is availability to the public.
I don’t have a physical tablet, but when I use the inspector dev tools responsive sizes I don’t see the issue, please capture the screen resolution of when the image is not showing on your tablet and let us know if it is for both portrait & landscape, perhaps this will help us identify the issue or we can see if someone else on the team has a similar device.Best regards,
MikeHi,
I installed the Freelancer demo for you, please check.
Unfortunately it won’t do any good to ask OVH, other users have been asking for over four years.
Nonetheless, we try to help where we can, but if you want to install more demos I recommend creating a localhost WordPress install and import the demo and then use the plugin Duplicator and migrate your localhost version to your webhost, see the video on the plugin page if you have not used this plugin before, it is quite easy.
Please note that you should not install multiple demos over each other because each demo overwrites the theme settings, if you want to add a page from another demo try installing it on a localhost and Enable the Avia Layout Builder Debugger then you will see a special field in the editor where you can copy the shortcode for the whole page and paste into a new page on your site.Best regards,
MikeMarch 10, 2024 at 12:01 am in reply to: Links to Items in the Enfold Table of Contents widget #1436846Hey Tina,
Thanks for your patience and the link to your site, please note that IDs can not begin with a number, so your link #1-group-of-leaves is invalid for a browser loading the page, it works for the TOC after the page is loaded because of the TOC javascript, but when you land from another page the TOC script is not fired.
For example this TOC link on the same page works on page load: https://hangardoors.aero/rolling-hangar-door-configurations#unidirectional-door-configuration
So try to not start you title with a number or use a word number like “one”Best regards,
MikeMarch 9, 2024 at 11:05 pm in reply to: Burger menu has stopped working on my mobile devices. #1436845Hey gatehealing,
I see that you are getting a javascript error, try disabling Enfold Theme Options ▸ Performance ▸ JS & CSS file merging and compression and enable Enfold Theme Options ▸ Performance ▸ Delete old CSS and JS files then clear your device cache a few times and check again.
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,
MikeHey webmaintain,
A theme update will override the enfold/functions.php
We recommend using a child theme or you could use the WP Code plugin when you add a new PHP snippet, look in the top right corner to use the PHP snippet as the code type:
Best regards,
MikeHi,
Ok, I’ve not heard of this before but it was causing the issue, nonetheless 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,
Thank you for your patience, I see that you are using a OVH webhost, unfortunately they block our IP address so the demos can’t be imported.
If you include your FTP login we can try to help.Best regards,
MikeHi,
Thanks for the link to your site, you are using a very old version of the theme v4.4.1 so you must update to v5.6.10
Before doing so I recommend that you create a full backup with your webhost backup tools, not a backup plugin, then to update your version of Enfold you will need to download the latest installable WP version from your Theme Forest account and upload it to your WordPress ▸ Appearance ▸ Themes ▸ Add Themes ▸ Add New
after you choose the zip file and click install, you will see a This theme is already installed message because you are updating, you can continue
then you will see the Theme updated successfully message.
Best regards,
MikeHi,
Glad Ismael could 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,
Please link to your page and tell us what colors you want for which tab so we can help.Best regards,
MikeHey micheladalcastagne,
Thanks for your patience and the link to your site, I don’t have a lot experience with the polylang plugin, first I noted that your homepage in both languages are named the same so I added the language code to them to sort them out in the theme options because your site domain is showing as a EN language and thus your menu is EN when you want it to be IT:
so now we can sort it out a little better:
Then going to the Languages ▸ Settings I found that you seem to need to choose the language from above before setting the options:
So now I have the menu language to match the page language along with the correct flag.Now for your second issue where when you are on the /privacy-policy/ page you can use the menu items to get back to your homepage because all of your menu items are only hash links.
Since you are not using a child theme I installed the WP Code plugin then added a new snippet, in the top right corner use the PHP snippet as the code type:
then added this code, I also created two new menus for you, one for each /privacy-policy/ page with the full urls to the homepage.add_filter( 'wp_nav_menu_args', 'ppen_nav_menu_args' ); function ppen_nav_menu_args( $args = '' ) { if($args['theme_location'] === 'avia') { if( is_page( 627 ) ) { $args['menu'] = '25'; } return $args; } } add_filter( 'wp_nav_menu_args', 'ppit_nav_menu_args' ); function ppit_nav_menu_args( $args = '' ) { if($args['theme_location'] === 'avia') { if( is_page( 3 ) ) { $args['menu'] = '24'; } return $args; } }
Now each /privacy-policy/ page has a working menu to the correct homepage.
Best regards,
MikeHey keep12,
Thanks for the screenshots, you have one were the css has not been merged with the theme option Enfold Theme Options ▸ Performance ▸ JS & CSS file merging and compression
grupooneair.com
and one were the js has not been merged with the theme option Enfold Theme Options ▸ Performance ▸ JS & CSS file merging and compression
oneair.es
but nonetheless they both get a A+ score.
Then you have one were the both css & js has not been merged with the theme option Enfold Theme Options ▸ Performance ▸ JS & CSS file merging and compression so it gets a C rating
grupooneair.com
WP Rocket can cause issues if you use bothe the theme compression & WP Rocket minifying and compression, some users opt to use only the WP Rocket settings, I don’t use WP Rocket so I can’t advise, you should experiment with what gives you the best results, from your screenshots the first two seem the best, so use those.Best regards,
Mike -
AuthorPosts