Forum Replies Created
-
AuthorPosts
-
Hi,
Thanks for your patience and the link to your site please try this css instead:.av-layout-grid-container .av-gridrow-cell:hover { background-blend-mode: multiply; background-color: green; }After applying the css, please clear your browser cache and check.
Best regards,
MikeDecember 18, 2022 at 5:37 pm in reply to: CSS for a form in WPForms doesn't style markup correctly #1376602Hey John,
Thanks for your patience and the link to your site, I tested the HTML and CSS from the article that you posted in the code block on your test page and it worked correctly, so please use this instead of the WPForm shortcode that you had there. I’m not sure why the WPForm shortcode didn’t work correctly but the HTML and CSS from the article does.
For future readers this is the working HTML and CSS in a code block element:<style> /* legal list styles */ #legal-list { counter-reset: section; } #legal-list h2:before { counter-increment: section; content: counter(section) ". "; margin: 0 0.5em 0 0; } #legal-list ol { counter-reset: clause; list-style: none outside none; text-indent: -2em; } #legal-list ol li { counter-increment: clause; } #legal-list ol li:before { content: counter(section) "." counters(clause, ".") ". "; margin: 0 0.5em 0 0; } </style> <div id="legal-list"> <h1>Sample of Legal List Numbering using CSS</h1> <h2>Section One</h2> <ol> <li>Clause One</li> <li>Clause Two <ol> <li>Clause Two sub One</li> <li>Clause Two sub Two</li> <li>Clause Two sub Three</li> </ol> </li> <li>Clause Three</li> </ol> <h2>Section Two</h2> <ol> <li>Clause One</li> <li>Clause Two</li> <li>Clause Three <ol> <li>Clause Three sub One <ol> <li>Clause Three sub One sub One </li> <li>Clause Three sub One sub Two</li> <li>Clause Three sub One sub Three</li> </ol> </li> <li>Clause Three sub Two</li> <li>Clause Three sub Three</li> </ol> </li> </ol> </div>Best regards,
MikeHi,
Thanks for your question, there was no official plugin for adding the Related Posts Element to Advanced Layout Builder pages, it was something I created years ago that didn’t work correctly.
You can use this function if you wish, I have tested it and it is working in 2022
Add this code to the end of your child theme functions.php file in Appearance ▸ Editor:function related_posts_shortcode( $attr ) { ob_start(); get_template_part( 'includes/related-posts' ); return ob_get_clean(); } add_shortcode( 'rpost', 'related_posts_shortcode' );then in a code block element use this shortcode:
[rpost]
For the element to work you must add tags to your post that other posts also use, this is how the element picks which posts to show.Best regards,
MikeHey Bettina,
Thank you for your patience and the link to your site, this kind of renaming is not typical in WordPress, the login you posted didn’t work so I tested on my demo site and was not able to reproduce this.
Please Try disabling your plugins. If that resolves the issue, reactivate each one individually until you find the cause.Best regards,
MikeHey rmatus,
Thanks for your patience and the link to your site, I found your custom css for the transparent mobile header was causing the issue, I adjusted to this:@media only screen and (max-width: 1200px) { #top #wrap_all .av_header_transparency, .av_header_transparency #advanced_menu_toggle {transparent; } .responsive #top #wrap_all #header.av_header_transparency { position: absolute!important; } .html_mobile_menu_tablet #top #wrap_all .av_header_transparency {background-color: transparent;} }You logo was also misalinded so I adjusted with this:
@media only screen and (min-width: 405px) and (max-width: 767px) { .logo a img { left: 50%; top: 55%; transform: translate(-50%,0%); } }please clear your browser cache and check
Best regards,
MikeHey tonyiatridis,
Thanks for the link to your page, as I read your post I see that you say about the hot topics: ideally I want them to disappear when on page 2 and so on
so the solution is to hide the Hot Topics section when pagination is used.
Try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:function hide_section_when_paging() { ?> <script> (function($){ if (window.location.href.indexOf("avia-element-paging") > -1) { $("#top.home #topics").css({ 'display': 'none' }); } else {} })(jQuery); </script> <?php } add_action('wp_footer', 'hide_section_when_paging');Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
Best regards,
MikeHi,
Glad to hear that you have this 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,
MikeDecember 17, 2022 at 5:08 pm in reply to: Website crashing when I activate Enfold Version 5.2.1. #1376484December 17, 2022 at 4:55 pm in reply to: Google Maps JavaScript API warning retired-version #1376483Hey Jaro,
I have reported this to the Dev Team and they will probably update in the future, if they have any specific comments I will report here.
Thank you for your patience and for using Enfold.Best regards,
MikeDecember 17, 2022 at 4:41 pm in reply to: Legacy javascript Array.isArray and plugin-transform-classes on mobile #1376480Hi,
Please see this StackOverflow thread it seems this is a known limitation since 2016 that jQuery can’t add support to passive listeners.
I tested the solution it recommends:jQuery.event.special.touchstart = { setup: function( _, ns, handle ) { this.addEventListener("touchstart", handle, { passive: !ns.includes("noPreventDefault") }); } }; jQuery.event.special.touchmove = { setup: function( _, ns, handle ) { this.addEventListener("touchmove", handle, { passive: !ns.includes("noPreventDefault") }); } }; jQuery.event.special.wheel = { setup: function( _, ns, handle ){ this.addEventListener("wheel", handle, { passive: true }); } }; jQuery.event.special.mousewheel = { setup: function( _, ns, handle ){ this.addEventListener("mousewheel", handle, { passive: true }); } };as a WPCode Code Snippet:

and it passed the Pagespeed report:

Please give this a try.Best regards,
MikeHi,
Glad to hear that you have this sorted out, both sites look alike to me.
Unless there is anything else we can assist with on this issue, shall we close this then?Best regards,
MikeHi,
You will need to log in to your Theme Forest account in order to create a Token it can not be created if you can not log into your Theme Forest account.
You can also download the latest version of the theme from your Theme Forest account without creating a Token.
If you have forgotten your Theme Forest login Theme Forest can help you create a new password and login.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,
This is because you are using a boxed layout, the space on the right and left is the background of the page.
Try this css:#top #main .container_wrap_first.sidebar_right { background: linear-gradient( to right, #ffffff 0%, #ffffff 50%, #F1F7F8 50%, #F1F7F8 100% ); } #top #main main { background: #fff; }After applying the css, please clear your browser cache and check.
Best regards,
MikeDecember 16, 2022 at 1:26 pm in reply to: enfold saving didnt work! please reload the page and try again! #1376405Hi,
Ok, 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,
Try deactivating the Enfold Theme Options ▸ Performance ▸ JS & CSS file merging and compression and activating Enfold Theme Options ▸ Performance ▸ Delete old CSS and JS files and the clearing your browser and any plugin cache.
If you continue to have trouble, please create a new staging copy of your main site with no child theme and post the admin login in the Private Content area so we can add the child theme and import the theme settings to see why it is not working as expected.Best regards,
MikeHi,
Try deactivating the Enfold Theme Options ▸ Performance ▸ JS & CSS file merging and compression and activating Enfold Theme Options ▸ Performance ▸ Delete old CSS and JS files and the clearing your browser and any plugin cache.
If you continue to have trouble, please create a new staging copy of your main site with no child theme and post the admin login in the Private Content area so we can add the child theme and import the theme settings to see why it is not working as expected.Best regards,
MikeHi,
Read about using a Child Theme, when you install the child theme and go to the theme import / export options it will ask you if you want to import the parent theme settings, then all settings and customizations will be added to the child theme.
If this is for a live site and you are worried about the outcome, try first creating a staging site to test on, most cPanel webhosts have a staging site option, some in the dashboard:

Others add the option in the Softaculous WordPress Management

There may be other staging site options in different cPanel servers, these are the two that I have seen.Best regards,
MikeHi,
PHP 7.4 is the minimum version for WordPress, the error message above is pointing to the plugin all-in-one-wp-migration receiving an error with PHP 7.3
There is a good chance that other plugins won’t support PHP 7.3.
You may need to run the website that requires PHP 7.3 on a host by its self.Best regards,
MikeHi,
Glad to hear that you have this 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,
Correct you will need to use a child theme, your PHP mod looks good.
Unless there is anything else we can assist with on this issue, shall we close this then?Best regards,
MikeHi,
To add dashes befor and after your subtext try changing this line in your code:
$subtext = "<span class='subtext'>$subtext</span>";
to this:
$subtext = "<span class='subtext'>-" + $subtext + "-</span>";Best regards,
MikeHi,
Please try this css to change the size of the date:#top #wrap_all .all_colors h2.av-milestone-date { font-size: 23px; }adjust the number to suit.
After applying the css, please clear your browser cache and check.Best regards,
MikeHi,
You will want to use a child theme otherwise the modification will be lost with each update.Best regards,
MikeHi,
hgschaffler Please open a new thread since this is not your thread posting your login here will not be private and you will not see anything we write in the Private Content area. It gets confusing when we are working on more than one site per thread. Thanks for understanding.Best regards,
Mike -
AuthorPosts








