Forum Replies Created
-
AuthorPosts
-
Hi,
The .header_scrolled class is added when the Enfold Theme Options ▸ Header ▸ Header behavior ▸ Shrinking Header option is enabled.
The script above is missing });, the corrected script looks like this:function add_custom_script(){ ?> <script> (function($){ $(window).scroll(function() { var scroll = $(window).scrollTop(); if (scroll >= 50) { $("#header").addClass("header-scrolled"); } else { $("#header").removeClass("header-scrolled"); } }); })(jQuery); </script> <?php } add_action('wp_footer', 'add_custom_script');Best regards,
MikeFebruary 19, 2022 at 3:20 pm in reply to: How to change color of hover-background in Burger-Menu? #1341398Hi,
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,
MikeFebruary 19, 2022 at 2:40 pm in reply to: How to change color of hover-background in Burger-Menu? #1341395Hi,
I tested Yigit’s code above and it corrects the background fade issue and I added a rule to make the menu text color pink on hover, please try this full solution:#top .av_header_transparency .main_menu ul:first-child > li > a:hover, #top .av_header_transparency .main_menu ul:first-child > li > a:focus, #top #wrap_all .av_header_transparency .sub_menu > ul > li > a:hover, #top #wrap_all .av_header_transparency .sub_menu > ul > li > a:focus { opacity: 1; } #top #wrap_all .av-burger-overlay #av-burger-menu-ul li a:hover .avia-menu-text { color:#ff0197; }Please note that when you copy the code do so from the forum not an email as the greater than symbols may paste incorrectly, then clear your browser cache and any cache plugin, and check.
If this doesn’t help please include an admin login in the Private Content area so we can be of more assistance.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,
MikeFebruary 19, 2022 at 2:23 pm in reply to: MAILCHIMP widget freezes when entering a test subscriber #1341392Hi,
Thank you for the link to your site and the screenshot, I see that you are getting a 500 server error from your Mailchimp form, but I’m not sure if it’s from your site or from Mailchimp. I tested Mailchimp on my demo site and it worked correctly, Please include an admin login to your site in the Private Content area, I would like to test further.
But first, try disabling all of your plugins and check to ensure this is not due to a conflict.Best regards,
MikeHi,
Glad to hear that this helped, but I’m not able to make the modifications to the core element as in your screenshot. I can submit a feature request for the Dev Team to consider it for a future update, but for your situation at hand I recommend continuing with the solution using :nth-child selectors to set the images for each tile.Best regards,
MikeFebruary 19, 2022 at 7:10 am in reply to: How to show "No items" if a certain portfolio tag is empty in Masonry Gallery #1341385Hi,
Thank you for your patience and the login, the portfolio tags are listed as classes in the masonry items so to ensure that only the correct tags are shown and if there are none show a message we need to know what tag the masonry is going to show, so you will need to add a custom class to the masonry element for the tag that you want to show.
This will allow us to use one script for your whole site instead of writing a different script or css rule for every page.
So for the test page the tag class you want to show was tag-trellis-ice

the portfolio tag slug for this is trellis-ice so you see that you just add tag- to the beginning, this should explain how to adjust your other pages.
you will add this class to the developer settings custom class field:

as you see, if you already have a custom class there add the second class after a space.
I then added this script to your child theme functions.php:function empty_masonry_message_script() { ?> <script> const allCategoryClasses = []; const elementsWithCategoryClasses = document.querySelectorAll("#av-masonry-1[class*='tag-']"); const elementsCount = elementsWithCategoryClasses.length !== null; for (let i = 0; i < elementsCount; ++i) { Array.prototype.push.apply( allCategoryClasses, elementsWithCategoryClasses[i].classList ); } const presentClasses = {}; var tagClass = (allCategoryClasses .filter((classname) => { const present = presentClasses[classname]; presentClasses[classname] = true; return classname.indexOf("tag-") === 0 && !present; })); (function($) { var nocat = $('<div class="nocat">No Current Projects</div>').css({'text-align':'center','font-size': '20px'}); $('#av-masonry-1 .av-masonry-container.isotope a').each( function() { if ($(this).children(tagClass).length =! 0) { $(this).css({'display':'none'}); } }); if($('#av-masonry-1 .av-masonry-container.isotope a').is(':hidden')){ $(nocat).appendTo('#av-masonry-1'); } })(jQuery); </script> <?php } add_action('wp_footer', 'empty_masonry_message_script');and now a message No Current Projects shows instead of the wrong items:

Try adding the tag classes to other pages that have no matching products to display the message.Best regards,
MikeHi,
Ese formulario se parece al elemento de contacto y cada vez que alguien lo completa, la dirección de correo electrónico agregada en el backend debería recibir un correo electrónico, los registros no se almacenan en ningún lado. ¿Estás recibiendo correos electrónicos de este formulario?
De lo contrario, incluya el inicio de sesión de administrador en el área de contenido privado para que podamos verificarlo.— Translated with Google —
That form looks like the contact element and each time that someone fills it out the email address added in the backend should get an email, the signups are not stored anywhere. Are you receiving emails from this form?
If not please include admin login in the Private Content area so we can check for you.Best regards,
MikeFebruary 18, 2022 at 1:01 pm in reply to: Buttons flipping below each other in responsive view #1341336Hi,
Portrait and landscape mobile widths for a background image would be very different, so you will deed to use different images, to know the widths for your images test your device with this tool: screen resolution, you may need to reload for portrait and landscape.
Then model this css:@media only screen and (max-width: 767px) and (orientation: portrait) { #top .av-siteloader-wrap { background-repeat: no-repeat; background-image: url(https://joakims.art/wp-content/uploads/2022/02/bg-intro-2000px.jpg); background-position: 50% 100%; background-attachment: scroll; background-size: cover; } } @media only screen and (max-width: 767px) and (orientation: landscape) { #top .av-siteloader-wrap { background-repeat: no-repeat; background-image: url(https://joakims.art/wp-content/uploads/2022/02/bg-intro-2000px.jpg); background-position: 50% 100%; background-attachment: scroll; background-size: cover; } } @media only screen and (min-width: 768px) { #top .av-siteloader-wrap { background-repeat: no-repeat; background-image: url(https://joakims.art/wp-content/uploads/2022/02/bg-intro-2000px.jpg); background-position: 50% 100%; background-attachment: scroll; background-size: cover; } }Note the first rule:
(max-width: 767px) and (orientation: portrait)is for portrait mobile.
The second rule:(max-width: 767px) and (orientation: landscape)is for landscape mobile.
The last rule is the same as the last rule before and is for portrait and landscape tablet / desktop.Best regards,
MikeHi,
The above example was for portrait & landscape mobile, try adjusting the font size smaller or larger to suit your needs.
The socket is set to 85% width, if you like you can also change this for mobile with this:@media only screen and (max-width: 767px) { .responsive #top #socket > .container { width: 100%; max-width: 100%; } }this will set the width to 100% to give you more room, try a combination of different widths and font sizes to suit your needs.
If you still have trouble post a screenshot of what you see and what you expect and the width (screen resolution) of the device you are using.Best regards,
MikeHi,
Glad to hear, I tested for the “white strip” on Windows in Chrome, Firefox, & Edge but didn’t see it, what browser and OS are you using?
Can you make a screencast of it?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 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,
MikeFebruary 17, 2022 at 2:23 am in reply to: Corrupted Thumbnails on Enfold Latest News Sidebar Widget #1341012Hi,
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 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 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,
Guenni007, getting the items count on case “All” is above my knowledge so I submitted a feature request to add this option in the Post Slider like it is in the Content Slider and Günter has opened it, this could take a while as the Dev Team has a lot on their plate, but I feel encouraged that in a future update this may be available.
For now, I recommend setting the number of entries as in the screenshot above.Best regards,
MikeHi,
Instead of the above code at line 1059 in postslider.php add this code:protected function slide_navigation_dots() { $args = array( 'total_entries' => $this->atts['items'], 'container_entries' => $this->atts['columns'], 'context' => get_class(), 'params' => $this->atts ); return aviaFrontTemplates::slide_navigation_dots( $args ); }
in the backend Post Slider ▸ Content ▸ Filters ▸ Entry Number you will need to choose the number of entries, such as 6 in this example:

I have submitted a feature request for the Dev Team to review this for a solution to allow the “All” option in Entry Number to work.Best regards,
MikeHi,
Thanks for the link to your site, in your cache plugin file to have this css:@media only screen and (max-width: 767px){ .responsive #scroll-top-link { display: block!important; } }so you either need to clear your cache plugin or you need to remove this from your css stylesheet, try checking your Child Theme Stylesheet, the General Styling ▸ Quick CSS field, and the WordPress ▸ Customize ▸ Additional CSS field
if you don’t see this rule in any of those places, then clear and disable your wp-rocket and your browser cache and check again.
If this doesn’t help please include an admin login in the Private Content area so we can be of more assistance.Best regards,
MikeHi,
Glad Yigit was 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 Yigit was 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 Fberguno,
Please try this code in the General Styling ▸ Quick CSS field or in the WordPress ▸ Customize ▸ Additional CSS field:.avia-slideshow-arrows.avia-slideshow-controls { display: none; }After applying the css, please clear your browser cache and check.
Best regards,
MikeHey Amer Obeidi,
To update your version of Enfold you will need to download the latest 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,
MikeHey markus-fischer,
Thanks for the screenshot and the link, please try this code in the General Styling ▸ Quick CSS field or in the WordPress ▸ Customize ▸ Additional CSS field:@media only screen and (min-width: 768px) and (max-width: 1117px) { #top.home #av_section_2 .avia-builder-el-22 { bottom: 0px; position: absolute; right: 0; } }After applying the css, please clear your browser cache and check.
Best regards,
MikeHi,
You are getting the jQuery is not defined error, do you have the Enfold Theme Options ▸ Performance ▸ Load jQuery in your footer option enabled?
Try this script instead:function custom_top_banner() { ?> <script> window.addEventListener('DOMContentLoaded', function() { (function($){ $( "<div id='banner'>This is a banner</div>" ).insertBefore( "#header_meta" ); })(jQuery); }); </script> <?php } add_action('wp_footer', 'custom_top_banner');but use the same css from above.
Best regards,
MikeHi,
For v4.8.9.1 please follow these steps, ensure your child theme includes this function in your functions.php to override the shortcode elements:function avia_include_shortcode_template( $paths ) { if( ! is_array( $paths ) ) { $paths = array(); } $template_url = get_stylesheet_directory(); array_unshift( $paths, $template_url . '/shortcodes/' ); return $paths; } add_filter( 'avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1 );Then copy the parent theme postslider directory to your child theme /shortcodes/ directory, so the full directory path will be:
/wp-content/themes/enfold-child/shortcodes/postslider/postslider.php
Then on line 1059 in postslider.php add this code:protected function slide_navigation_dots() { $html = ''; $html .= "<div class='avia-slideshow-dots avia-slideshow-controls'>"; $active = 'active'; $entry_count = $this->atts['items']; $slidenumber = $entry_count / (int) $this->atts['columns']; $slidenumber = $entry_count % (int) $this->atts['columns'] ? ( (int) $slidenumber + 1) : (int) $slidenumber; for( $i = 1; $i <= $slidenumber; $i++ ) { $html .= "<a href='#{$i}' class='goto-slide {$active}' >{$i}</a>"; $active = ''; } $html .= '</div>'; return $html; }
then on line 1014 replace$output .= $this->slide_navigation_arrows();with
$output .= $this->slide_navigation_dots(); //$output .= $this->slide_navigation_arrows();

then add this css to your Quick CSS:#top .avia-content-slider { overflow: visible; } #top .avia-content-slider .avia-slideshow-controls { bottom: -30px; } .avia-slideshow-dots a.active, .avia-slideshow-dots a:hover { opacity: 0.8; filter: alpha(opacity=80); background: #000; }Best regards,
MikeHi,
Strange, something seems to be wrong with how your elements behave on the backend, how did you update, did you overwrite the theme directory via FTP?
This could cause an error because it could leave some older files in place.
Try uploading 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,
MikeFebruary 15, 2022 at 12:13 am in reply to: Search page possibly creating outgoing internal links contain nofollow attribute #1340607 -
AuthorPosts

