Forum Replies Created

Viewing 30 posts - 17,521 through 17,550 (of 35,026 total)
  • Author
    Posts
  • in reply to: Enfold Mobile Back to Top Arrow Not Showing Up #1200905

    Hi,
    I see that you have the Enfold Theme Options > Performance > JS & CSS file merging and compression enabled so perhaps the original avia.js is still loading. Try disabling the file merging and compression and clearing your caches again.
    I tested this on my localhost before posting so I’m sure it works, but it still took a few tries to clear the cache and load the new avia.js

    Best regards,
    Mike

    in reply to: WooCommerce Shop Page Image Links #1200901

    Hi,
    Sorry for the late reply, and thanks for the video. You have a .2s transition for the buttons, please try correcting with this css.
    Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    .cd-shop-add-to-cart {
        transition: 0s !important; 
    }

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

    Best regards,
    Mike

    in reply to: open lightbox from an anchor link #1200896

    Hey NorthcoastProject,
    Sorry for the late reply, I believe this is a duplicate post, I answered your other post about the lightbox anchor link, please check. As for your second part of your question, I believe it’s because the image title is not included in the html. I looked at your page and it looks like you are passing the file name to the mfp-title, the image alt is another option but I see your alt’s are empty right now.

    Best regards,
    Mike

    in reply to: open lightbox from an anchor link #1200895

    Hey NorthcoastProject,
    Sorry for the late reply, thanks for the login but it didn’t work for me, please check. Unfortunately, you can not open a lightbox with an anchor link, but this script will trigger your slideshow lightbox when it scrolls into view, which can be done with the anchor link, so when you click the anchor link and scroll to the ID the lightbox is triggered. I had to add a 500ms delay because the lightbox opened too quickly and was positioned too high on the page, so it was not in view.
    Try adding this code to the end of your functions.php file in Appearance > Editor:

    function custom_script(){
      ?>
      <script>
    function isOnScreen(elem) {
    	if( elem.length == 0 ) {
    		return;
    	}
    	var $window = jQuery(window)
    	var viewport_top = $window.scrollTop()
    	var viewport_height = $window.height()
    	var viewport_bottom = viewport_top + viewport_height
    	var $elem = jQuery(elem)
    	var top = $elem.offset().top
    	var height = $elem.height()
    	var bottom = top + height
    
    	return (top >= viewport_top && top < viewport_bottom) ||
    	(bottom > viewport_top && bottom <= viewport_bottom) ||
    	(height > viewport_height && top <= viewport_top && bottom >= viewport_bottom)
    }
    
    jQuery( document ).ready( function() {
    	window.addEventListener('scroll', function(e) {
    		if( isOnScreen( jQuery( '#slideshow-adventurer' ) ) ) { 
    			 setTimeout(function () {
    			jQuery('#slideshow-adventurer a').trigger('click'); 
    			 }, 500);
     		}	
    	});
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'custom_script');
    

    Best regards,
    Mike

    in reply to: Enfold Shopping Cart Font size #1200894

    Hey grivers99,
    Sorry for the late reply, do you mean the drop down cart next to the menu, or the cart page?
    I took a look at both on your site but I didn’t find any text that was 6px, but I found the description small, which text do you want to make larger?
    For the cart on the cart page, please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    .woocommerce th,.woocommerce td,.woocommerce p {
    	font-size: 20px !important; 
    }

    Best regards,
    Mike

    Hi,
    Sorry for the late reply, I have not seen any working solutions to this, I think WordPress is discouraging this.

    Best regards,
    Mike

    in reply to: Social Media icons mobile #1200887

    Hey pteryxreadyaid,
    By default, the social icons don’t show on mobile, but if you add this css they will.
    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: 479px) {
    .responsive #top #wrap_all #header .social_bookmarks, .responsive #top #wrap_all #main .av-logo-container .social_bookmarks {
        display: block !!important; 
    }
    }

    Best regards,
    Mike

    Hi,
    I’m not sure what happened to your site before, but if you would like to remove your slugs please see this documentation and use the lite version of this plugin.

    Best regards,
    Mike

    in reply to: Background image startpage #1200879

    Hey Merilla,
    All of the images in our demos are free to use, CC0, which is passed on to you, so you should feel free to use them.
    This image is from a while back now, 2015, and further information about other images I’ve asked about was not available so I think the same would be true for this one.

    Best regards,
    Mike

    in reply to: Dropdown menu on secondary menu #1200877

    Hey NiekvdB,
    Sorry for the late reply, unfortunately, your screenshot now leads to a 404 so we can’t see this, but from your description you would like your woocommerce sidebar category menu to show as a drop down menu, but I don’t see an easy way to do this other than using css to hide the child items until the parent has the hover event, Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    .widget_product_categories li.cat-item-20.current-cat ul.children {
    	display: none;
    }
    .widget_product_categories li.cat-item-20.current-cat:hover ul.children {
    	display: block;
    	border: solid 1px;
    }

    how it looks on-hover:
    2020-04-04_175837.png
    You can remove the border from the css if you wish.
    Please note that the child items only show when you are on the page in the Private Content area.

    Best regards,
    Mike

    in reply to: png icons #1200873

    Hey payton_sil,
    Sorry for the late reply, the “icon fonts” are actually font files like “.woff” they are not images or icons, so in the “Iconfont Manager” in the import/export theme options you will need to upload a zip file with the “iconfont”, fontello.com lets you download the font file.
    You could download the .svg from flaticon and upload to fontello and then download the font file. Please note that you can only use the black & white svg images to create the font files.

    Best regards,
    Mike

    in reply to: links not working in footer.php on mobile #1200871

    Hey GWS,
    Sorry for the late reply, please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    .socket-brand {
    	z-index: 20;
        position: relative;
    }
    #socket > .container {
    	z-index: 0;
        position: relative;
    }

    Best regards,
    Mike

    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

Viewing 30 posts - 17,521 through 17,550 (of 35,026 total)