Forum Replies Created

Viewing 30 posts - 16,231 through 16,260 (of 35,023 total)
  • Author
    Posts
  • in reply to: Mobile menu on scroll down hide and on scroll up show #1240007

    Hi,
    Thank you for the login but it is not an admin login so we can not add the script to your site.
    Try adding this code to the end of your functions.php file in Appearance > Editor:

    function custom_script(){
      ?>
      <script>
    ( function( $ ) {
    
      'use strict';
    
      var $window       = $( window );
      var lastScrollTop = 0;
      var $header       = $( '#header' );
      var headerBottom  = $header.position().top + $header.outerHeight( true );
    
      $window.scroll( function() {
              var windowTop  = $window.scrollTop();
    
              // Add custom sticky class 
              if ( windowTop >= headerBottom ) {
                  $header.addClass( 'myprefix-maybe-sticky' );
              } else {
                  $header.removeClass( 'myprefix-maybe-sticky' );
                  $header.removeClass( 'myprefix-show' );
              }
    
              // Show/hide
              if ( $header.hasClass( 'myprefix-maybe-sticky' ) ) {
                  if ( windowTop <= headerBottom || windowTop < lastScrollTop ) {
                      $header.addClass( 'myprefix-show' );
                  } else {
                      $header.removeClass( 'myprefix-show' );
                  }
              }
              lastScrollTop = windowTop;
      } );
    } ( jQuery ) );
    </script>
    <?php
    }
    add_action('wp_footer', 'custom_script');

    Then add this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    @media only screen and (max-width: 767px) { 
    .myprefix-maybe-sticky {
      position: fixed !important;
      top: -120px;
      width: 100%;
      z-index: 999;
      opacity: 0;
      background: #fff;
      transition: 0.3s all;
      box-shadow: 0 2px 3px rgba(0,0,0,0.15);
    }
    
    .myprefix-show {
      top: 0;
      opacity: 1;
    }
    }

    Then clear your browser cache and any cache plugin, and check.

    Best regards,
    Mike

    in reply to: link to content slider #1240004

    Hey smarta-brett,
    Thanks for the link to your page, unfortunately the individual slides do not have ID’s so you can not link directly to them.
    If you were able to add ID’s to the slides you probably would be able to link to the individual slides, but this would require writing a JQuery script.

    Best regards,
    Mike

    in reply to: Widening the product quantity box #1240002

    Hey Nancy,
    I believe we can do this with some css, but your link is not working so we can check your page. Please check.

    Best regards,
    Mike

    in reply to: Would like no "Date" on Magazine showing Portfolio items #1240001

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

    time.av-magazine-time {
    	display: none !important;
    }

    After applying the css, please clear your browser cache and check.
    If this doesn’t help please include the URL to the page in question so we can take a closer look.

    Best regards,
    Mike

    in reply to: Renaming WooCommerce Sorting Options #1239999

    Hey koonpete,
    Thank you for your question, you can edit the language files at \wp-content\themes\enfold\lang\ with Poedit to achieve this.
    So after you install Poedit open your language “.po” file and search for the phrase you wish to edit, then when you save a new “.mo” file will also be created. You will then need to upload both files via ftp to the location above.
    Or you add them to your child theme so the translations are saved for future updates.
    If you use the English language on your site you will have to take an extra step because there is no “en_US.po” or “en_US.mo” file, you will have to create it.
    So open the file enfold.pot with Poedit and click the button “create new translation” and choose the language “English”
    2020-08-22_175215.jpg
    then you can edit the phrases as explained above.
    2020-08-22_175412.jpg
    when you save your files be sure to name them “en_US.po” & “en_US.mo”
    2020-08-22_181031.jpg

    Best regards,
    Mike

    in reply to: How to link a button to a telephonenumber #1239996

    Hey JoStudioDeRijp,
    The correct format is tel://1-555-555-5555 please see this article for more info.
    2020-08-22_171858.jpg

    Best regards,
    Mike

    in reply to: cant edit page avia advance layout editor #1239994

    Hey idvisionme,
    Thank for the link to your site, you have the error jQuery is not defined
    Please check that the setting Enfold Theme Options > Performance > Load jQuery in your footer is not enabled.

    Best regards,
    Mike

    in reply to: Modify tab title on product page on mobiles only #1239993

    Hi,
    When I check your tabs on a mobile device the filter is working, please see the screenshot in Private Content area.
    Try clearing your browser cache and checking again.

    Best regards,
    Mike

    in reply to: Downloading page Consulting #1239992

    Hi,
    Ok, try this, assuming your skype link is this: skype:apple123?call
    add this to your skype social profile URL: https://skype:apple123?call
    Then try adding this code to the end of your functions.php file in Appearance > Editor:

    function custom_skype_link(){
      ?>
      <script>
    (function ($) { 
      $(window).load(function() {
      $('.social_bookmarks_skype a').attr("href", "skype:apple123?call");
      $('.social_bookmarks_skype a[target="_blank"]').removeAttr('target');
    });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'custom_skype_link');
    

    in the above code adjust the link to yours skype:apple123?call
    Then clear your browser cache and any cache plugin, and check.

    Best regards,
    Mike

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

    Hi,
    Thank you for the feedback. When you are testing your page with the “Live Test” in the Google Search Console > URL Inspection and you see the error “Page is not mobile friendly” this doesn’t mean that it will not be indexed.
    On the URL Inspection page you should see this:
    2020-08-22_140248.jpg
    Now in my tests, if you run the same test a few times you will get different results:
    2020-08-22_141335.jpg
    I can not test your pages in my Google Search Console, because it only allows you to test your own domains, but note that the “Live Test” is a limited test which doesn’t load all resources available.
    Now we know that the reason you are seeing the error “Page is not mobile friendly” is because the test didn’t load the css file to arrange the page correctly, and when the css file is loaded the test passes the page.
    This is not the same as indexing your page, when google indexes your page it doesn’t limit the crawl in the same way. I don’t believe that reducing your pages to only the elements that will show in the “screenshot” of the “Live Test” is necessary for your site to be indexed.
    While I want to help you with any issues with your site, this seems to be an issue with the test not giving a complete result by not loading the available resources for the page because it’s bandwidth is limited.

    Best regards,
    Mike

    Hi,
    Sorry for the late reply, I have tested the pt_BR language with Enfold & woocommerce and found that the filter text is in the language file at \wp-content\themes\enfold\lang\pt_BR.po
    currently, this file by default seems to be missing many translations for this language, above you wrote that you have updated your pt_BR.po file, so I assume you did this with Poedit and then uploaded the .po & .mo files to the correct location.
    Please link to your pt_BR.po & pt_BR.mo files via DropBox so I can test them on my localhost to ensure your edits are saved correctly.
    Once these files are working correctly you can add them to your child theme so the translations are saved for future updates.

    Best regards,
    Mike

    in reply to: Enfold page/product title is A tag, not H1 tag #1239982

    Hi,
    Sorry for the late reply, I have taken a look at the other thread and posted a reply. We will continue there.

    Best regards,
    Mike

    in reply to: Learndash- Page settings and ALB #1239787

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

    .single-sfwd-lessons {
    	min-height: 100vh;
    }

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

    Best regards,
    Mike

    in reply to: Portfolio Grid Feed Pagination does not seem to work #1239548

    Hi,
    Sorry for the late reply and thank you for the login. I tested your temp site and compared it to your live site and I’m not seeing any errors, other than the pagination not working correctly.
    I tried to recreate this on my localhost by adding a portfolio grid element to a portfolio item, such as your example, but the pagination worked correctly. Can you please post a link to a text copy of your .htaccess file, perhaps there is an odd rule there?

    Best regards,
    Mike

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

    Hi,
    Thank you for the feedback, so the “SG Optimizer” plugin is for your site’s server-side object caching, while you are building your site you will want this off, but once you are done with the major page builds you may find this works well to speed up your site.

    As for the Media elements, such as the slider, with the SG Optimizer plugin off, are showing correctly in the page test.
    So what do you mean by “incompatible with Google bots”?

    Best regards,
    Mike

    in reply to: Mobile WooCommerce issues #1239527

    Hi,
    Sorry for the late reply and thanks for the screenshot, I checked your check out page and found that the input fields are actually “iframes” from the “stripe” domain. So in this case you can not control the element because it is not your domain.
    But the input fields already have the font size defined at 15px with this css:

    .ElementsApp, .ElementsApp .InputElement {
        color: #31325F;
        font-size: 15px;
    }

    so I would think that this addresses the zoom effect for the element, but if not I found this article on styling the fields. You can try this css based on the information from the article:

    #stripe-card-element,
    #stripe-exp-element,
    #stripe-cvc-element {
    	font-size: 16px !important;
    }

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

    Best regards,
    Mike

    in reply to: Html5 Audio Player PRO odd conflict #1239520

    Hi,
    Thank you, did you find that this helped, is there anything else we can assist with on this?

    Best regards,
    Mike

    in reply to: Portfolio Grid display not working right #1239354

    Hi,
    Glad to hear, and thank you for your patience while we sorted this out. Unless there is anything else we can assist with on this issue, shall we close this then?

    Best regards,
    Mike

    in reply to: Tab Section Problem after Update #1239173

    Hi,
    @parosweb sorry for the late reply, and thanks for the login & ftp access. So I have tested this issue and your page, I copied your page to my localhost to test and found that while the fix is in this version and it seems to work for elements I create, in English, but if I test your Greek text tab section titles the element breaks.
    I will report this to the dev team, as a temporary solution, you could use icons or images instead of your titles, or you could wait until we hear back from the dev team.

    Best regards,
    Mike

    in reply to: Portfolio Grid display not working right #1239158

    Hi,
    The dev team has returned a fix for the full-width button in the Ajax Portfolio Preview text section: “The full-width element full-width button shortcode broke the layout because called outside shortcode tree and creating an extra section.” Full-width elements try to full-width for the screen not just the element, so typically placing a full-width element inside a page element will cause an issue. In this case, the dev team edited the full-width button and the portfolio element so this will work correctly.
    This will be included in the next release. In the zip file in the Private Content area, you will find two files:
    buttons_fullwidth.php & portfolio.php
    via ftp, please save a fallback copy of your current files and replace these at these locations:
    \wp-content\themes\enfold\config-templatebuilder\avia-shortcodes\buttons_fullwidth\buttons_fullwidth.php
    \wp-content\themes\enfold\config-templatebuilder\avia-shortcodes\portfolio\portfolio.php
    Then clear your browser cache and any cache plugin, and check.

    Best regards,
    Mike

    in reply to: Portfolio Grid Feed Pagination does not seem to work #1238467

    Hey Ivana,
    Sorry for the late reply, I didn’t see the video, but I did see that your pagination links seem to have the trailing page number stripped from the url.
    Please include an admin login in the private content area so we can take a closer look. Can we temporarily disable your plugins for testing?

    Best regards,
    Mike

    in reply to: Tab Section Problem after Update #1238464

    Hi,
    The patch should already be in this version, please include an admin login in the Private Content area so we can investigate.

    Best regards,
    Mike

    in reply to: Column spacing on single page #1238444

    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: Html5 Audio Player PRO odd conflict #1238343

    Hi,
    Thank you for the login, I see that the button “Edit Audio Player (Classic Editor)” is always pointing to the “post=1766” which is one of your Audio Players, it doesn’t seem to matter if it is a post or a page, and there are no errors in the browser console.
    If I disable your plugin “Disable Gutenberg” and change the default editor at Enfold Theme Options > Select Your Editor the button changes text but not the wrong link.
    So I don’t know why this plugin & Enfold are clashing, but unfortunately, there is not a lot we can for third-party plugins within the scope of our support.
    But since the link never changes, I think we can replace the link with the correct edit link for pages and posts with this script and hopefully improve your workflow.
    Try adding this code to the end of your functions.php file in Appearance > Editor:

    function custom_script(){
      ?>
      <script>
    (function($){
      $(window).load(function(){
      function get_current_page_id() {
        var page_body = $('body');
    
        var id = 0;
    
        if(page_body) {
            var classList = page_body.attr('class').split(/\s+/);
    
            $.each(classList, function(index, item) {
                if (item.indexOf('page-id') >= 0 || item.indexOf('postid-') >= 0) {
                    var item_arr = item.split('-');
                    id =  item_arr[item_arr.length -1];
                    return false;
                }
            });
        }
        return id;
    }
    var id = get_current_page_id();
    var theURL = '/wp-admin/post.php?post='+id+'&action=edit&classic-editor=1';
      $('#wp-admin-bar-edit a').mouseover(function() { 
                $(this).attr("href", theURL);
            });
      });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'custom_script');

    this will not change the text of the button, but it does change the link.
    Please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Enfold (4.7.6.2) Breaks Masonry Gallery Pagination #1238319

    Hi,
    Sorry for the late reply, and thanks for the login, I first disabled your custom code to see the pagination working the default way, but as soon as your page loads the /page/2/ part of the URL is stripped so the pagination doesn’t advance to the next page.
    It looks like your gform plugin might be doing this.
    Please try disabling your plugins and enable one at a time clearing your cache in between each one.
    Once we can get the pagination working again we can take another look at the scrolling to the top issue.

    Best regards,
    Mike

    in reply to: Issues with url's containing a # #1238315

    Hi,
    Sorry for the late reply, to load your edited /avia.js file via the child theme, first ensure that your file is at: /enfold-child/js/avia.js by creating a folder called “js” in your child theme directory.
    Then add this code to the end of your child theme functions.php file in Appearance > Editor:

    //Load child theme avia.js
    function wp_change_aviajs() {
    	wp_dequeue_script( 'avia-default', get_template_directory().'/js/avia.js', array('jquery'));
    	wp_deregister_script(  'avia-default', get_template_directory().'/js/avia.js', array('jquery'));
    	wp_enqueue_script( 'avia-default', get_stylesheet_directory_uri().'/js/avia.js', array('jquery'));
    	
    	}
    	add_action( 'wp_enqueue_scripts', 'wp_change_aviajs', 100 );

    Then clear your browser cache and any cache plugin, a couple of times and check.

    Best regards,
    Mike

    in reply to: Incompatibility #1238312

    Hey myroska,
    Sorry for the late reply and thanks for the link and screenshot, I also checked your page and see the duplicate code. I see that you included ftp access, but can you also include an admin login to your site so we and examine further?

    Best regards,
    Mike

    in reply to: Main Page Event Calendar without CSS #1238306

    Hi,
    Sorry for the late reply and thanks for the login, I checked your test event and found the event had already expired, so I changed the start and end dates so it will show. I couldn’t find the setting with the block editor set so I enabled the Classic Editor.
    Then I found your site giving this error: (failed)net::ERR_CONNECTION_RESET sometimes for your enfold stylesheet, and sometimes for your javascript files.
    Please check your server error log to see why your site seems to rest the connection on most page reloads, this seems like a server misconfiguration.

    Best regards,
    Mike

    in reply to: Construction Demo will not import #1238294

    Hi,
    Very good then and thanks for your feedback, 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: Html5 Audio Player PRO odd conflict #1238287

    Hey Blaise,
    Sorry for the late reply, and thanks for the screenshots. So when the button in your toolbar says “Edit Audio Player (Classic Editor)” it links to the plugin settings, and this occurs if you “preview” a page?
    Yet if you publish the page the button will say “Edit Page (Advanced Layout Builder)”, correct?
    Can we login to your site to examine? Please include an admin login in the private content area so we can take a closer look.

    Best regards,
    Mike

Viewing 30 posts - 16,231 through 16,260 (of 35,023 total)