Forum Replies Created
-
AuthorPosts
-
February 4, 2023 at 11:26 pm in reply to: Home IDX photos won’t show up because of Enfold theme #1396693
Hey bemodesign,
Try this css:.dsidx-xlistings-list.dsidx-xlistings-large .dsidx-photo { max-height: 318px; max-width: 392px; position: relative; }
After applying the css, please clear your browser cache and check.
For some reason, the height of the images was zero, but defining the height in the plugin css rule seems to correct.Best regards,
MikeHi,
Thanks for your question, try using the blog element showing 3 items in a grid only for the category featured, then apply this category to the 3 items you want to show.Best regards,
MikeHi,
Try this css:#top .social_bookmarks_facebook a:before { color: blue; } #top .social_bookmarks_facebook:hover a:before { color: white; } #top .social_bookmarks_instagram a:before { color: #a67658; } #top .social_bookmarks_instagram:hover a:before { color: white; } #top .social_bookmarks_linkedin a:before { color: #419cca; } #top .social_bookmarks_linkedin:hover a:before { color: white; }
before scroll it looks like this:
and on hover it looks like this:
but since on scroll your header is black I don’t know what color you want for not on hover:
on scroll and hover looks good:
Best regards,
MikeHey Vera,
Thanks for the link to your page, it looks like you have this custom css:.container { max-width: 90% !important; }
which is making the header container smaller, the header container is set to 96% which lines up your logo and burger menu with the arrows:
.html_header_top #top .av_header_stretch .container { width: 96%; padding: 0; max-width: 100%; }
Try changing your .container to something more specific like this:
#av-tab-section-1 .container { max-width: 90% !important; }
Best regards,
MikeHi,
Sorry we were not able to help with this one, 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,
Thanks for your patience, but I checked the two links above with Chrome Dev Tools and my Android device and the white background color for the .formatfam text shows on my mobile device, perhaps you have sorted this out already?Best regards,
MikeHi,
I see you have some custom shortcode elements in your child theme, when I switch to your parent theme this error doesn’t seem to occur, I also tested on my demo site and can not reproduce this so I believe that it is related to your custom shortcode elements in your child theme.Best regards,
MikeHi,
Thanks for your patience, Try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:function custom_script() { ?> <script> (function($){ var currentURL = document.URL; $('#avia-menu').each(function(){ $(this).find('.current-menu-item a').attr('href',''); setTimeout(function() { $(this).find('.current-menu-item a').attr('href',currentURL); }, 50); }); })(jQuery); </script> <?php } add_action('wp_footer', 'custom_script');
This gets the current URL and then removes the href attribute from the current menu item for the page and then adds the current URL that it got on the page load.
It may look like the current menu item is missing the URL in the source code, but if you hover over the menu item or click it you will see that it still works, I don’t know why it’s not showing in the source code but it seems to be working.Best regards,
MikeFebruary 4, 2023 at 7:27 pm in reply to: Delay in visualizing image positioned absolute over Fullscreen Slider #1396675Hi,
Thank you for your patience, I examined your page carefully and tried everything I could think of and was not able to see a cause or a solution.
Can you disable all of the plugins on the test site to remove that possibility, and then reply back, perhaps Ismael will see something I missed after the weekend.
Thank you for your patience.Best regards,
MikeHi,
Thanks for the login, the code I post was converted by our site, it needed to use"
instead of"
I corrected your site and will adjust the code above for future readers.
Please clear your browser cache and check.Best regards,
MikeHi,
Your script is not going to work because the mobile item is not present until the burger menu is clicked, so when the page loads and the script runs the #top #av-burger-menu-ul .menu-item-21615 is not found.
CSS works because the rule is always available not just on page load, using the CSS solution for this simple rule is the best option but if you really want a script to do it instead try this one:function custom_script() { ?> <script> window.addEventListener('DOMContentLoaded', function() { (function($){ $('#menu-item-21615').css({'display':'none'}); $('.avia_mobile').on('click', '.av-burger-menu-main', function() { $('#top #av-burger-menu-ul .menu-item-21615').css({'display':'none'}); }); }(jQuery)); }); </script> <?php } add_action('wp_footer', 'custom_script');
Best regards,
MikeHi,
Try this css:@media only screen and (max-width: 767px) { #top #team .av-large-testimonial-slider .avia-slideshow-arrows a { top: 88px; } }
Best regards,
MikeHi,
Thanks for your feedback and the screenshots, the http:// in the page code that I see in the screenshots are for empty links,
Typically the default http:// or https:// is based on your WordPress install, I would check your
WordPress ▸ Settings ▸ General ▸ Site Address
and
WordPress ▸ Settings ▸ General ▸ WordPress Address
to ensure your site is using https://
I tested on my demo site which is https:// and all default links are also https://
Your third screenshot for http://www.w3.org/2000/svg is an XML namespace defined in the Scalable Vector Graphics (SVG), these do not interfere with https:// as it is incorrect to use https in the namespace values. Those values are defined namespace constants. They are not real URLs. (source)
I also see this is a Block element and not a theme element.Best regards,
MikeHi,
Please include an admin login in the Private Content area so I can examine.Best regards,
MikeFebruary 4, 2023 at 4:15 pm in reply to: Can’t show animated SVG even though I have a svg plugin #1396660Hi,
Guenni007 thanks for your input, your css worked good for my demo site:#top #main img[src*=".svg"], #top #main svg { width: 1000px; }
But the
AddType image/svg+xml .svg .svgz
in my htaccess file didn’t help.
I found this article on how to test your site for Support of SVG as img and added the test to my site and it returned true and it showed the test SVG without add your css for width.
So it seems my site is supporting SVG as a img without the htaccess code.
For some reason the animated SVG that Monika linked to needed a width set with css to show on my site, perhaps this was by design, but since it was linked in the Private Content area I don’t think I should share publicly so you can also test, perhaps Monika will post publicly, but it seems the main issue was the animation was not working, hopefully the steps I posted above will help.
Thanks again Guenni007Best regards,
MikeHi,
Thanks for your patience, try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:function search_for_mobile_sidebar_header() { ?> <script> window.addEventListener('DOMContentLoaded', function() { (function($){ var width = $(window).width(); var search = $('<li id="menu-item-search" class="mobile-search menu-item menu-item-search-dropdown menu-item-avia-special" role="menuitem"><a aria-label="Search" href="?s=" rel="nofollow" data-avia-search-tooltip="<form role="search" action="https://your-domain.com/" id="searchform" method="get" class=""><div><input type="submit" value="" id="searchsubmit" class="button avia-font-entypo-fontello" /><input type="text" id="s" name="s" value="" /></div></form>" aria-hidden="false" data-av_icon="" data-av_iconfont="entypo-fontello" style=""><span class="avia_hidden_link_text">Search</span></a></li>'); if (width <= 767) { $(search).insertBefore('.main_menu'); } else {} })(jQuery); }); </script> <?php } add_action('wp_footer', 'search_for_mobile_sidebar_header');
Then add this css to your child theme stylesheet or the theme option Quick CSS:
@media only screen and (max-width: 767px) { .responsive #top #wrap_all #menu-item-search.mobile-search { top: 0; height: 80px; right: 50px; display: inline-block; position: absolute; } }
Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
Please see the screenshot in the Private Content area of the expected results.Best regards,
Mike-
This reply was modified 2 years, 5 months ago by
Mike. Reason: corrected quotes in code
Hey Sabine,
Thanks for your patience, when I check your site between 1024px – 768px before the 3 columns become single columns the text for most of the columns is too much pushing some of the buttons into the lower image. True one column has extra space above the lower image but the text is less and the columns are equal height, I assume this is important.
I recommend changing the brake into a single column earlier around 1024px to correct.
Try this css:@media only screen and (max-width: 1024px){ .responsive #top #wrap_all #angebot .flex_column.av_one_third { margin: 0; margin-bottom: 20px; width: 100%; } .responsive #top #wrap_all #angebot .flex_column_table_cell { float: none; display: table-row; } }
For 768px the height is still a lot, try adding the lower image as a image block and add a background color to the column, instead of adding the large image as a background image for the whole column, this way the lower image will stay under the button.
Best regards,
MikeHi,
Sorry for the late reply and Thanks for your patience, your first error, the white space under your slider is caused by the Smush plugin LazyLoad option, you can Exclude it from your homepage:
I did this for you, Smush is aware of this issue, we can not correct this behavior from the theme.
This seems to have also corrected your second issue.
To correct your third issue I disabled the Smush LazyLoad option completely.
For your fourth issue I tested your site on webpagetest.org, the test is linked below, since your site is in Canada I tested at that location and your site has a First Byte of 6s, this is due to the server, normally you should only see about 300ms
you also have a custom font re.woff2 that is giving a 404 and adding 7s to your page load, try removing this custom font and check again.Best regards,
MikeHi,
This is very strange, from your error log above the /index.php file can’t be found:[Mon Jan 30 17:54:33 2023] [error] [client 78.60.200.13:39562] script ‘/home/www/Folktreff_KN/index.php’ not found or unable to stat [Mon Jan 30 17:54:34 2023] [error] [client 78.60.200.13:39574] AH01276: Cannot serve directory /home/www/Folktreff_KN/: No matching DirectoryIndex (index.html,index.cgi,index.php,index.php5,default.html,default.htm,index.htm,index.shtml,index.wml,index.html,index.htm,index.php) found, and server-generated directory index forbidden by Options directive
but via FTP we see the /index.php file I don’t know why your server is giving this error.
Your webhost provider didn’t see this error?Best regards,
MikeFebruary 4, 2023 at 12:34 am in reply to: Need Help Creating A Custom Site Template (NOT Page Template) #1396620Hi,
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,
MikeFebruary 4, 2023 at 12:32 am in reply to: [WooCommerce] Product import + Advanced Layout Builder #1396619Hey tixxpff,
Sorry for the late reply and thank you for your patience, but unfortunately there is not a way to do this by only importing a CSV file.
After importing your products you will need to switch each product page to use the Advanced Layout Builder and then apply the ALB elements to the page.
You could Enable the Avia Layout Builder Debugger and copy your ALB shortcode from your first product page and apply it to your other pages so you won’t need to manually add the elements.Best regards,
MikeFebruary 3, 2023 at 11:59 pm in reply to: Align Text in Icon List centered vertically with Icon #1396616Hi,
Based on Guenni007‘s css, to apply it only to your /about/ page add the page ID to the css like this:#top.page-id-92 .avia-icon-list .iconlist_content_wrap { padding: 0 } #top.page-id-92 ul.avia-icon-list li { display: flex; align-items: center; flex-direction: row; padding: 0; margin-bottom: 50px; } #top.page-id-92 ul.avia-icon-list li article { min-height: 45px; flex: 1 1 80%; } #top.page-id-92 ul.avia-icon-list li article .av_iconlist_title { margin: 0 !important; top: 0 }
After applying the css, please clear your browser cache and check.
Thanks Guenni007Best regards,
MikeFebruary 3, 2023 at 11:51 pm in reply to: Can’t show animated SVG even though I have a svg plugin #1396615Hey Monika,
Thanks for the link to your SVG, below I linked to my test page where the animation is working.
I installed the SVG Support plugin and enabled the Advanced Mode ▸ Force Inline SVG
Then I had to set the height and width for the SVG that I placed in an image elegant, I guess you won’t need to do that as you are already seeing the image..wp-image-3772.avia_image { height: 100%; width: 100%; }
And now the image is animating for me, hopefully this helps.
Best regards,
MikeFebruary 3, 2023 at 11:27 pm in reply to: Place full width slider image between logo and horizontal nav bar #1396613Hey GWS,
Is this image going to be for every page or just the homepage?
Assuming it is just for the homepage I would recommend moving the current slider with jQuery so in the future you can easily change the image in the current slider and not change the script.
Try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:function move_slider_before_menu() { ?> <script> window.addEventListener('DOMContentLoaded', function() { (function($) { $('#top.home #full_slider_1').detach().insertBefore('#header_main_alternate'); })(jQuery); }); </script> <?php } add_action('wp_footer', 'move_slider_before_menu');
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,
To replace the burger menu parent cloned menu item text to a different text try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:function replace_burger_menu_parent_cloned_menu_item_text() { ?> <script> window.addEventListener('DOMContentLoaded', function() { (function($){ $('.avia_mobile').on('click', '.av-burger-menu-main', function() { $('.menu-item-2339 .avia-menu-text:first').text(function(index, text) { return text.replace('Gezichtsbehandelingen', 'Overview All Facial Treatments'); }); }); }(jQuery)); }); </script> <?php } add_action('wp_footer', 'replace_burger_menu_parent_cloned_menu_item_text');
Please change the text: Overview All Facial Treatments to the text you wich to use.
Best regards,
MikeHi,
I see that you have this custom css:@media only screen and (max-width: 767px){ .myslider { margin-left: -40px; margin-right: -25px; margin-top: 25px; margin-bottom: 0.5px; } }
To center the items please change it to this:
@media only screen and (max-width: 767px){ .myslider { margin-top: 25px; margin-bottom: 0.5px; } }
and then add this css:
@media only screen and (max-width: 767px) { .responsive #top #team .av-large-testimonial-slider.avia-testimonial-wrapper .avia-testimonial { padding: 0; font-size: 0.85em; display: flex; justify-content: center; } }
Then to show the arrows remove your custom css:
.avia-slideshow-arrows.avia-slideshow-controls { opacity: 0; } .avia-slideshow-arrows { display: none !important; }
Then add this css:
#top #team .avia-slider-testimonials.av-slideshow-ui .avia-slideshow-arrows a { opacity: 1; }
Please see the screenshot in the Private Content area of my test results.
Best regards,
MikeHi,
Try adding this css:#top #team .avia-slider-testimonials.avia-testimonial-wrapper { overflow: visible; }
BTW, I couldn’t see your not-active dots because they are white, you might want to use an off-white so they will show like this:
.avia-slideshow-dots a.goto-slide { background: #ccc; }
Please see the screenshot in the Private Content area for the results I received
After applying the css, please clear your browser cache and check.Best regards,
MikeFebruary 2, 2023 at 5:48 pm in reply to: Background images and CSS on pages are not loading since last update #1396430Hi,
Thank you for your patience, when I check your example page in the back end I don’t see any background colors or background images set in the color sections on the page.
As I understood your posts above I thought you had background colors and images set in the color sections that were not showing on the frontend, am I understanding this correctly?
/wp-content/uploads/avia_posts_css was used prior to 5.3 and was only kept for cache backward compatibility, it is no longer used.
Saving the Theme Setting after the update should have copied the css files to /wp-content/uploads/dynamic_avia/avia_posts_css after the update, but it would not change the element settings and when the Enfold Theme Options ▸ Performance ▸ JS & CSS file merging and compression is disabled those css files would not be called and the element settings would take over.
I see your Enfold Theme Options ▸ Performance ▸ JS & CSS file merging and compression is disabled now.
Can you identify which elements on that page don’t show the expected background colors or background images, perhaps I missed it.
The Grid element at the top of the page shows a background color and image and it shows on the frontend, is this the only element?
If this is true and the issue is when you enable the Enfold Theme Options ▸ Performance ▸ JS & CSS file merging and compression because the css is calling the wrong path, I recommend copying the /wp-content/uploads/avia_posts_css files via FTP and adding them to the /wp-content/uploads/dynamic_avia/avia_posts_css folder manually.
Perhaps a security plugin or file permissions are not allowing the move automatically.Best regards,
MikeHi,
Glad Nikko 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,
Mike -
This reply was modified 2 years, 5 months ago by
-
AuthorPosts