Forum Replies Created
-
AuthorPosts
-
April 4, 2020 at 4:15 pm in reply to: Adding social media icons to mobile menu on mobiles only #1200812
Hi,
Sorry for the late reply, I have adjusted the script so to social icons show in the burger menu only for mobile devices.
I recommend that you disable your css that makes the social icons show in the header on mobile, since you only want them to show in the burger menu for mobile.function ava_custom_script_mod_social(){ ?> <script> (function($){ var int = ''; function a() { var isMobile = $('.av-burger-menu-main').css('display'), htmlString = $('#header_main .social_bookmarks').find('li a'), mobileMenu = $('.av-burger-overlay'), socialString = []; width = $(window).width() if($('.burger-social').length) clearInterval(int); if(width <= 768) { htmlString.each(function() { var socialClass = $(this).parent('li').attr('class'), socialItems = $(this).wrap('<li class="'+ socialClass + ' av-active-burger-items burger-social"></div>').parent().unwrap(); socialString.push(socialItems); }); $(socialString).each(function() { $(this).clone().appendTo('#av-burger-menu-ul'); }); }else{} } $('#header').on('mousedown', '.av-main-nav-wrap', function() { int = setInterval(function() { a(); }, 500); }); })(jQuery); </script> <?php } add_action('wp_footer', 'ava_custom_script_mod_social');If this doesn’t help, please include an admin login in the private content area so we can adjust the script directly.
Best regards,
MikeApril 4, 2020 at 1:47 pm in reply to: Getting strange navigation results when scrolling down #1200792Hi,
Thanks for the login, I disabled your Enfold Theme Options > Performance > JS & CSS file merging and compression and then re-enabled to clear your site cache, and now the error is not occurring, please clear your browser cache and check.Best regards,
MikeHi,
I agree, I changed the code a little to subtract 100px from the color section, which seems to remove the white area, I also added a custom ID to the color section “car-color-section” and to the column “car-column” so that the elements will be easier to target without the possibility of the auto-classes of changing, and you will be able to use it on any page.
I couldn’t edit your functions.php, so please change the script to this:function custom_height_script(){ ?> <script> (function($){ $(window).load(function(){ var s1 = $('#car-color-section ').height(); var s2 = $('#car-column').height(); if (s1 < s2) $('#car-column').css('height', s1 + "px"); else $('#car-color-section').css('height', s2 - 100 + "px"); }); })(jQuery); </script> <?php } add_action('wp_footer', 'custom_height_script');In this part of the code
('height', s2 - 100 + "px");you can change the “100” to any number to like, it is subtracting 100px from the height.
After making these changes, Please clear your browser cache and check.Best regards,
MikeHi,
The code above is a working example with the slug “meet-the-team”, Please include an admin login in the Private Content area and the test page you wish to use.
Perhaps you are missing a bracket from the code.Best regards,
MikeHi,
Sorry for the late reply, glad to hear you have sorted it out, shall we close this then?Best regards,
MikeHi,
@marcgys sorry for the late reply, please link to your page so we can see what you have so far.Best regards,
MikeHi,
Sorry for the late reply, I see you are now getting the error “Cannot read property ‘top’ of undefined” when the links are clicked, it seems related to the language, for example when I copy the link I get this:
http://51.dr104.com.tw/?p=382#%E6%A8%99%E9%A1%8C%E4%B8%89instead of:
http://51.dr104.com.tw/?p=382#標題三Best regards,
MikeApril 3, 2020 at 1:09 pm in reply to: Transparent header, White Logo & Icons in mobile menu #1200500Hi,
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 in the Enfold forum and we will gladly try to help you :)Best regards,
MikeApril 3, 2020 at 1:05 pm in reply to: Blank white space at the top of pages on mobile and tablet displays #1200498Hi,
Thanks, I took a look at your other thread and posted a comment, I recommend closing this thread and continuing there.Best regards,
MikeApril 3, 2020 at 1:01 pm in reply to: Getting strange navigation results when scrolling down #1200497Hi,
Thanks for the link, it looks like your “SCHEDULE A CALL” button is getting the “current-menu-item” class incorrectly, and on scroll the class is being added to each, back and forth, that is the flashing.
Do you have a script that is adding this class to the “SCHEDULE A CALL” button? It also looks like “#top” is being added to some of your menu URLs based on which item’s page it is, which should be removed.
Please include an admin login in the Private Content area so we can investigate.Best regards,
MikeHi,
The easiest and safest way to update, that I find, is to download the newest version from Theme Forest and rename your current theme folder to “enfold-old” via ftp then upload the new “enfold” folder and check that your site is working correctly. This assumes that your theme folder at/wp-content/themes/enfoldis named the default “enfold”.
Should for some reason you wish to roll-back to the old version, it’s easy to do, simply rename the new “enfold” folder to “enfold-new” via ftp and then rename “enfold-old” to “enfold” then refresh your page.
Once you are happy you can delete the “enfold-old” folder via ftp, (not the WP theme page)
Please don’t try to overwrite the theme folder, as this will leave old files behind and cause errors.Best regards,
MikeApril 2, 2020 at 1:22 pm in reply to: how to get download button for each picture with masonry content elemens? #1200161Hi,
Perhaps one like Easy Media Download, but please note that I have not tried any plugins that do what you want to do, nor did I find any recommendations in the forum. Searching the WordPress repository is a good place to start your search in cases like these.Best regards,
MikeHi,
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 in the Enfold forum and we will gladly try to help you :)Best regards,
MikeApril 2, 2020 at 1:10 pm in reply to: How Can I Remove the Thumbnail from Displaying on Related Posts? #1200156Hi,
To change the number of posts that the related entries show please edit
\enfold\includes\related-posts.php
and on line 32 look for:'columns' => 6,and change the number “6” to “4”Best regards,
MikeHi,
Thank you for the feedback, there are more customization examples in the Enfold DocumentationBest regards,
MikeHi,
Please try unzipping your “medical” pack and opening “config.json” with a plain text editor, do you see the html for a 404 page like this?

when the “config.json” doesn’t have it’s information and the file is uploaded through the importer the file will be named “Font: flaticon”, but this can only be used once.
But the files that do have the info such as the one in the “knowledgebase” pack are named correctly in the importer

Perhaps you can edit the medical config.json to this, removing the html:{ "name": "enfold-medical", "css_prefix_text": "icon-", "css_use_suffix": false, "hinting": true, "units_per_em": 1000, "ascent": 850 { } }Best regards,
MikeHi,
Sorry for the late reply, glad this helps, I didn’t add the paragraph classes they were already there, perhaps you are pasting the text from another page?
Sorry, I couldn’t watch your video, it requires “flash”, can you upload as mp4 or another format?
Your page also seems moved, I found a new page linked in the Private Content area.
Using the negative top tends to move elements up leaving a space below, so I added this function in your child theme functions.php to make the color section height the same as the inner column height:function custom_height_script(){ ?> <script> (function($){ $(window).load(function(){ var s1 = $('#top.page-id-9493 #av_section_10 ').height(); var s2 = $('#top.page-id-9493 .flex_column.avia-builder-el-60').height(); if (s1 < s2) $('#top.page-id-9493 .flex_column.avia-builder-el-60').css('height', s1 + "px"); else $('#top.page-id-9493 #av_section_10').css('height', s2 + "px"); }); })(jQuery); </script> <?php } add_action('wp_footer', 'custom_height_script');This seems to help, please clear your browser cache and check.
Best regards,
MikeHi,
Glad to hear that helped, for your shop banner, when I looked you didn’t have a shop banner enabled, so I did this and added this css in your Quick CSS:#av_product_description { height: 400px; } #av_product_description .av-section-color-overlay { opacity: 0 !important; }Now your shop banner is 400px high, feel free to change the height, please clear your browser cache and check.
Best regards,
MikeHi,
Thank you, the login doesn’t seem to be working, but I don’t get an error message, please check.Best regards,
MikeHi,
The lazyload causes many problems, we recommend that you disable it.Best regards,
MikeHi,
Sie können das & # 8220; gerahmte Layout & # 8221; in Themenoptionen einschließen & gt; Allgemeines Layout & gt; Verwenden Sie ein gestrecktes oder verpacktes Layout

Ich wusste jedoch nicht, dass dies nur für die Produkte gilt. Ich glaube nicht, dass Sie das Layout für nur einige Seiten mit einer Funktion ändern können, aber Sie können CSS verwenden, um das zu ändern Layout nur für Produktseiten. Versuchen Sie beispielsweise diesen Code im General Styling & gt; Schnelles CSS -Feld oder im WordPress & gt; Anpassen & gt; Zusätzliches CSS -Feld:.html_stretched #top.single-product, .html_stretched.html_header_sticky #header, .html_stretched #top.single-product .container { max-width: 1310px; width: 90%; margin: auto; }— Translated with Google —
You could try the “framed layout” in Enfold Theme Options > General Layout > Use stretched or boxed layout

But I didn’t realize this was only for the “products”, I don’t believe you can change the layout for just some pages with a function, but you can use css to change the layout for only product pages, for example, try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:.html_stretched #top.single-product, .html_stretched.html_header_sticky #header, .html_stretched #top.single-product .container { max-width: 1310px; width: 90%; margin: auto; }Best regards,
MikeMarch 31, 2020 at 1:44 pm in reply to: Blank white space at the top of pages on mobile and tablet displays #1199319Hi,
Thank you for getting this option displayed, did they tell you how they had done it? We want it disabled so I did that for you. It seems the sidebar was loading after the script ran, so I added a delay to the script, now it’s working fine.
Please clear your browser cache and check.The final code:
function custom_toc_script(){ ?> <script> (function($){ $(document).ready(function(){ setTimeout(function () { $(".avia-toc-container a.avia-toc-link").each(function(){ var character = $(this).find("span").text(); $(this).attr('href', function() { return "#" + character; }); }); }, 2000); }); })(jQuery); </script> <?php } add_action('wp_footer', 'custom_toc_script');Best regards,
MikeHi,
Please try removing the css I posted above and have the lazy load deactivated, my thought is that the logo will behave correctly on its own if the lazy load is deactivated.
Also, please also clear your browser and site cache.Best regards,
MikeHi,
Thanks for the login, glad to hear this helped, but for your two anchors in the same color section we don’t have a way to make their menu items show them as if they were in their own color sections.
Perhaps you could have a separate color section for the “Service” area?Best regards,
MikeHi,
Please include an admin login to examine, so you want the trigger on the menu item “Settings Findings” and we are using the popup in the screenshot in Private Content area, correct?Best regards,
MikeHi,
Thanks for the login, for the cart position 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: 700px) { #menu-item-shop.cart_dropdown { top: 14% !important; } }After applying the css, Please clear your browser cache and check.
To remove the border from the cart, please try this css:.header_color ul#menu-item-shop { border-width: 0px !important; }Best regards,
MikeMarch 30, 2020 at 1:42 pm in reply to: Blank white space at the top of pages on mobile and tablet displays #1199065Hi,
I believe that your screenshot is from your /contact/ page and I do not see these as red, only the email address.
I believe you are looking at this with an iPhone which automatically links phone numbers, even when there is no link.
This is the answer from IOS on the topicRegrettably iOS has no option to manually set character strings it “sees” as Hyperlinks or Phone Nos. as text only instead of active links.
But this maybe a solution
Try adding this code to the end of your functions.php file in Appearance > Editor:function add_custom_meta(){ ?> <meta name="format-detection" content="telephone=no"> <?php } add_action('wp_head', 'add_custom_meta', 1);Then clear your browser cache and check.
Best regards,
Mike -
AuthorPosts

