Forum Replies Created

Viewing 30 posts - 16,471 through 16,500 (of 35,070 total)
  • Author
    Posts
  • in reply to: enfold and woocommerce erors #1230291

    Hi,
    Thanks for the feedback, the dev team has suggested trying our 4.7.5.1-beta-1 and modify option in Performance -> Unique timestamp of merged files and WP object cache bug Selecting “Fix WP bug” should help.
    The belief is that this is a known but unfixed WP bug with object cache enabled.

    To test this beta please replace your “enfold” directory via ftp with the new enfold directory in the beta, this means do not try to “overwrite” the directory, you must delete it first, otherwise, old files will remain and cause errors.
    As an alternative, you can re-name your “enfold” directory to enfold-old and then upload the new “enfold”, then if you wish to roll-back to the old version you can delete your new enfold directory and re-name “enfold-old” to “enfold”.
    I hope I explained this well.

    Best regards,
    Mike

    in reply to: Easiest solution for a simple slider with buttons on #1230278

    Hi,
    Thanks for the screenshots and login, to move your added button next to the slider buttons, on the home page, try adding this code to the end of your functions.php file in Appearance > Editor:

    function custom_script(){
      ?>
      <script>
    (function($){
      $(document).ready(function(){
    $( '#top.home #fullscreen_slider_1' ).each(function() {
    $( this ).find( '.avia-caption-content p a.avia-slideshow-button' ).css("margin-left","20px").insertAfter( $(this).find('a.avia-slideshow-button-2') );
    $( this ).find( '.avia-caption-content p:last-child' ).remove();
    });
    });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'custom_script');

    Then clear your browser cache and check.

    Best regards,
    Mike

    in reply to: DropDown arrow for sub menu fullwidth element #1230271

    Hi,
    Thanks for the login, on your production site the menu item has a different number #menu-item-1358 , so I adjusted, please clear your browser cache and check.

    Best regards,
    Mike

    Hi,
    To target “RECEIVE INSTANT EMAIL NOTIFICATIONS” only, try this css:

    #blog_subscription-4 > h3.widgettitle {
    	    font-size: 16px;
    }

    To target all of the widget titles in the sidebar, try this css:

    .sidebar1 .cufon_headings {
    	    font-size: 16px;
    }

    You can use any font adjustment in the rule, I used “font-size” as an example.
    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Unstick topbar on mobile #1230267

    Hi,
    Thanks for the feedback, and good catch, this looks fine. Unless there is anything else we can assist with on this issue, shall we close this then?

    Best regards,
    Mike

    in reply to: Unstick topbar on mobile #1229947

    Hi,
    Sorry for the late reply, since the header is sticky for mobile we will need to add padding to the top of the page to show the slider.
    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: 374px){
    .responsive #top #main {
        padding-top: 45% !important;
    }
    }
    @media only screen and (max-width: 430px) and (min-width: 375px){
    .responsive #top #main {
        padding-top: 34% !important;
    }
    }
    @media only screen and (max-width: 767px) and (min-width: 431px){
    .responsive #top #main {
        padding-top: 22% !important;
    }
    }
    @media only screen and (max-width: 989px) and (min-width: 768px) {
    .responsive.html_mobile_menu_tablet.html_header_top #top #main {
        padding-top: 16% !important;
    }
    }

    Please note that there is not one percentage we can use to make a fluid transition across all possible screen sizes, such as if you test by resizing your browser window, but if you test actual device sizes such as 320px, 425px & 768px with the developer tools you should find that this works well.

    Best regards,
    Mike

    in reply to: Menu bar incompatible with Google mobile indexing? #1229934

    Hi,
    Perhaps it will take a little time, we will keep this open.
    Yes, I do recommend the Advanced Layout Builder, if the test tool loaded all of the resources as the tool linked below does, then the page should pass the test.

    Best regards,
    Mike

    in reply to: Learndash Quiz Results Display Issue – 2.0 #1229926

    Hi,
    Thanks, the ftp worked, the wp login didn’t, but I still added the script above for the quiz and tested the test quiz and it seems to be working.
    Please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Menu bar incompatible with Google mobile indexing? #1229840

    Hi,
    I linked to your robots.txt below for you to see, right now it reads:

    User-agent: *
    Disallow: /wp-admin/
    Allow: /wp-admin/admin-ajax.php

    So after adding the new lines it should look like this:

    User-agent: *
    Disallow: /wp-admin/
    Allow: /wp-admin/admin-ajax.php
    
    User-agent: Googlebot
    Allow: .js
    Allow: .css
    Allow: /wp-content/uploads/dynamic_avia/*.js
    Allow: /wp-content/uploads/dynamic_avia/*.css

    Here is an article about robots.txt
    You should place it in your domain root, typically this is the directory WordPress is installed in.
    After you add this try requesting that Google crawl it.

    Best regards,
    Mike

    Hi,
    Please try this css:

    #custom_html-3 #aswift_3 {
    	left: -60px !important;
    }

    Feel free to adjust to suit.
    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Alt text shows code #1229828

    Hey freeethinka,
    Sorry for the late reply, and thanks for the link. The alt title attributes are plain text and can not display HTML tags such as <strong> , but the problem with it being plain text is that when trying to adjust it you can’t remove just the HTML tags or a single word.
    But with this script the title is hidden on hover so the user doesn’t see it, and it is restored on mouse-out so the Googlebot will see it.
    Try adding this code to the end of your functions.php file in Appearance > Editor:

    function custom_script(){
      ?>
      <script>
    (function($){
        $('a.av-masonry-entry').hover(function(e){
            $(this).attr('data-title', $(this).attr('title'));
            $(this).removeAttr('title');
        },
        function(e){
            $(this).attr('title', $(this).attr('data-title'));
        }); 
        $('.av-masonry-image-container').hover(function(e){
            $(this).attr('data-title', $(this).attr('title'));
            $(this).removeAttr('title');
        },
        function(e){
            $(this).attr('title', $(this).attr('data-title'));
        }); 
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'custom_script');

    Then clear your browser cache and check.

    Best regards,
    Mike

    Hi,
    Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    .sidebar1 > #custom_html-3 {
    	background: #F8F8F8 !important;
    	-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0) !important;
        box-shadow: 0 1px 1px rgba(0, 0, 0, 0) !important;
    }

    Best regards,
    Mike

    Hi,
    Glad to hear this helped, for your next issue, Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    .sidebar1 > #custom_html-4 {
    	padding: 0 !important;
    }
    .sidebar1 > #custom_html-4 > .custom-html-widget {
    	height: 250px !important;
    }

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: DropDown arrow for sub menu fullwidth element #1229816

    Hi,
    Glad to hear this helped, for the account area, the dropdown does toggle and link for my Android phone, it has a screen resolution of 360×640 but I notice that the link in the button is narrow, so this css will make it bigger and perhaps you will be able to toggle the button with your iPhone.
    Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    #menu-item-350 > a {
    	height: 40px;
    }
    #menu-item-350 {
    	padding-bottom: 0px !important;
    }

    After applying the css, please clear your browser cache and check.

    I took another look at your post above before submitting my reply and perhaps you meant that the menu is not closing for you, but opening fine. In that case,
    Try adding this code to the end of your functions.php file in Appearance > Editor:

    function custom_menu_toggle(){
      ?>
      <script>
    (function($){
    	var width = $(window).width()
      $(document).ready(function() {
      	if ((width <= 768)) {
          $("#menu-item-350").click(function() {
              $("ul.av-visible-mobile-sublist").toggle();
          });
      	} else {}
      });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'custom_menu_toggle');

    Best regards,
    Mike

    in reply to: Menu bar incompatible with Google mobile indexing? #1229799

    Hey mfuji,
    Sorry for the late reply and thanks for the link. I ran a Mobile-Friendly Test and see that the image of the page in the test is without css. When you click “view details” it shows that 26 css files were not loaded with a status of “Other error”.
    I researched this and found other reports of this with other themes and the suggestion is to add this to your robots.txt

    User-Agent: Googlebot
    Allow: .js
    Allow: .css
    User-Agent: Googlebot
    Allow: /wp-content/uploads/dynamic_avia/*.js
    Allow: /wp-content/uploads/dynamic_avia/*.css

    I see that your robots.txt already has some statements and that should be enough, but please give this a try.

    Best regards,
    Mike

    Hey 40eleven,
    Sorry for the late reply, as I understand you would like your “Tickets” registration section in the event meta sidebar.
    The following script will do this, but the sidebar is too narrow for the element, so one way to increase the sidebar width is to increase the page max-width, this css will do this only on single event pages.
    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: 990px) { 
    .responsive #top.tribe_events-template-default.single-tribe_events .container {
        max-width: 95% !important;
    }
    }

    Then add this code to the end of your functions.php file in Appearance > Editor:

    function custom_event_page_script(){
      ?>
      <script>
    (function($){
      $(document).ready(function(){
    $('.tribe_events.type-tribe_events').each(function() {
    $(this).find('#tribe-tickets').insertAfter( $(this).find('.tribe-events-event-meta.secondary') );
    });
    });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'custom_event_page_script');

    The ticket element may look low in the sidebar but that is because the map element is taking space, but it seems unused, if you are not going to use the maps I can move the ticket element up, or even put it at the top of your sidebar.
    After adding these please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Link tab sections in the menu – doesn't work fine #1229791

    Hi,
    Sorry for the late reply and thanks for the login, I tested your menu items for your portfolio tabs and they are working correctly, I can click on any tab link and scroll down to it and open that tab. Since your menu is a burger style it stays open so you can click each link and watch the tab open correctly.
    I tested with Chrome, Firefox, & Edge on Windows 10, and Safari & Chrome on a Mac.
    Are you still experiencing this?
    I do note that your page is locked up until your video downloads, do you have gzip compression enabled? Also, I see your file is an mp4, try converting it to WEBM and OGG and upload those files via FTP (not the media library) to the same folder as your mp4, web browsers typically check for these extensions before mp4 and it often helps speed up the video load.

    Best regards,
    Mike

    in reply to: enfold and woocommerce erors #1229787

    Hi,
    Sorry for the late reply and thanks for the login, I researched your error /wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Loader.php and found this woocommerce thread were the woocommerce support explains what it is and how to correct:

    It sounds like there is a product remnant in your database that was not properly deleted. Search your database for butterbean and purge any entries.

    and their final advice was:

    Your errors are php notices only. They will not interrupt any functionality and should not display to begin with. You can hide them completely by adding this to your wp-config.php :

    define( 'WP_DEBUG', false );
    define( 'WP_DEBUG_DISPLAY', false );

    I see that WP_DEBUG is enabled on your site, so you can try purging your database or disabling WP_DEBUG.

    I also researched the Loader.php file and the errors are pointing to the woocommerce header being created and adding admin body classes, so this seems to point to something clashing with this. I see that you have many premium woocommerce plugins so I suspect one of these, have you tried disabling your plugins and clearing your cache one at a time to find the error?

    Since this is a “notice” for admin users I would say it is safe to follow the woocommerce support recommendation and disable your WP_DEBUG

    Best regards,
    Mike

    in reply to: Clean Up Dynamic_Avia folder #1229780

    Hey Empatica,
    Sorry for the late reply and thanks for the login, I see that you have the option “Disable adding unique timestamps” set, and that enough time should have past that the server cache should have caught up by now. I see that your SG Optimizer plugin has the Memcached option disabled, but the Dynamic NGINX cache is enabled. I also noticed that you have Enfold Theme Options > Performance > Load jQuery in your footer activated and I believe the timestamp option is triggered with jQuery so I recommend disabling this option temporarily.
    I also note that the theme settings are different for each language, so I changed your settings to apply timestamps and allow jQuery in your header for each language and I forced your theme settings to be saved by adding an empty space in your Quick CSS and saved. I then tried clearing your cache and then I changed all of the settings back to disable timestamps, but I allowed the jQuery in the header for now until you can check the size of the dynamic_avia directory.
    In my test on my localhost changing the settings back and forth like this triggered the directory to be cleared.
    Please check the size of the dynamic_avia directory and let us know if this helped.

    Please also check your child theme functions.php, there are a few rouges text strings “I didn’t know” that should not be there, but the theme editor is behaving as if there is a conflict, try cleaning the file via FTP, or disable your plugins until the theme editor behaves correctly. This is probably not related to your current issue, but you should look at it.

    If this doesn’t help, please include ftp access in the private content area so we can check the dynamic_avia directory while investigating for feedback.

    Best regards,
    Mike

    in reply to: Product grid limit number of products – Part 2 #1229769

    Hi,
    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,
    Mike

    in reply to: Learndash Quiz Results Display Issue – 2.0 #1229768

    Hi,
    Perhaps it was the code I warned about above? Did you try removing it?
    If you would like us to look, please include an admin login & FTP access in the Private Content area.

    Best regards,
    Mike

    in reply to: Centered submenus #1229766

    Hi,
    We are happy 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,
    Mike

    in reply to: Centered submenus #1229756

    Hi,
    Sorry for the late reply, unfortunately, this is not possible. Each sub-menu is a child of a main menu item and it’s left edge is position zero for that tree of elements, but that position is different for each menu item. When you center the sub-menu it is within its tree, not the page, to place all of the sub-menus in the same location the calculations will need to be done on the screen size instead of the parent location.
    I hope I have explained this well, from your video it looks like you are using a laptop sized screen, on my desktop the sub-menus move much more, so perhaps they looked like they are very close to being superimposed.
    I tried to write a script to move the sub-menus based on the screen size in order to find a fixed location, and while it works for the most part, its limitations are that after the sub-menus are moved its hard to move your mouse from the main menu into the sub-menu without losing focus on a desktop, and it’s based on screen size.

    I’ll post the script here, perhaps it can be used for something else.

    function bad_custom_script(){
      ?>
      <script>
    (function($){
      $(document).ready(function() {
    jQuery.fn.center = function () {
        this.css("position","fixed");
        this.css("top", Math.max(0, (($(window).height() - $(this).outerHeight()) / 3) + 
                                                    $(window).scrollTop()) + "px");
        this.css("left", Math.max(0, (($(window).width() - $(this).outerWidth()) / 6) + 
                                                    $(window).scrollLeft()) + "px");
        return this;
    }
    $('.menu-item-top-level.dropdown_ul_available ul.sub-menu').center();
    });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'bad_custom_script');

    I tried to think of some other ways such as if the sub-menus were actually a moral, or lightbox, but I think you would have the same issues with the mouse unless it was triggered by click instead of hover.
    Sorry, but I believe the best solution is @Yigit’s css.

    @media only screen and (max-width: 1080px) {
    .main_menu .menu li#menu-item-2120 ul { 
    left: -520px;
    }
    .main_menu .menu li#menu-item-2127 ul {
        transform: translate(13%);
    }
    .main_menu .menu li#menu-item-2098 ul { 
    transform: translate(-21%);
    }}

    Best regards,
    Mike

    in reply to: Side Bar image top margin #1229735

    Hi,
    Sorry for the late reply and thanks for the login, I took a look at your page and added this css in your WordPress > Customize > Additional CSS field:

    @media only screen and (min-width: 1440px) { 
    	#top.page-id-2524 #main > div.container_wrap_first.container_wrap > div {
    		width: 73% !important;
    		float: left !important;
            max-width: 1350px !important;
    	}
    	#top.page-id-2524 #main > div.container_wrap_first.container_wrap {
    		width: 90% !important;        
    		margin: auto !important;
    	}
    	#top.page-id-2524 #wrap_all #main .sidebar {
            width: 352px !important;
    	}
    	#top.page-id-2524 #main > div.container_wrap_first.container_wrap > div > main {
    		 width: 100% !important;
    	}
    }

    I also found that your inner page height didn’t match your content height so I added this script to your functions.php

    function custom_script(){
      ?>
      <script>
    (function($){
      $(window).load(function(){
          var s1 = $('#top.page-id-2524 #main > div.container_wrap_first.container_wrap > div ').height();
        var s2 = $('#top.page-id-2524 #main > div.container_wrap_first.container_wrap').height();
    
        if (s1 > s2)
            $('#top.page-id-2524 #main > div.container_wrap_first.container_wrap').css('height', s1 + "px");
        else
            $('#top.page-id-2524 #main > div.container_wrap_first.container_wrap > div').css('height', s2 + "px");
      });
      })(jQuery);
      </script>
    <?php
    }
    add_action('wp_footer', 'custom_script');

    please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Product grid limit number of products – Part 2 #1229724

    Hi,
    Thanks, I adjusted the script to add that and make the leading number change based on the pagination 😅
    Please clear your browser cache and check.

    This is the updated script:

    function custom_pagination(){
      ?>
      <script>
    (function($){
      $(document).ready(function(){
    	var url = document.URL;
    	var theURL = url.split("page")[0];
    	var countURL = url.split("/")[5]|| "1";
      	$new_pagination = '<nav class="pagination"><span class="pagination-meta">Page '+countURL+' sur 5</span><a href="'+theURL+'" class="p1">1</a> <a href="'+theURL+'page/2/" class="p2">2</a> <a href="'+theURL+'page/3/" class="p3">3</a> <a href="'+theURL+'page/4/" class="p4">4</a> <a href="'+theURL+'page/5/" class="p5">5</a> </nav>'
    if ($("body").is('.page-id-5480')){
    	$( "nav.pagination" ).replaceWith( $new_pagination );
    } else {}
    $('#top:not(.paged-2):not(.paged-3):not(.paged-4):not(.paged-5) .pagination .p1').addClass('current');
    $('#top.paged-2 .pagination .p2').addClass('current');
    $('#top.paged-3 .pagination .p3').addClass('current');
    $('#top.paged-4 .pagination .p4').addClass('current');
    $('#top.paged-5 .pagination .p5').addClass('current');
    });
    })(jQuery);

    Best regards,
    Mike

    in reply to: DropDown arrow for sub menu fullwidth element #1229720

    Hi,
    Sorry for the late reply, please excuse me while I try to catch up on your thread, I believe I have found the correct page, linked in the Private Content area, I see that this:

     #top .sticky_placeholder {
        display: none;
      }

    is hiding the yellow line but I believe what you should use is this css to remove the white space above the yellow line on mobile.

    @media only screen and (max-width: 987px) { 
    	#top.page-id-291 .sticky_placeholder {
    		height: 0 !important;
    	}
    }

    Please note that this is for the one page only, for now.
    I also see that you have two sub-menus, one with a button menu, the other with a menu, so to have the first sub-menu sticky I enabled the “Sticky Submenu” option and now it is sticky at the top until you scroll, which the second sticky menu rolls over it and sticks to the top. This is the correct behavior, one sub-menu sticks to the top until the next one is scrolled to the top, please see this demo page for reference.
    Please note that for testing this I disabled the “admin toolbar” in the user profile (kstm), because the toolbar covers some of the sticky sub-menu and your visitors do not see the admin toolbar.
    Please see the animated gif in the Private Content area.
    So I assume that this is still not quite the way you want it, please explain how you would like this to be.

    Best regards,
    Mike

    in reply to: Unable to add text above calender #1229717

    Hi,
    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,
    Mike

    in reply to: Product grid limit number of products – Part 2 #1229715

    Hi,
    Glad it helps, on your other pages the pagination looks like this:
    2020-07-11_162821.png
    and on the page we are working on I see this:
    2020-07-11_163013.png
    Where do you see “1 of 5”, “2 of 5”, “3 of 5” ?
    In the script above for the pagination links you can change the number “2” to “2 of 5”, for example, like this:

    function custom_pagination(){
      ?>
      <script>
    (function($){
      $(document).ready(function(){
    	var url = document.URL;
    	var theURL = url.split("page")[0];
      	$new_pagination = '<nav class="pagination"><a href="'+theURL+'" class="p1">1 of 5</a><a href="'+theURL+'page/2/" class="p2">2 of 5</a><a href="'+theURL+'page/3/" class="p3">3 of 5</a><a href="'+theURL+'page/4/" class="p4">4 of 5</a><a href="'+theURL+'page/5/" class="p5">5 of 5</a></nav>'
    if ($("body").is('.page-id-5480')){
    	$( "nav.pagination" ).replaceWith( $new_pagination );
    } else {}
    $('#top:not(.paged-2):not(.paged-3):not(.paged-4):not(.paged-5) .pagination .p1').addClass('current');
    $('#top.paged-2 .pagination .p2').addClass('current');
    $('#top.paged-3 .pagination .p3').addClass('current');
    $('#top.paged-4 .pagination .p4').addClass('current');
    $('#top.paged-5 .pagination .p5').addClass('current');
    });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'custom_pagination');

    But this will change the size of your pagination, and not match the rest of your site.
    Am I understanding correctly?

    Best regards,
    Mike

    in reply to: Video icon play in layer slider #1229714

    Hi,
    That looks like it is the cause, but you can only control the autoplay with the layerslider option, it doesn’t have an option to override. The layerslider adds the “autoplay” even if you remove it from the iframe code before you publish or after the page load with jQuery.
    We seem to be at road block for this customization, I don’t believe this will work without re-writing the layerslider script, which is quite complicated.

    Best regards,
    Mike

    in reply to: Video icon play in layer slider #1229705

    Hi,
    Please include an admin login in the Private Content area so we can take a look, or export your slider and upload to DropBox so we can check.

    Best regards,
    Mike

Viewing 30 posts - 16,471 through 16,500 (of 35,070 total)