Forum Replies Created
-
AuthorPosts
-
Hey Technoh,
Sorry for the late reply, thanks for sharing your code, but the theme already places the search icon and form next to the burger menu when it is enabled:

at Enfold Theme Options > Main Menu > Append search icon to main menu
So perhaps because you have this option disabled, when you try adding it though your theme edits the same classes are used and it doesn’t show due to the css from the theme option.
Please try using the theme option instead.Best regards,
MikeDecember 26, 2020 at 11:33 pm in reply to: contact form does not accept email-addresses containing '+' in localpart ! #1269838Hi,
Thank you for the feedback, this has been reported to the dev team, once we hear back we will reply here. Thank you for your patience.Best regards,
MikeHi,
Sorry for the very late reply, and thanks for the link to your page, when I check for mobile each section leads with an image and then text, this seems to be the way you wish for, correct?Best regards,
MikeHi,
Sorry for the very late reply and thanks for the login, I tested your page image links but I found that some of them are being redirected with your Yoast plugin, please check your “Redirects – Yoast SEO” options and remove the appropriate entries.Best regards,
MikeHi,
Sorry for the very late reply and thanks for the link to your page, the brown area for the waterfall in your screenshot is explained here.Waiting for an available connection (You’ve hit HTTP/1.x’s maximum connections per host, or HTTP/2’s maximum concurrent streams)
Best regards,
MikeHey rixi,
Sorry for the very late reply and thanks for the link to your page.
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: 630px) { #top #plugins .av-section-tab-title { padding: 5px 10px 0px 10px !important; width: 18% !important; } #top #plugins .av-tab-section-tab-title-container { background-color: #F1F1F1 !important; } #top #plugins .av-inner-tab-title { font-size: 10px !important; } #top #plugins .avia-tab-title-padding-none .av-outer-tab-title { left: 12px !important; } }After applying the css, please clear your browser cache and check.
Best regards,
MikeHey DimitriMTM,
Thank you for the login and test page, I cloned your element and removed the HTML from the title fields. I also added a custom ID to the elementtest_icon_grid
To add a background color to the titles, as your inline HTML would have created:#test_icon_grid .av_icongrid_title { background-color: #ffc000; color: #ffff03; }To remove the animation and just display the txt:
#test_icon_grid li .avia-icongrid-flipback,#test_icon_grid li .avia-icongrid-front { transition: none !important; }I added this to your test page via a code block element, please clear your browser cache and check.
Best regards,
MikeHi,
Sorry for the late reply, I tried setting min heights for the color sections that contain plugin shortcodes, without success.
I note the menu highlighting seems fine until “Venue” and then all menu items after are offset by one.
I also see that you are getting an error in the browser console because your child theme functions.php is pointing to a fileavia-snippet-sticky-header.jsthat doesn’t exist with this:add_action( 'wp_enqueue_scripts', 'wp_change_sticky_header_script', 100 ); function wp_change_sticky_header_script() { wp_deregister_script( 'avia-sticky-header' ); wp_enqueue_script( 'avia-sticky-header-child', get_stylesheet_directory_uri().'/js/avia-snippet-sticky-header.js', array('avia-default'), $vn, true); } add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1); function avia_include_shortcode_template($paths){ $template_url = get_stylesheet_directory(); array_unshift($paths, $template_url.'/shortcodes/'); return $paths; }I commented this out as you don’t have a child theme
/shortcodes/directory, nor an/js/directory.
Then I added this code as a workaround:function custom_script() { ?> <script> (function($){ $(document).ready(function(){ $.fn.isInViewport = function () { let elementTop = $(this).offset().top; let elementBottom = elementTop + $(this).height(); let viewportTop = $(window).scrollTop(); let viewportBottom = viewportTop + $(window).height(); return elementBottom > viewportTop && elementTop < viewportBottom; }; $(window).scroll(function () { if ($('#venue').isInViewport()) { $('li#menu-item-138').addClass("current-menu-item"); $('li#menu-item-139').removeClass("current-menu-item"); } else { $('li#menu-item-138').removeClass("current-menu-item"); } if ($('#hotel').isInViewport()) { $('li#menu-item-139').addClass("current-menu-item"); $('li#menu-item-138').removeClass("current-menu-item"); $('li#menu-item-140').removeClass("current-menu-item"); } else { $('li#menu-item-139').removeClass("current-menu-item"); } if ($('#team').isInViewport()) { $('li#menu-item-140').addClass("current-menu-item"); $('li#menu-item-139').removeClass("current-menu-item"); $('li#menu-item-141').removeClass("current-menu-item"); } else { $('li#menu-item-140').removeClass("current-menu-item"); } if ($('#sponsors').isInViewport()) { $('li#menu-item-141').addClass("current-menu-item"); $('li#menu-item-140').removeClass("current-menu-item"); } else { $('li#menu-item-141').removeClass("current-menu-item"); } }); }); })(jQuery); </script> <?php } add_action('wp_footer', 'custom_script');This seems to be working well for desktop, please clear your browser cache and check.
Best regards,
MikeHi,
Sorry for the late reply, I was not able to determine the cause for this but I was able to create a work-around, I added this script to your child theme functions.php:function custom_script() { ?> <script> (function($) { $('a[href*="#"]:not([href="#"])').click(function() { var target = $(this.hash); var width = $(window).width(); if ( width >= 1024) { $('html,body').stop().animate({ scrollTop: target.offset().top - 100 }, 'linear'); } }); })(jQuery); </script> <?php } add_action('wp_footer', 'custom_script');This only works on screens wider than 1024px, and adjusts the offset based on anchor clicks. The primary target is desktop devices.
Please note that if you test this script on a desktop device, resized to a mobile view, you will need to reload the page to test, actual mobile devices will not load the script correctly.
Please clear your browser cache and check.Best regards,
MikeDecember 24, 2020 at 2:46 pm in reply to: shifting the title and subtitle in the slideshow ( responsive design) #1269754Hi,
Glad to hear this helped, for your biography page I see that you have a color section with a background image, with a 2/3 text block in the color section. With this setup at 768px (tablet) the text is over about half of your image (1)
as the screen width becomes larger the text floats to the right until the text is next to the image, as in your friend’s screenshot.
On my desktop the text is just a little over the image and looks good, perhaps adding a transparent background color to the text would help display the text better, but this would not help when the text is over most of the image.
Your mobile solution works well.
Anyways, I would suggest using a grid row element, with two cells, and the image on the left and the text on the right, this will help keep the text off of the image (2)
I created a test page to show what I mean, please see the link in the Private Content area.
So please review this and see if this might work for your vision of your site.
Merry Christmas and a Happy New Year 🎄Best regards,
MikeHi,
Thank you, I noticed that your logo was off-center so I uploaded a new one so I could continue with the css changes.
I then added this css:@media only screen and (min-width: 989px) { #top #header.av_header_transparency.av_alternate_logo_active .logo > a > img { min-width: 100px !important; opacity: 1 !important; } #top #header.av_header_transparency.av_alternate_logo_active .logo > a > span > img.alternate { opacity: 0 !important; } }This seems much smoother now, please clear your browser cache and check.
Best regards,
MikeHi,
Glad to hear you were able to correct this manually, I can imagine it was not fun, but it is better to correct the HTML tags than try to use css to just change the color. Well done, we will close this now. Thank you for using Enfold.
Merry Christmas and a Happy New Year 🎄Best regards,
MikeHi,
Glad we were able to help, as requested we will close this now. Thank you for using Enfold.
Merry Christmas and a Happy New Year 🎄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,
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,
Thank you for the login, but it is not admin so I can’t see the theme or WordPress options.Best regards,
MikeHi,
Thank you for the feedback, I do see that on the product page changing the quality doesn’t change the price. I see in my browser console there is a javascript error forhttps://[strange-domain].xyz/scripts/trackjs.jsif you can disable your tracking script to test it would help. Javascript errors can cause strange issues, also please check that you are not forcing jQuery to load in the footer at Enfold Theme Options > Performance > Load jQuery in your footer
I’m still not clear on how this is working, so it looks like the woocommerce element is loading with data, is this data dynamic from the plugin? Or does the plugin update the woocommerce database on a schedule?Best regards,
MikeHi,
Sorry for the late reply, I tested this on a clean install and with CSS and JS compression options deactivated, and “Load only used elements (recommended)” activated, vs “Always load all elements”, and I see quite a difference in element related files.
Do you mean that you don’t see any difference? Are you using object caching on your server(s), I recall an issue with object caching taking a while to clear. Perhaps this is why you are not seeing a difference?
Do you host all of your sites on the same server or server configuration?
Although I do see a couple of elements loading (css & js) that I would question why are loading, but I would not say there are “tons”.Best regards,
MikeHi,
Thank you, we will close this now. Thank you for using Enfold.
Merry Christmas and a Happy New Year 🎄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,
I believe that the “stacking” of caching & minifying, along the line developed an error, you can try activating them again and they will most likely work correctly, but I would recommend to only do so when you are done building the site. Or at least do a complete cache purge in the theme settings and your plugins, and in your browser, after major edits. 👍
Unless there is anything else we can assist with on this issue, shall we close this then?Best regards,
MikeHi,
I researched this further and Yoast was the only solution I found. The links are technically correct, but I could probably remove the “home” from the links with jQuery.
Are you using most of the features of Yoast, or just for this?
If you are going to use Yoast, then I would recommend using their solution.Best regards,
MikeHi,
@Puntvorming glad we were able to help, we will close this now. Thank you for using Enfold and Merry Christmas and a Happy New Year 🎄
@Guenni007 thank you for this solution, much nicer 👍 Merry Christmas and a Happy New Year 🎄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,
Oh, I understand now, sorry. So we don’t have a specific “login” position, but often people will use the Enfold Theme Options > Header > Extra Elements > Phone Number or small info text area, this is an area above the header.
For in the header, often people will create a menu item called “login”, this method also adds the item to the mobile menu, which is popular.
Since you had asked about placing it next to the social icons, I explained the “social icons” method above.
Do you have a specific location in mind?Best regards,
MikeHi,
Glad to hear this is sorted out now, we will close this now. Sorry again about the delay and 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,
MikeDecember 23, 2020 at 2:15 pm in reply to: Problem, after activating the Enfold: Creating default object…Layerslider.php #1269536Hi,
@sitibus thank you for posting your admin login, although since this is not your thread the original author can also see the login. I recommend removing this user and starting a new thread. I do not see the Enfold theme installed on your site, and deactivated.
Please install, but don’t activate.
If activating the theme crashes the site we will also need ftp access to correct after the crash, please include it in the Private Content area of your new thread.
I also see that this is a built site with another theme and many plugins, is this a live site, do you have a test site?
I’m not sure how your current plugins will behave with Enfold, I recommend deactivating all plugins before activating the theme, did you try this?Best regards,
MikeHi,
Thank you I found that the login token is now working so I checked your site and disabled your Enfold Theme Options > Performance > JS & CSS file merging and compression and enabled your Enfold Theme Options > Performance > Delete old CSS and JS files, and this seems to have solved the issue, please clear your browser cache and check.Best regards,
MikeHi,
Perhaps I’m not understanding correctly, on the linked product page above, you are using variations, for quantity, but every variation is the same price? Is this intentional? I also notice that changing the quantity buttons next to the checkout button doesn’t change the displayed price but it is shown in the checkout.
But once I’m in the checkout the quantity buttons work correctly, so the issue is with the quantity buttons on the product page correct? I would like to try this structure on my localhost, can you export the product and link in the Private Content area?
What do you mean by “The programmer from the affiliate program” is this an add-on plugin?Best regards,
MikeDecember 23, 2020 at 12:28 pm in reply to: shifting the title and subtitle in the slideshow ( responsive design) #1269521Hi,
Thank you for the feedback, I found the “over 40” section near the bottom on mobile, so the words “Modeling Shoots” are in a span together, so it would be hard to break the words, but we can change the “display” to “block” which will put this in a new line under “over 40” and centered.
Please see the screenshot in the Private Content area.
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) { #av-layout-grid-2 > div.flex_cell.avia-builder-el-last > div > div > strong > span:nth-child(3) { display: block !important; } }After applying the css, please clear your browser cache and check.
Best regards,
MikeHi,
If you want to modify the theme files, I believe you would need to edit:\wp-content\themes\enfold\includes\helper-main-menu.phpwhich would be more contemplated.
Can I ask why you would want to modify the theme files versus using a built-in object, such as the social icons?Best regards,
MikeHi,
Glad to hear this hepled.
In the theme styling, the “bold” tag and the “strong” tags are set to different colors, generally, the “bold” tag is the legacy of “strong” but apparently now it is also considered for seo
While the css solution above will adjust the color, perhaps you should manually correct the tags?Best regards,
MikeHi,
@Guenni007 thank you for pointing out this solution, and the jQuery Migrate issue.
@Alexander2021 thanks for posting a login token by it didn’t work for me. Anyways, I see this error in the browser console:
Uncaught SyntaxError: Unexpected token '!' >> siteground-optimizer-combined-js-cb7bf8c77e4408bb1dc8aa56163b4b79.js:77
Please disable all caching and check again, but you may also want to try the jQuery Migrate solution @Guenni007 linked to above.
I’m glad to hear that you liked the solution I posted, but you may find @Guenni007’s solution better because you can easily wrap any text with the shortcode to hide based on language,[polylang lang="en"]...[/polylang], just a suggestion.Best regards,
Mike -
AuthorPosts
