Forum Replies Created
-
AuthorPosts
-
July 6, 2024 at 6:55 pm in reply to: Use custom post type to enable layout editor on category pages #1461493
Hi,
Unfortunately I have not found any working solutions for this, but if you would like to request this 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.Best regards,
MikeHi,
Thank you for your patience, yry adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:function center_the_contact_form_ajax_response_after_the_submit_button_is_clicked() { ?> <script> document.addEventListener('DOMContentLoaded', function () { var buttons = document.querySelectorAll(".button.av-verify-recaptcha-0.av-recaptcha-submit"); buttons.forEach(function(button) { button.addEventListener("click", function(event) { setTimeout(function() { var resultElement = document.getElementById("result_ajax_response_1"); if (resultElement) { resultElement.style.display = 'block'; var elementRect = resultElement.getBoundingClientRect(); var absoluteElementTop = elementRect.top + window.pageYOffset; var middle = absoluteElementTop - (window.innerHeight / 2); window.scrollTo({ top: middle, behavior: 'smooth' }); } }, 7000); }); }); }); </script> <?php } add_action( 'wp_footer', 'center_the_contact_form_ajax_response_after_the_submit_button_is_clicked', 99 );
This will center the contact form ajax response after the submit button is clicked, in my tests the time can be between 5 – 7 seconds while the recaptcha checks before the ajax response is shown. Some of this could be because I’m in a different country, so give this a try and adjust the 7000 at the end of the script to 5000 or 6000 to see what works best for you.
Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.Best regards,
MikeHi,
It looks like you removed the transparent header from the homepage, so now when you scroll down the header is is transparent and doesn’t become solid white, are you sure this is what you want?
Earlier the homepage used the transparent header so when you scrolled the header become solid white, I recommend going back to this and then make your other page the same.
I don’t understand the why you would add the custom classes.Best regards,
MikeHey leloux,
Thank you for your patience, but I didn’t find a way to achieve this, since this menu structure is not a option in the theme it will more involved.
If you would like to request this feature the Dev Team has opened a new Github Feature Request for users to place requests like this and follow them as the Dev Team reviews them.Best regards,
MikeHi,
Please try disabling the Enfold Theme Options ▸ Performance ▸ JS & CSS file merging and compression and any caching plugin that you may be using, then clear your cache a few times and check, If this doesn’t help keep these disabled and include a admin login in the Private Content area so we can examine.
This seems to only occur in Safari, I also checked with Mac Chrome, Firefox & Windows in Chrome, Firefox, & Edge in which the font error doesn’t occur.
It looks like the css rules are missing the closing semicolons which many caching plugins will remove and most browsers will self correct, but is this case it looks like Safari is having trouble.Best regards,
MikeHi,
Glad Günter and Guenni007 could help you sort this out, thank you Guenni007, 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,
It looks like you are using different layouts for the pages, your homepage has a transparent header, but the other page doesn’t. Please use the same layout for both so they will behave the same. When the transparent header is used the header changes on scroll, your other page will not have this.Best regards,
MikeJuly 6, 2024 at 2:24 pm in reply to: Add google font to enfold and still being DSGVO compatibel #1461481Hi,
Glad Guenni007 could help, thank you Guenni007, shall we close this thread then?Best regards,
MikeHi,
Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:#header .inner-container { border-bottom: 1px solid #000; } #header_main .inner-container { height: 70%; } #header_main nav.main_menu { bottom: 0; } #main .container_wrap_first .av-special-heading { margin-top: 0; }
Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
After applying the css, please clear your browser cache and check.
Please see the screenshot in the Private Content area of the expected results.Best regards,
MikeJuly 6, 2024 at 1:54 pm in reply to: how to use avf_dynamic_css_additional_vars and avf_dynamic_css_after_vars #1461479Hi,
It looks like Günter has answered your question, thank you Günter, shall we close this thread then?Best regards,
MikeHey Roel,
Thanks for your question, but I’m not able to reproduce this on my demo site, please try disabling all of your plugins and any custom files such as a custom header.php or footer.php in your child theme, or any customized elements that you have created. If you still find the error please explain how we can reproduce this in a new support thread, because using the contact form is not appropriate for support questions, please log in to the support forum and open a new thread.
If you are unable to login to the support forum because you don’t have a activate support contract, please try going to your Theme Forest account and renew your support and then log in to the support forum and open a new thread.Best regards,
MikeJuly 6, 2024 at 11:58 am in reply to: Remove bottom space from colum and place text right to image / how to reduce spa #1461476Hi,
Glad Guenni007 could help, thank you Guenni007, shall we close this thread then?Best regards,
MikeHi,
Ok, then just copy the functions.php file and update it after you update the theme each time, in some cases the order of the scripts can make a difference, so perhaps this is why Ismael moved it.
To me it seems like extra work to copy the file each time you update, if you used the WP Code plugin you would not need to do this, perhaps you will give this a try. If not then just copy the functions.php file and update it after you update the theme each time.Best regards,
MikeJuly 4, 2024 at 12:23 pm in reply to: Centre and Increase Size of Header Phone Number/Extra Info #1461316Hi,
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,
MikeJuly 4, 2024 at 12:07 am in reply to: Centre and Increase Size of Header Phone Number/Extra Info #1461269Hey ballindigital,
Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:#header_meta.av_extra_header_active > .container { display: flex; justify-content: center; } .phone-info { font-size: 14px; }
Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
After applying the css, please clear your browser cache and check.Best regards,
MikeHi,
Ismael made the last change, so he must have felt this was a better location.
I notice that you are not using a Child Theme, I recommend using one and add all of your customizations to it, otherwise you will lose them the next time that you update the theme.
If you do not want to use 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:
and ensure that it is activated, then add your customizations.Best regards,
MikeHi,
The Classic Editor function is in the theme at Enfold Theme Options ▸ Select Your Editor ▸ Use WP Classic Editor I disabled it to ensure there was not a conflict. If you want to use the plugin feel free to enable it again.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,
MikeHey lauragrashoff,
Thank you for the link to your site, try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field and adjust the font sizes to suit:#top.single-post #wrap_all #main .container_wrap_first h1 { font-size: 60px; } #top.single-post #wrap_all #main .container_wrap_first h2 { font-size: 30px; } #top.single-post #wrap_all #main .container_wrap_first p { font-size: 20px; }
After applying the css, please clear your browser cache and check.
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,
Glad Guenni007 could help, thank you Guenni007, 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,
MikeJuly 3, 2024 at 9:02 pm in reply to: Use custom post type to enable layout editor on category pages #1461249Hi,
Unfortunately, you can’t use the advance layout builder when designing category pages.Best regards,
MikeHi,
I have not seen an option in the LayerSlider to do this, I would be happy to take a look at your settings, but the LayerSlider support would know more.Best regards,
MikeHi,
Glad that this helped, your css rule remove-space should not cause any issues.Best regards,
MikeJuly 2, 2024 at 10:51 pm in reply to: Change background for specific pages and center the text #1461126July 2, 2024 at 10:41 pm in reply to: Remove bottom space from colum and place text right to image / how to reduce spa #1461123Hi,
Glad Guenni007 could help, thank you Guenni007, shall we close this thread then?Best regards,
MikeHi,
Thank you for the link to your site, when I check on mobile the space doesn’t seen as much as in your screenshot:
But to make it less try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:@media only screen and (max-width: 767px) { #top.home .avia-builder-el-8 { margin-bottom: 0px !important; } #top.home .avia-builder-el-11 { margin-bottom: 0px !important; } }
After applying the css, please clear your browser cache and check.
This is the expected results:
Best regards,
MikeHey C,
Thanks for your question, there is no further charge, it is only once.Best regards,
MikeJuly 2, 2024 at 9:06 pm in reply to: Change background for specific pages and center the text #1461112Hey Jak73,
Thank you for the link to your site & the screenshot, when I check your page the text is centered, but I believe that you are asking to reduce the content width.
Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:@media only screen and (min-width: 767px) { .responsive #top.page-id-777 .main_color.container_wrap_first > .container { max-width: 950px; } .responsive #top.page-id-777 .main_color.container_wrap_first { background-color: #eee; } }
and adjust to suit, this is the expected results
Best regards,
Mike -
AuthorPosts