Forum Replies Created

Viewing 30 posts - 17,581 through 17,610 (of 35,074 total)
  • Author
    Posts
  • in reply to: Insert Code in an Enfold Button #1200866

    Hey debacqua19,
    Your button shortcode contains a PayPal form, so there is not an easy way to add this to a default button.
    You could add the default button classes to your buttons but you would not have the button text, so they would not look the same.
    Sorry, I can’t think of an easy solution for you on this.

    Best regards,
    Mike

    in reply to: White line under footer with gravity form on pages #1200857

    Hey Bertrand,
    Thanks for the link, it looks like your Gravity form plugin is adding an empty div for the datepicker at the end of your site

    <div id="ui-datepicker-div" class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>

    Perhaps the plugin wanted to add this to the form but it’s been added to the “body” of the page.
    I’ve tried changing it’s visibility with different tricks but this also hides the datepicker.
    Please try contacting Gravity form, perhaps they have a solution for this.

    Best regards,
    Mike

    Hey Rio1,
    Thank you for the login, but unfortunately, the login doesn’t have admin privileges so we can’t see your post.
    Please update the user login to “admin”

    Best regards,
    Mike

    in reply to: Enfold Mobile Back to Top Arrow Not Showing Up #1200850

    Hi,
    As I’m sure you are aware, the “scroll-top-link” doesn’t show on mobile screens by default, so you would need to use some css like this for it to show:

    @media only screen and (max-width: 767px){
    .responsive #scroll-top-link {
        display: block;
    }
    }

    But for your question to have the button show when the scroll reaches 75% of the page, after you apply the css please edit \wp-content\themes\enfold\js\avia.js on line 862 you should find if(st < 500) change to if(st < $(document).height()*0.75)
    Then clear your browser cache and any cache plugin, and check.

    Best regards,
    Mike

    in reply to: Enfold End of live (EOL)? #1200847

    Hey ZY,
    Thank you for your question, we are contenting our development of Enfold, so you won’t need to worry about this.

    Best regards,
    Mike

    in reply to: please delete post #1200846

    Hey Panait Mihai Vlad,
    I have deleted it for you.

    Best regards,
    Mike

    in reply to: 'Latest News' widget – bulleted list? #1200843

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

    #newsbox-3.newsbox li a strong {
    	    display: list-item;
    	    list-style: disc inside; 
    } 

    Best regards,
    Mike

    Hi,
    Glad to hear this helped, this is just due to having a menu item pointing to a popup hidden on the page, probably don’t do that often.
    Unless there is anything else we can assist with on this issue, shall we close this then?

    Best regards,
    Mike

    Hey nojo0440,
    Since you have v4.2.6 installed which uses the old Envato API, the theme will not show an update available, after you update and use the new Envato “Token” you will see updates available.
    So to get you up-to-date you will need to manually update, The easiest and safest way to do this 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 directory is named the default “enfold” at \wp-content\themes\
    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,
    Mike

    in reply to: Link as post question #1200833

    Hey williamslyd,
    Sorry for the late reply, I tried looking at the page you linked to but it’s leading to a 404 now, do you have a current example that we can view?

    Best regards,
    Mike

    Hi,
    Sorry for the late reply, I took a look at the 3 columns on your homepage, “LATEST DEVELOPMENTS, IMPACT ANALYSIS, GLOBAL RESPONSE”
    these seem to be the “link” posts, but they all seem to be linking to the external sites as you wished, has this been resolved?

    Best regards,
    Mike

    in reply to: Ad spotify social icon #1200828

    Hi,
    Sorry for the late reply, to add the title below the lightbox popup Try adding this code to the end of your functions.php file in Appearance > Editor:

    function custom_script(){
      ?>
      <script>
    (function($){
      $(window).load(function(){  
          $('a.aviaccordion-slide-link.lightbox-added').magnificPopup({
          type: 'image',
          image: {
              titleSrc: false,
              markup: '<div class="mfp-figure">'+
                        '<div class="mfp-close"></div>'+
                        '<div class="mfp-top-bar"></div>'+
                        '<div class="mfp-img"></div>'+
                        '<div class="mfp-bottom-bar">'+
                          '<div class="mfp-title"></div>'+
                          '<div class="mfp-counter"></div>'+
                        '</div>'+
                      '</div>',
          },
          mainClass:          'avia-popup mfp-zoom-in mfp-image-loaded',
          closeOnContentClick:  false,
          midClick:         true,
      
          gallery: {
            enabled:      true
          },
      
          callbacks: {
          markupParse: function (template, values, item) {
            values.title = item.el.find('img').attr('alt') + '<br>' + item.el.closest('.aviaccordion-slide-link').find('.aviaccordion-image').text();
          },
      
          // this - is Magnific Popup object.
              change: function() {
                  $(this.content)
                      .find('.mfp-top-bar')
                      .html(
                          '<h2>' +
                              $(this.currItem.el).attr('title') +
                          '</h2>'
                      );
              },
              buildControls: function() {
                // re-appends controls inside the main container
                this.arrowLeft.appendTo(this.contentContainer);
                this.arrowRight.appendTo(this.contentContainer);
              },
          },
        }); 
        // close the iframe window
        $(document).on('click', '.popup-modal-dismiss', function (e) { 
          $.magnificPopup.close();
        });
      });
      })(jQuery);
      </script>
    <?php
    }
    add_action('wp_footer', 'custom_script');

    Then please add your title to the “Alternativer Text” field in your media library for each image:
    2020-04-04_125447.png
    the alt field used as the lightbox “title”
    2020-04-04_125627.png

    Best regards,
    Mike

    Hi,
    I checked again and this time the menu highlight changed about halfway down the page, I didn’t have the flickering, but the page menu changed from red to white then. But the cause is the same as when I did see it flickering, the popup ID is in the page near the bottom of the page so when we scroll down the menu thinks we are at that part of the page, the same action occurs when we have a one-page site with a few anchors, as you scroll down the menu items will highlight to show which part of the page you are on.
    Since each of your menu items represent a full page this css should override the flickering:

    /*fix menu highlighting*/
    #top.home #header .av-main-nav > li#menu-item-534 > a .avia-menu-text {
        color: #cb2026;
    }
    #top.page-id-26 #header .av-main-nav > li#menu-item-168 > a .avia-menu-text {
        color: #cb2026;
    }
    #top.page-id-34 #header .av-main-nav > li#menu-item-169 > a .avia-menu-text {
        color: #cb2026;
    }
    #top.page-id-31 #header .av-main-nav > li#menu-item-170 > a .avia-menu-text {
        color: #cb2026;
    }
    #top.page-id-29 #header .av-main-nav > li#menu-item-171 > a .avia-menu-text {
        color: #cb2026;
    }
    #top.parent-pageid-34 #header .av-main-nav > li#menu-item-169 > a .avia-menu-text {
        color: #cb2026;
    }

    I added this to your Quick CSS and tested on Firefox & Chrome, please clear your browser cache and check.

    Best regards,
    Mike

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

    in reply to: Text Block blank when trying to edit #1200793

    Hi,
    Thank you.

    Best regards,
    Mike

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

    in reply to: Moving element over element above #1200788

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

    in reply to: LTR+RTL #1200782

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

    in reply to: #payment_box for Klarna. too small #1200509

    Hi,
    Sorry for the late reply, glad to hear you have sorted it out, shall we close this then?

    Best regards,
    Mike

    in reply to: Icon next to title on portfolio Grid #1200507

    Hi,

    @marcgys
    sorry for the late reply, please link to your page so we can see what you have so far.

    Best regards,
    Mike

    in reply to: table of contents not support chinese word #1200504

    Hi,
    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%89 instead of:
    http://51.dr104.com.tw/?p=382#標題三

    Best regards,
    Mike

    in reply to: Transparent header, White Logo & Icons in mobile menu #1200500

    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

    Hi,
    Thanks, I took a look at your other thread and posted a comment, I recommend closing this thread and continuing there.

    Best regards,
    Mike

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

    in reply to: No Animations on the latest Version (4.7.3) #1200166

    Hi,
    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/enfold is 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,
    Mike

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

    in reply to: Using Lightbox popup from menu option #1200158

    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

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

    in reply to: Social Media in Footer #1200150

    Hi,
    Thank you for the feedback, there are more customization examples in the Enfold Documentation

    Best regards,
    Mike

    in reply to: Knowledge Base icon not provide in the template #1200145

    Hi,
    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?
    2020-04-02_062939.png
    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
    2020-04-02_064338.png
    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,
    Mike

Viewing 30 posts - 17,581 through 17,610 (of 35,074 total)