Forum Replies Created
-
AuthorPosts
-
Hi,
Thanks for your explanation, I wrote this script to check the URL hash and then remove the menu highlighting class from one of the menu items. So for the is work please add hashes to your two menu items, for the sub-menu item “la-manga-club” under “VIP Teaching Weeks” change the hash to#vip, for the sub-menu item “la-manga-club” under “TOS Teaching Weeks” change the hash to#tos.
There are no anchors for #vip or #tos so the page will load at the top, but this will tell us which menu item the visitor clicked to get to the page.
Try adding this code to the end of your functions.php file in Appearance > Editor:function custom_landing_script(){ ?> <script> (function($){ $(document).ready(function(){ if (window.location.hash == '#vip'){ setTimeout(function(){ $("#top.page-id-497 #menu-item-6449").removeClass("current-menu-item"); },300); } else if (window.location.hash == '#tos'){ setTimeout(function(){ $("#top.page-id-497 #menu-item-1077").removeClass("current-menu-item"); },300); } else {} }); })(jQuery); </script> <?php } add_action('wp_footer', 'custom_landing_script');Then clear your browser cache and check.
Best regards,
MikeHi,
Thanks for the login, I was hoping to check your child theme structure and modified files, but your WordPress > Appearance > Editor is disabled, probably in yourwp-config.phpthere is this codedefine('DISALLOW_FILE_EDIT',true);if you are able to restore the theme editor or if you include FTP access we will be able to investigate further.Best regards,
MikeHi,
Glad we were able to help, we will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)Best regards,
MikeHi,
Perhaps you have a previous css error, like a missing bracket, that is preventing this from working, please include an admin login in the Private Content area so we can check.Best regards,
MikeHi,
Sorry for the late reply, Try adding this code to the end of your functions.php file in Appearance > Editor:function max_title_length( $title ) { $max = 2000; if( strlen( $title ) > $max ) { return substr( $title, 0, $max ). " …"; } else { return $title; } } add_filter( 'the_title', 'max_title_length');I see that you tried some code, but perhaps it wasn’t the same as this.
Best regards,
MikeHi,
Glad to hear, sorry for the late reply and thanks for using Enfold.Best regards,
MikeHi,
Sorry for the late reply and thanks for the login, Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:#av-custom-submenu-1 li:hover,#av-custom-submenu-1 li:hover > a { background-color: #008000; color: #fff !important; } #av-custom-submenu-1 li.clicked,#av-custom-submenu-1 li.clicked > a { background-color: #008000; color: #fff !important; }Then add this code to the end of your functions.php file in Appearance > Editor:
function custom_script(){ ?> <script> (function($){ $(document).ready(function() { $("#av-custom-submenu-1 li").click(function() { $("#av-custom-submenu-1 li").not(this).removeClass('clicked'); $(this).addClass('clicked'); }); }); })(jQuery); </script> <?php } add_action('wp_footer', 'custom_script');Then clear your browser cache and check.
Best regards,
MikeHi,
Glad we were able to help, we will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)Best regards,
MikeHey JMMCRIADO,
Do you want the widget in the footer? Please include an admin login in the Private Content area so we can take a look.
Do you have certain code to create the TripAdvisor widget?Best regards,
MikeHi,
Thanks for the link, to make the featured image not clickable on a single post you could try this css in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:#top.single .big-preview.single-big { pointer-events: none !important; }After applying the css, Please clear your browser cache and check.
Best regards,
MikeMay 31, 2020 at 12:39 am in reply to: Switch secondary menu and telephone number on mobile and tablet #1218095Hey fcp,
Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:@media only screen and (max-width: 767px) { #header_meta > .container { display: flex !important; flex-wrap: wrap !important; } #header_meta > .container > .sub_menu { order: 2; } #header_meta > .container > .phone-info { order: 1; } }After applying the css, Please clear your browser cache and check.
Best regards,
MikeHey ksalewski,
Thanks for the links, for the first one please try changing your Kontakt menu item link from#kontaktto/#kontakt
Try adding the same/to your other site menu item “Netzwerk”Best regards,
MikeHi,
It seems the login above is not working, please check. Which page are you testing on, the only video I could find was on the home page and was from Vimeo.Best regards,
MikeHey tremblayly,
Thanks for the link and login, the reason for this was because when the page is scrolled down to#large-testimonialsthe videos from the above section are behind the header and the video overlays have a high z-index, please try this css to make the header z-index higher.
Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:#header_main,#header { z-index: 1001 !important; }After applying the css, Please clear your browser cache and check.
Best regards,
MikeHey NoraGTS,
Thanks for the login and link to the page. On the page you had the header set to transparent but you had no slider or image at the top of the page so the transparent logo would show. I set your header to not transparent and to hide the title and breadcrumbs.
Please clear your browser cache and check.Best regards,
MikeHey dantespizzi,
Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:.slide-entry .blog-categories.minor-meta { display: none !important; }After applying the css, Please clear your browser cache and check.
Best regards,
MikeMay 30, 2020 at 10:21 pm in reply to: Am I adding my google analytics tracking code correctly? #1218083Hey swibbycreations,
This looks correct, if it has been a couple of days you should start seeing the analytics of this, do you?Best regards,
MikeHey Bruno,
Sorry for the late reply, I would recommend the plugin WP Popups it typically works well with Enfold.Best regards,
MikeHey bobfurgo,
Thanks for the sftp access, I have updated your theme, unless there is anything else we can help with on this issue, shall we close this then?Best regards,
MikeHi,
Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:#top.single-portfolio .breadcrumb-trail > span > span > a { display: none !important; }After applying the css, Please clear your browser cache and check.
Best regards,
MikeMay 30, 2020 at 9:04 pm in reply to: Enfold Remove left & right padding margins on videos in color sections on mobile #1218073Hi,
You can add a custom ID to the color section that contains the video and icon box elements, then each time you use the setup and the custom ID it should work, but you can only use the ID once on each page.
Here is the example css with a custom ID of “full-width-video-section” for you to use.@media only screen and (max-width: 767px) { .responsive #top #wrap_all #full-width-video-section > .container { width: 100% !important; max-width: 100% !important; } .responsive #top #wrap_all #full-width-video-section > .container .av_two_fifth .iconbox_right_content { margin: auto !important; width: 85% !important; } }After applying the css, Please clear your browser cache and check.
Best regards,
MikeHi,
Glad to hear, unless there is anything else we can help with on this issue, shall we close this then?Best regards,
MikeMay 30, 2020 at 8:44 pm in reply to: Avia Layout Builder no longer working on certain pages #1218071Hi,
I took a look at your “datasheets” page and also saw that you are getting an 406 error on the admin-ajax.php but I’m not sure why.
Since you had the Avia Layout Builder Debugger activated I tried testing your page shortcode on my localhost and your page worked fine without errors.
I then tried creating a new “datasheets test” page and found that if the fourth and fifth tabs were empty then you can edit the page on your site, please see the link in the Private Content area.I don’t see what the issue is with the fourth and fifth tabs, but you could try adding content a little at a time to see if you can isolate the issue.
Have you tried disabling your plugins?Best regards,
MikeHi,
Thank you for the link, I see that your two menu items are both getting marked as the “current page”, probably due to your menu structure. For this page which menu item do you want to be highlighted?
From your description above it sounds like you only have a couple of pages with this issue, if you link to each page and tell us which menu items should be highlighted we can provide some css to correct this.Best regards,
MikeHi,
I tried to write this script as general as possible so it would work on most pages, the script looks for the first column on the page and waits for 2 seconds and then animates.
This seems to work on most pages showing the animation right after the purple preloader slides away. Try adding this code to the end of your functions.php file in Appearance > Editor:function after_preload_script(){ ?> <script> (function($){ $(document).ready(function(){ setTimeout(function(){ $('.flex_column_div.first.avia-builder-el-1').fadeIn({queue: false, duration: 'slow'}); $('.flex_column_div.first.avia-builder-el-1').animate({ top: "-50px" }, 'slow'); }, 2000); }); })(jQuery); </script> <?php } add_action('wp_footer', 'after_preload_script');Then clear your browser cache and check.
Best regards,
MikeHi,
Sorry for the late reply, as I understand your question, you have a preloader and after it runs the top section in view doesn’t animate, but the lower sections do. I suggest that the section in view is animating while the preloader is running.
I can’t think of a solution that will work sitewide, but we may be able to add an additional animation after your preloader to the top section. Perhaps a fade-in slide-up to the column “Our Products”, perhaps if most of your pages have the same layout we can add this animation based on a custom class to the column. Does this sound like something you would like to try?
Is the preloader from Enfold or is it a plugin or script?Related note: while researching this I found this possible solution that may help after some modification.
Best regards,
MikeHi,
Glad to hear this helps, unfortunately, this is the only solution I can think of to help, we don’t have a block in place.Best regards,
Mike -
AuthorPosts

