Forum Replies Created
-
AuthorPosts
-
Hi,
The srcset is being used for the news thumbnails in your footer, this is the element we are talking about right? If you want to control the sizes in the srcset then the Simple Image Size plugin will allow you to do this.Best regards,
MikeHi,
@Anton I’m sorry, I was trying to hurry and the jQuery was just the raw script and not formatted for WordPress, if you want to try it try this code below. This works on my localhost, but unless I see the page in question I can’t be sure that the settings are the same.
The css does make the “header” sticky which includes the topbar. Again I would need to see the site to see why it might not work for you.function custom_script(){ ?> <script> (function ($) { $(window).scroll(function() { var scroll = $(window).scrollTop(); if (scroll >= 100) { $("#header_meta").css('display', 'none'); } else { $("#header_meta").css('display', 'block'); } }); })(jQuery); </script> <?php } add_action('wp_footer', 'custom_script');Best regards,
MikeHi,
Sorry for the late reply, I took a look at your example site and then tested what you described on my localhost, and found that we can make the header sticky on mobile with this css:@media only screen and (max-width: 800px) { .responsive #top #wrap_all #header { position: fixed !important; } }but to hide the top-bar on scroll we can use this jQuery:
(function ($) { $(window).scroll(function() { var scroll = $(window).scrollTop(); if (scroll >= 100) { $("#header_meta").css('display', 'none'); } else { $("#header_meta").css('display', 'block'); } }); })(jQuery);We could refine it a little better if we could see your Enfold build of the site, have you begun this yet or are you still working on a mockup?
Best regards,
MikeHi,
Sorry for the late reply, I see that you had some css for a transparent mobile header, but I don’t think that it was correct, so I added:@media only screen and (max-width: 766px) { .responsive #top #main {margin-top: -80px!important;} #top #wrap_all .av_header_transparency {background-color: transparent!important;} div#header_main > .container {display: block !important;} }Please clear your browser cache and check that it is now the way you wanted it
Best regards,
MikeFebruary 19, 2019 at 6:47 am in reply to: Bottom margin of a column inside a color section on mobile #1068778Hi,
Sorry for the late reply, 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) { .responsive #top #wrap_all #hardware .flex_column { margin-bottom: 0px !important; }Best regards,
MikeFebruary 19, 2019 at 6:33 am in reply to: Events Calendar Pro Portrait Mobile/Ipad View + not showing "location" field #1068776Hi,
Sorry for the late reply, I couldn’t find the missing elements in your source code, I imagine you have tried disabling your plugins or removing your custom functions?
Please include a admin login in the Private Content area so we can take a closer look.Best regards,
MikeFebruary 19, 2019 at 6:12 am in reply to: Header sticky and too big on landscape mobile screens #1068767Hi,
Sorry for the late reply, try adding the orientation landscape to your media queries, such as this:@media only screen and (max-width: 812px) and (min-width: 375px) and (orientation: landscape) { .responsive #top .av_mobile_menu_tablet .av-main-nav .menu-item { display: none !important; } .responsive #top .av_mobile_menu_tablet .av-main-nav .menu-item-avia-special { display: block !important; } }Best regards,
MikeHi,
sorry for the late reply, for the English sidebar I see the issue is the left side margin, please try this css:.sidebar_right .inner_sidebar { margin-left: 30px !important; }The reason your css is not working for the french pages is because the code is not in the french merged css, I know you said that you added the css, but please try disabling the merged css and check the box at the very bottom of the options page to delete old files.
then save your theme options and see if it then works, once you have it working you can turn the merged css back on but then save your theme settings again so the file gets built.Best regards,
MikeHi,
Sorry for the late reply, I was not able to login, but examining your page shows that “Publikationen” is the child of “Die ZSG” because “Die ZSG” has these classes:
“current-menu-ancestor current-menu-parent”
If you hover over “Die ZSG” you will see “Publikationen” under it in the sub-menu, along with “e-Statistik” & “ZVEI-Akademie”.
You could change how these menu items are related to each other, but I assume this would not be what you want to do.
So the other option is to remove the parent menu item class when on the child page so the parent is not highlighted, Try adding this code to the end of your functions.php file in Appearance > Editor:function remove_parent_menu_highlighting(){ ?> <script> (function ($) { $(window).load(function() { if ($("body").hasClass("page-id-456")) { $("#menu-item-28165").removeClass('current-menu-item'); } else if ($("body").hasClass("page-id-9416")) { $("#menu-item-28165").removeClass('current-menu-item'); } else if ($("body").hasClass("page-id-9218")) { $("#menu-item-28165").removeClass('current-menu-item'); } else { } }); })(jQuery); </script> <?php } add_action('wp_footer', 'remove_parent_menu_highlighting');Best regards,
MikeHi,
Sorry for the late reply, if I understand correctly you would link your team to look like this on mobile:

If so then replace your code above with this:@media only screen and (max-width: 767px) { .responsive #top #wrap_all .avia-content-slider-odd .slide-entry.slide-parity-even { clear: none !important; } .responsive #top .avia-smallarrow-slider .flex_column { margin: 0px!important; width: 50%!important; } }Best regards,
MikeFebruary 19, 2019 at 4:10 am in reply to: Productfilter doesn't show in sidebar – it sticks to the bottom of the page #1068736Hi,
Sorry for the late reply, Thanks for the login, I see that you are using the “Advanced AJAX Product Filters for WooCommerce” plugin and the “WOOF – WooCommerce Products Filter” plugin, which both are product filters, perhaps there is a conflict, have you tried disabling your other plugins?Best regards,
MikeHi,
If I understand correctly, you would link the first gallery to continue to be in random order, as it is now. But the second gallery you would like it to be in chronological order?
You are also using the same gallery element for both galleries on the same page, so we would need to find a way to add this option?Best regards,
MikeHi,
WordPress creates a srcset of images and lets the browser pick the one it wants to use. You could control the image sizes with the Simple Image Size plugin.
Another option would be to disable the images srcset, Try adding this code to the end of your functions.php file in Appearance > Editor://disable responsive images srcset function disable_srcset( $sources ) { return false; } add_filter( 'wp_calculate_image_srcset', 'disable_srcset' );Best regards,
MikeHi,
Glad 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 under Enfold sub forum and we will gladly try to help you :)Best regards,
MikeFebruary 19, 2019 at 2:45 am in reply to: Custom Link in Menu to Hidden Color Section not working? #1068707Hi,
Thanks for the login, but I’m unable to add the function to your functions.php, your site says we should try via FTP.
So please include a FTP login in the Private Content area.Best regards,
MikeHi,
The “:visited” would have remembered that setting until the cache was cleared, so changing the color for the next section would have been hard because there is no way to undo it.
If you were not using the plugin I would have suggested using the built-in classes for the menu colors with css, such as:
“current_page_item” & “current-menu-item”
I’m glad that it worked out, I assume we can close this now, but I like to ask. Shall we close this then?Best regards,
MikeHi,
I changed the transparent logo path at: Enfold Theme Options > Header > Transparency Options > Transparency Logo
There are two places to set the logo, the other one is at: Enfold Theme Options > Logo
Please see the old and new paths in the Private Content area.Best regards,
MikeFebruary 19, 2019 at 12:59 am in reply to: Enfold 4.5.4 Widgets with Shortcodes not visible #1068677Hi,
Thank you for sharing this, in my report I had pointed out that if you add a shortcode to the body, the widget shortcode would then show.
But I’m glad you were able to confirm this.Best regards,
MikeHi,
Thanks for the updates, I took a look at your site and everything seems in order. I assume we can close this now, but I like to ask. Shall we close this then?Best regards,
MikeHi,
Please include the url to the page in question so we can examine the elements.Best regards,
MikeHi,
Glad to help, I assume we can close this now, but I like to ask. Shall we close this then?Best regards,
MikeHi,
Please remove the css above and use this instead:#top #header .av-main-nav > li > ul.sub-menu > li > a span.avia-menu-text { color: #808080 !important; } #top #header.av_header_transparency .av-main-nav > li > a span.avia-menu-text { color: #fff !important; } #top #header .av-main-nav > li > a span.avia-menu-text { color: #000 !important; }Best regards,
MikeHi,
Sorry about the confusion with the GitHub link, it is there for the mods and dev team to easily go to the report, I also linked the report to your post. You can’t see it because it’s a closed group, I should have added a note below it to explain.So are you saying that you integrated a white space shortcode to the page so that the widgets work? I would like to see this and test it on my localhost so that I can report it. It may help the dev team solve this.
Please include admin login in the Private Content area so we can see.Best regards,
MikeFebruary 18, 2019 at 2:16 pm in reply to: Sprungmarke wird nicht korrekt angesteuert, in Kombination mit LayerSlider #1068367Hi,
I’m glad that we figured it out, I guess we could have added the anchors to a code block element and moved them down more manually, and at one point if the top of the sub-menu had not been transparent we would not have seen the gap. CSS offset margins for anchors would have been the other solution here, but it is limited to screen size and browser. You did some very good testing, which many people don’t do, so we would have seen those limitations. I suggested the “Page Scroll to ID” plugin because many threads had reported success with it, and now that we know about the “300 milliseconds delay for scrolling to target on page load” for Safari, it seems quite simple.
I’m glad it worked out, thank you for your patience.Best regards,
MikeHi,
Sorry for the late reply, I took a look at your site but didn’t find Enfold installed.
Sometimes the php settings prevent the demos from installing,
check these on your installation:
php_value post_max_size 512M
php_value upload_max_filesize 512M
php_value max_input_vars 5000
php_value max_execution_time 300
php_value max_input_time 300
php_value memory_limit 512M
Your webhost will be happy to help set these for you.Also check your PHP settings to see if the secure options are activated.
“allow_url_fopen, “allow_url_include” and “register_globals” are “off”
Try turning these “on”.Best regards,
MikeHi,
is that since the code solution above, or did that not help?
The solution above would affect every page & post.Best regards,
MikeFebruary 18, 2019 at 2:20 am in reply to: How can I style the comment input and the send button below? #1068082Hi,
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 under Enfold sub forum and we will gladly try to help you :)Best regards,
MikeHi,
I think I sorted out the “Jump-to-Nirvana” problem on Mac in the other thread, please check there.Best regards,
MikeHi,
Thanks, I took a look and while it’s a little hard to see, I think I do. I looked through all of the css on your page and I don’t see anything that could cause this. I also researched this but all I could find is “text-rendering”, it’s really not used much, but you could try it.h2.woocommerce-loop-product__title { text-rendering: optimizeLegibility !important; }or you could try this:
h2.woocommerce-loop-product__title { font-weight: 600 !important; }Best regards,
MikeHi,
Thanks for the login, your child theme is still there, I activated it for you, but your pages don’t seem to be working because you are using WordPress v5.0.3 with Enfold v4.4 you will need to update. We are now at v4.5.4
I see that you have PHP Version: 5.5.38, the minimum recommended version is v5.6, v7.0 is better.
Here are the steps to update with the plugin
First go to your Theme Forest account and download the “Installable WordPress file only”.

1: please install the plugin: Update Theme and Plugins from Zip File

2: then go to WordPress > Themes > Add New > Upload

3: after the install, click “Return to Themes page” (NOT Activate)

4: success:
Best regards,
Mike -
AuthorPosts
