Forum Replies Created

Viewing 30 posts - 13,771 through 13,800 (of 35,289 total)
  • Author
    Posts
  • in reply to: Advanced Layerslider #1331084

    Hi,
    Thanks for the feedback, I believe that I have achieved this on a test page for you, please check this page.
    I first made a copy of your page, and copied your slider to “test slider copy” then I removed the background image from the test slider:
    2021-11-30_001.jpg
    then I added this css to your Quick CSS:

    #top.page-id-2004 #main {
        background-repeat: no-repeat;
        background-image: url(https://nordicanalytics.dk/wp-content/uploads/2021/11/gbnm.png);
        background-position: 50% 50%;
        background-attachment: fixed;
    }
    
    #top.page-id-2004 #layer_slider_1 {
    	background: transparent;
        background-color: transparent;
    }
    

    please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Top of website too high, hidden behind header #1331077

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: different start pages for mobile and PC #1331075

    Hi,
    Thanks for the login, the reason this didn’t work was because you are forcing jQuery to load in the footer so you were getting an error, to correct I removed the jQuery part of the script and now it works. Although it is disabled as you requested.
    This is the new script.

    function custom_mobile_homepage() {
        ?>
    	<script>
    		const mediaQuery = window.matchMedia('(max-width: 480px)');
    	if (window.location.pathname == '/' && mediaQuery) {
    	   window.location = "/startseite-mobil/";
    	}
    	</script>
        <?php
    }
    add_action( 'wp_head', 'custom_mobile_homepage', 10 );

    Best regards,
    Mike

    in reply to: Change shape and position for Dropdown menu #1331073

    Hi,
    Glad we were able to help, and thank you for using Enfold.

    Best regards,
    Mike

    in reply to: Advanced Layerslider #1331007

    Hi,
    Sorry I don’t believe that I understand what you are trying to achieve, I see the fixed image behind the “Our values” time line, but I don’t understand how you want scroll applied to the layerslider, there is only one slide so your not using the scroll function to switch slides?
    Are you trying to have a transparent layerslider element and show the fixed body image behind it? I don’t believe that is possible because the layerslider would have to be placed inside of another element like a color section, but you can’t do that with the layerslider element.

    Best regards,
    Mike

    in reply to: Need help from support #1331004

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread instead of the contact form, and we will gladly try to help you.
    Thank you for using Enfold.
    Best regards,
    Mike

    in reply to: Top of website too high, hidden behind header #1331001

    Hi,
    Thank you for the login, to correct the logo interfering with the menu sub-menus I adjusted the script to this:

    
    function hide_lower_half_of_logo_on_scroll() { ?>
        <script>
    (function ($) { 
      $('.logo, .logo *').css({'max-height':'269px','height':'269px','width':'131px'});
      $(window).scroll(function() {
        var width = $(window).width(), height = $(window).height();    
        var scroll = $(window).scrollTop();
          if (scroll >= 90 && width >= 768) {
        $('.logo, .logo *').css({'clip-path':'inset(0 0 63% 0)'});
       } else {
        $('.logo, .logo *').css({'clip-path':'none'});
       }
      });
    })(jQuery); 
    </script>
        <?php
    }
    add_action('wp_footer', 'hide_lower_half_of_logo_on_scroll');

    Now the bottom half of the logo image is hidden with clip-path instead of overflow.

    For the anchors landing behind the header you had this function with a negative 50, I changed it to a positive 25 and now it works correctly:

    function avf_header_setting_filter_mod($header) {
    	$header['header_scroll_offset'] = $header['header_scroll_offset'] + 25;
    	return $header;
    }
    add_filter('avf_header_setting_filter', 'avf_header_setting_filter_mod', 9999, 1);

    please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Portfolio Thumb #1330994

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: deformed images #1330993

    Hi,
    Glad to hear, for the button try this css:

    @media only screen and (max-width: 767px) { 
    #top.single-product form.cart {
        margin-top: 20px;
    }
    }

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

    Best regards,
    Mike

    in reply to: images on masonry not taking size #1330991

    Hi,
    Glad we were able to help, and thanks for the suggestion, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: animation numbers bold #1330990

    Hi,
    Glad that helped, the plus & percentage signs are using opacity 0.5 so they look faded, to make them the same as the numbers try this css:

    #top .avia-no-number {
        opacity: 1;
    }

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

    Best regards,
    Mike

    in reply to: problem with preview my home page #1330848

    Hi,
    Does this only concern the “preview” of the page and not the actual page? Meaning that you only see the old version in preview, but if you save and publish your changes show on the actual published page? Perhaps try clearing the old revisions.

    Best regards,
    Mike

    in reply to: Menu order #1330847

    Hi,
    I couldn’t login with the password above to check, but testing the script on my test site didn’t give any errors, try copying the code again from the forum and not an email, or update the password you posted for us so we can try.

    Best regards,
    Mike

    in reply to: Changing checkout block color #1330843

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: Top of website too high, hidden behind header #1330842

    Hi,
    Please include an admin login in the Private Content area so we could examine closer.

    Best regards,
    Mike

    in reply to: Search autofocus on field and click on mobile search #1330839

    Hi,
    Glad to hear this helped you sort this out for your site, but as @Guenni007 pointed out a combination of solutions should be avoided, your snippet above is specific to your site and menu items, so future readers will need to adjust the code .insertAfter('.menu-item-178580');
    Future readers could look at @Guenni007’s shortcode in a menu item solution or @Ismael’s solution as options.
    So thanks for sharing what worked for you, If you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: Favicon not showing in frontend #1330836

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: Colour Section Background Video keeps looping. #1330833

    Hi,
    I believe when the first loop of the video ends the still frame is the first frame of the video, check the direct link below, it doesn’t autoplay so you can see the first frame.
    So to correct you should edit the video so the first frame is correct.

    Best regards,
    Mike

    in reply to: Search autofocus on field and click on mobile search #1330831

    Hi,
    Thanks @Guenni007 your help was great I’m glad that you pointed out the position of the input lines above, I didn’t know that.

    Best regards,
    Mike

    in reply to: deformed images #1330761

    Hi,
    When I check in Windows Chrome DevTools, the .current-image has a height of 95vh breaking out of the .wc360-container Please see the screenshot in the Private Content area.
    In this screenshot you will see the image (blue area) goes behind the title and the bottom of the image is hidden, so this is the “OK” Android view, in Safari DevTools on a Mac the same 95vh stretchs the image even more. In my test changing the 95vh to 480px corrected this for both, so please try this css:

    @media only screen and (max-width: 767px) {
    #wrap_all #main .threesixty .threesixty_images img.current-image {
        max-height: 480px!important;
    }
    }

    After applying the css, please clear your browser cache and check.
    Please note that testing with iPads & iPhones can be hard to clear the cache, often you need to also clear the history to fully purge the cache, following these steps for Safari and note Step 4 where you will Clear the History.

    Best regards,
    Mike

    Hi,
    Glad Rikard could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: Top of website too high, hidden behind header #1330757

    Hi,
    Thanks for the link to your site, have you tried removing your script above to see if that is the issue? I believe your script is more complicated that it needs to be, below I have linked to a test page where I have the header set to 100px:
    2021-11-28_004.jpg
    and the header behavior set as sticky and not shrinking:
    2021-11-28_005.jpg
    then I added your logo and this script to the end of my child theme functions.php file in Appearance ▸ Editor:

    function custom_script() { ?>
        <script>
    (function ($) { 
      $(window).scroll(function() {
        var width = $(window).width(), height = $(window).height();    
        var scroll = $(window).scrollTop();
          if (scroll >= 90 && width >= 768) {
        $('.av-logo-container > .inner-container').css({'overflow':'hidden'});
       } else {
        $('.av-logo-container > .inner-container').css({'overflow':'visible'});
       }
      });
    })(jQuery); 
    </script>
        <?php
    }
    add_action('wp_footer', 'custom_script');

    and this css in my General Styling ▸ Quick CSS field:

    .logo, .logo * {
        max-height: 269px!important;
        height: 269px!important;
        width: 131px!important;
    }
    

    now the logo behaves like yours on scroll and the anchor links I added to the page land correctly and not behind the header.
    Perhaps you could try this.

    Best regards,
    Mike

    in reply to: Portfolio Thumb #1330755

    Hey xela,
    Thank you for your patience and the link to your site, Try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    
    add_filter( 'avf_modify_thumb_size', 'enfold_customization_modify_thumb_size', 10, 1 );
    function enfold_customization_modify_thumb_size( $size ) {
      $size['entry_with_sidebar'] =array('width'=>1500, 'height'=>1500 , 'crop' => false);
      return $size;
    }
    

    this will only take effect on new uploaded featured images, or you can use the thumbnail regeneration plugin

    Best regards,
    Mike

    in reply to: Colour Section Background Video keeps looping. #1330754

    Hey Corina,
    Thanks for the link to your site, my research finds that this is a known, and argued expected behavior for the Vimeo player when a video is a background video.
    I tested your video in a color section background & in a video element and found this a reasonable explanation and do not believe that it is a result of the Enfold element.
    I did come up with a possible solution that works on my test site and also seems to work on your site.
    The following script rewrites the iframe url after the video starts and breaks the loop, thus ending with the video on the first frame.
    If you would to try this, add this code to the end of your functions.php file in Appearance ▸ Editor:

    function custom_script() { ?>
        <script>
    (function($){
          setTimeout(function(){
          $("#top.home #av_section_1 iframe").attr("src", "//player.vimeo.com/video/650191459?portrait=0&byline=0&title=0&badge=0&loop=0&autopause=0&api=1&rel=0&player_id=player_5394_254066182_1922605071&color=ef5e95");
          },800);
    })(jQuery);
    </script>
        <?php
    }
    add_action('wp_footer', 'custom_script');

    The only other solution I can recommend would be to embed your video in a code block so that it is not a background video.

    Best regards,
    Mike

    in reply to: different start pages for mobile and PC #1330752

    Hey Severin,
    There is not a built-in feature for this but you could try this function. Try adding this code to the end of your functions.php file in Appearance ▸ Editor:

    
    function custom_mobile_homepage() {
        ?>
    	<script>
    	if (window.location.pathname == '/' && jQuery(window).width() <= 480) {
    	   window.location = "/mobile-homepage/";
    	}
    	</script>
        <?php
    }
    add_action( 'wp_head', 'custom_mobile_homepage', 10 );
    

    adjust the /mobile-homepage/ to your new page.

    Best regards,
    Mike

    in reply to: Change shape and position for Dropdown menu #1330749

    Hi,
    For this slider I see that you are doing width:600px; to force the word break, with a margin-left:26%; to center.
    I recommend trying width:32ch; to force the word break, CH is a width that is *close to a character width, and margin:auto; to center.
    Try this css instead of yours:

    @media only screen and (min-width: 480px) {
    #top.page-id-3642 #full_slider_1 .av-slideshow-caption h1.avia-caption-title {
        width: 32ch;
        font-style: italic;
        margin: auto;
    }
    #top.page-id-3642 #full_slider_1 .av-slideshow-caption .avia-caption-content {
    	width: 36ch;
    	margin: auto;
    }
    }
    @media only screen and (max-width: 769px) { 
    	#top.page-id-3642 #full_slider_1 .slideshow_caption {
    		padding: 0;
    	}
    }
    @media only screen and (min-width: 376px) and (max-width: 479px) { 
    	#top.page-id-3642 #full_slider_1 .av-slideshow-caption .avia-caption-content p {
    		font-size: 20px;
    		width: 100%;
    		margin: auto;
    	}
    	#top.page-id-3642 #full_slider_1 .av-slideshow-caption h1.avia-caption-title {
    		font-size: 20px!important;
    		width: 32ch;
    		margin: auto;
    	}
    }
    @media only screen and (max-width: 375px) { 
    	#top.page-id-3642 #full_slider_1 .av-slideshow-caption .avia-caption-content p {
    		font-size: 13px;
    		width: 100%;
    		margin: auto;
    	}
    	#top.page-id-3642 #full_slider_1 .av-slideshow-caption h1.avia-caption-title {
    		font-size: 15px!important;
    		width: 32ch;
    		margin: auto;
    	}
    }

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

    Best regards,
    Mike

    in reply to: Search autofocus on field and click on mobile search #1330745

    Hi,
    Thanks for the feedback, I see that your mobile search results are wrapped in a href (link) from menu-item-91335, in my research I see this thread from @Guenni007 that he suggested .removeAttr("href"); to remove the link:
    2021-11-28_001.jpg
    but later in your recap you do not use it.
    In my test if you add this link to your code: $('.menu-search.menu-item-91335>a').contents().unwrap().wrap('<p/>');
    2021-11-28_002.jpg
    and add this to your css:

    #top #searchform>div {
            margin: auto;
    }

    your mobile search results are clickable.
    If you have trouble with this then please include admin login in the Private Content area so we can be of more assistance.

    Best regards,
    Mike

    in reply to: Search autofocus on field and click on mobile search #1330740

    Hi,

    @Guenni007
    thank you for your help, @El thank you for the link to your site and for your patience,
    I have checked your site with Chrome, Firefox & Edge on Windows 10 & with Safari on Mac and I find that your search icon autofocus to the input field on click, so I assume that you did follow Guenni007 suggestion and now just need to clear your browser cache, Please note that testing with iPads & iPhones can be hard to clear the cache, often you need to also clear the history to fully purge the cache, following these steps for Safari and note Step 4 where you will Clear the History.

    Best regards,
    Mike

    in reply to: Content slider #1330712

    Hey Veronika,
    Thank you for the link to your site and for the screenshot, the following css covers all of your requests except the categories because this element doesn’t show categories:
    2021-11-27_022.jpg
    Please try this code in the <strong style=’color:#000′>General Styling ▸ Quick CSS field or in the <strong style=’color:#000′>WordPress ▸ Customize ▸ Additional CSS field:

    #top.home #av_section_2 .avia-content-slider .slide-image, 
    #top.home #av_section_2 .avia-content-slider .slide-image img {
        border-radius: 0px;
    }
    #top.home #av_section_2 .avia-content-slider div .av_one_fifth {
        margin-left: .5%;
        width: 19.2%;
    }
    #top.home #av_section_2 .avia-content-slider .slide-meta-comments,
    #top.home #av_section_2 .avia-content-slider .slide-meta-del {
    	display: none;
    }

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

    Best regards,
    Mike

    in reply to: Menu order #1330711

    Hi,
    Thank you for the link to your site and the screenshot, there is not an official way to do this but I tried to work out a script for you, I wrote it to start at 1024px because you have so many menu items that at 768px they overlap, I recommend removing some items or making the burger menu show for larger screens.
    this is the expected results:
    2021-11-27_021.jpg
    Try adding this code to the end of your functions.php file in Appearance ▸ Editor:

    function custom_script() { ?>
        <script>
    (function($){
    var width = $(window).width();
    if ( width >= 1023) {
    $("#header ul.cart_dropdown").detach().insertAfter('#menu-item-3092').css({'display':'block'});
    $("#menu-item-search").detach().insertAfter('#menu-item-3092');
    } else {}
    })(jQuery);
    </script>
        <?php
    }
    add_action('wp_footer', 'custom_script');

    and this code in the General Styling ▸ Quick CSS field

    @media only screen and (min-width: 1023px) { 
    #top .av-main-nav ul#menu-item-shop a.cart_dropdown_link {
        margin: 0;
        left: 0;
        color: inherit;
        position: relative;
        width: auto;
        -webkit-transition: color 0.15s ease-out;
        transition: color 0.15s ease-out;
        padding: 0 20px;
        height: 70px;
        line-height: 70px;
        border:none;
    }
    #top .header_color .main_menu ul#avia-menu ul#menu-item-shop {
        background-color: transparent;
    }
    #top #avia-menu #menu-item-shop {
    	box-shadow: none;
    }
    }

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

    Best regards,
    Mike

Viewing 30 posts - 13,771 through 13,800 (of 35,289 total)