Forum Replies Created

Viewing 30 posts - 15,691 through 15,720 (of 35,013 total)
  • Author
    Posts
  • in reply to: problem with blog post element and read more tag #1262054

    Hey regehernanski,
    Sorry for the late reply, when a post has been created with the Advanced Layout Builder the except will need to be added manually in the “Rédiger un extrait (facultatif)” field. The “read more” tag will not work in this situation.
    So to use these options we would advise using the standard editor for your posts.
    From looking at your post layout it looks like you wanted to have the featured image as a full-width image above the post, and perhaps this is why you want to use the ALB, but this can be achieved with jQuery, from this:
    2020-11-21_194729.jpg
    to this:
    2020-11-21_194654.jpg
    For this example I used this code to the end of the functions.php file in Appearance > Editor:

    function custom_script(){
      ?>
      <script>
    (function($) {
      $(document).ready(function(){
         $('.single-post .big-preview.single-big').css({ 'max-height': '400px'}).detach().insertBefore('.container_wrap_first');
         $('.single-post .big-preview.single-big a').css({ 'max-height': '400px'});
      });
     })(jQuery);
     </script>
    <?php
    }
    add_action('wp_footer', 'custom_script');

    Perhaps this will help.

    Best regards,
    Mike

    in reply to: column within colum #1262052

    Hey macmutsaers,
    Sorry for the late reply, and thanks for the link to your page, I assume that you want to replace the 8 png images and replace with two big icon lists, such as this example
    2020-11-21_163000.jpg
    First in the developer settings of the left icon list I used the class custom-list-icons to target the left list only, then I used this css, please adjust the URLs to your domain:

    #top .custom-list-icons li:nth-child(1) .iconlist_icon span.iconlist-char:before {
    	content: url(https://your-url/wp-content/uploads/2020/11/Value-of-money.png);
    }
    #top .custom-list-icons li:nth-child(2) .iconlist_icon span.iconlist-char:before {
    	content: url(https://your-url/wp-content/uploads/2020/11/Long-life.png);
    }
    #top .custom-list-icons li:nth-child(3) .iconlist_icon span.iconlist-char:before {
    	content: url(https://your-url/wp-content/uploads/2020/11/Professional-installation.png);
    }
    #top .custom-list-icons .iconlist_icon {
    	background-color: transparent;
    }

    please note that the :nth-child(1) number determines which icon getts which image, you can add more if you wish.
    Please give this a try.

    Best regards,
    Mike

    in reply to: Remove add to cart buttons on archive pages #1262025

    Hi,
    Sorry for the late reply, I added this function to your functions.php which seems to work, please check.

    add_action( 'woocommerce_after_shop_loop_item', 'remove_add_to_cart_buttons', 1 );
    
        function remove_add_to_cart_buttons() {	
    		if( is_product_category() || is_shop()) {
    	remove_action( 'woocommerce_after_shop_loop_item', 'avia_add_cart_button', 16);
    	}
    }

    Best regards,
    Mike

    in reply to: Import script on singel page #1262003

    Hi,
    Thanks for the login, looking at the footer that is missing, I see that the footer is loading before your script loads, then there seems to be a conflict as the script builds your gallery.
    Perhaps if your script could be delayed by a second it would avoid this, does the service were you got this script have a delay option?

    Best regards,
    Mike

    in reply to: Row collapse order #1261991

    Hi,
    Glad to hear you got this sorted out, for the new issue 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: 767px) { 
    #top.page-id-351 #after_full_slider_2 > div > div, #top.page-id-351 #av_section_1 > div > div {
    	padding: 0 !important;
    }
    #top.page-id-351 #after_full_slider_2 > div > div > div > div > div.-flextable {
    	margin-top: 0 !important;
    }
    }

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

    Best regards,
    Mike

    in reply to: Conflict with FacetWP #1261989

    Hi,
    Sorry for the late reply, as I understand the issue this is just changing the Woocoomerce Up and Down arrow buttons back to the (+/-) buttons, and the functionality is working correctly. Please enable FacetWP so we can investigate further.

    Best regards,
    Mike

    in reply to: Advanced Layer Slider doesn't work on homepage #1261987

    Hi,
    Sorry for the late reply and thanks for the login, I copied your homepage to a test page with the Avia Layout Builder Debugger
    the layerslider also works on this page, I’m not sure why the layerslider on your homepage is returning an empty container, but I found this layerslider support ticket that suggests the issue is with jquery-migrate but this didn’t seem to help your site, I also looked in your functions.php for any scripts that might be causing this but I didn’t see any.
    Have you tried disabling all of your plugins? It is strange that this occurs only on the homepage without an error message.

    Best regards,
    Mike

    Hey msteid,
    Sorry for the late reply and thanks for the link and login, 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: 767px) { 
    #top.page-id-12244 .avia-table-1 td:nth-of-type(1):before {
        content: 'Steuerliche Forschungsförderung' !important;
    }
    #top.page-id-12244 .avia-table-1 td:nth-of-type(2):before {
        content: 'Andere Förderprogramme' !important;
    }
    }

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

    Best regards,
    Mike

    in reply to: Import script on singel page #1261959

    Hi,
    Sorry for the late reply, please include an admin login in the Private Content area, I see that your /collectie/ page is missing the footer but I found no browser console errors.
    As for the font on the two pages, it seems that you are using two different versions of the “montserrat” font, the “script” version is loaded with !important; in the css so it would be very hard to override, this is what the script is loading:

    .mox-bootstrap .mox-occasion-list h3,.mox-bootstrap .mox-occasion-list h4,.mox-bootstrap .mox-occasion-list h5 {
        font-family: Montserrat,sans-serif!important;
        color: #232628!important;
        line-height: 22px!important
    }

    But, the difference between the fonts seems hard to see, to me, please include a screenshot of the text you would like to change the font for in the script.

    Best regards,
    Mike

    in reply to: Row collapse order #1261953

    Hi,
    Sorry for the late reply, this is an example of using Flexbox to reverse rows.

    Best regards,
    Mike

    in reply to: Nofollow links on full width easy slider #1261795

    Hi,
    In your code the custom class ‘christmaswarehouse’ doesn’t have the class identifier “dot”…
    So your current code is:
    $("christmaswarehouse a.avia-slide-wrap")
    but it should be like this:
    $(".christmaswarehouse a.avia-slide-wrap")
    Please give this a try and then clear your browser cache, and check.

    Best regards,
    Mike

    in reply to: Options Tables Huge ! #1261791

    Hi,
    Perhaps I didn’t understand correctly, at your last report of the table issue I thought you said that:

    My problem (site crash caused by wp-options table becoming quite large due to aviaAsset_avia-head-scripts)
    was solved when I disabled
    CSS file merging and compression
    and
    Javascript file merging and compression
    and
    Unique timestamp of merged files and WP object cache bug

    So with these disabled, your monthly crash didn’t happen… which is good news since we were not able to reproduce this table crash on the different servers that we tried, I believe that this post was the closest to an explanation… being that the table field is being appended and not cleared on changes.
    Unfortunately, this seems to be due to some server setting or error that I do not know about, but I would think that this key point would help your webhost spot the issue?

    Ok, so now we are at the point that the crash doesn’t occur… but we want to improve your site speed… and you were asking about using Autoptimize, WP Rocket, & Cloudflare to improve your site speed.
    So I would think that we would want to keep the settings disabled that solved the table crash, correct?
    Perhaps a good test would be to keep the settings disabled and add Cloudflare to the mix, I would recommend making only one change at a time, that is either add Cloudflare or WP Rocket.
    I hope this makes sense

    Best regards,
    Mike

    in reply to: Options Tables Huge ! #1261557

    Hi,
    I understood your previous post to mean that you had the “CSS & JS file merging and compression” disabled, this makes sense if you are using Autoptimize or WP Rocket, because both of these have a merging and compression option and you would only want this to occur once, typically errors I see occur when the theme compresses and Autoptimize or WP Rocket does it again, this double compression should be avoided.
    As for using Cloudflare, I found this “article”: Cloudflare: Should You Use It or Not it is by WP Rocket so it does recommend using Cloudflare with WP Rocket, but the explanation is well written.
    I believe adding Autoptimize to the mix is touchy because many of the options are available through the theme options or WP Rocket, but I would guess that carefully choosing options from all three would work out.
    But with your database table issue, which seems to have been corrected by disabling the merging and compression, I would recommend trying Cloudflare with WP Rocket first without Autoptimize as a start.

    Best regards,
    Mike

    in reply to: Layer Slider Error #1261284

    Hi,
    I checked your site again, but it seemed to load fine for me, I tried re-loading about ten times in different browsers,
    2020-11-18_064746.jpg
    In Safari I did notice an error “can’t find variable” from a widget with the URL “fupa.net” but this didn’t stop the page from loading for me.
    In my last reply, I had disabled this option for you and it seemed to correct, which seems to continue today.
    From your screenshot, it looks like you are using Safari on IOS, which can be hard to clear the cache from, please try these steps.

    Best regards,
    Mike

    in reply to: Options Tables Huge ! #1261279

    Hi,

    @Cloudypro
    , I don’t believe that this solution would help you, as I recall that solution was before the “Fix WP bug, disable unique timestamps” was added to the “Unique timestamp of merged files and WP object cache bug” option.
    2020-11-18_062848.jpg
    So I believe using this option takes the place of the filter.

    Best regards,
    Mike

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

    Hi,
    Glad to hear this helped :) 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: Open PDF in Portfolio Grid Lightbox #1261023

    Hi,
    Since on Windows I was only able to recreate your error in the browser “Edge”, I tested your site on a Mac with Safari, and I found that the PDF’s open in a lightbox, but they are also redirected to the PDF directly, so if you click the “back” button after the PDF is opened in a new tab (window) I see the empty “lightbox”.
    So I believe that Safari is showing the PDF inline, as directed by the site, but I believe that Safari also wants to show the PDF in a new tab by default, as directed by the browser.
    So I would suggest converting your PDF’s to images to display like this.
    A PDF is a custom “document” type, which is treaded like an HTML document and not like an image type.
    At this point, I don’t believe there is a command for the server to serve the PDF inline.. since it is already occurring.
    I also note that if you open an “image” first and use the “next” arrows to the next lightbox item, the PDF’s open in the lightbox, it seems that opening the PDF’s directly is the issue.

    Best regards,
    Mike

    in reply to: PayPal Express button doesn't show on cart page #1261005

    Hi,
    Sorry to hear that it is not working for you, I have not tested plugins for “Paypal Express functionality” solely, but I did find the woocommerce plugin PayPal Checkout which has Paypal Express functionality. This seems to be a free plugin that is available from the woocommerce site.

    Best regards,
    Mike

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

    Hi,
    Sorry for the late reply, I checked the product page in the Private Content area, and I believe you are referring to the tab “Caractéristiques” that changes to “Info” for mobile, please see the screenshots in Private Content area.
    So I didn’t find the last code solution above in your functions.php, I did find one of the previous solutions from above in your functions.php:

    /*Modifier titre onglet Additional information sur mobile*/
    function woo_rename_tabs( $tabs ) {
    	if(wp_is_mobile()) {
    	$tabs['additional_information']['title'] = __( 'Infos' );	// Rename the additional information tab
    	return $tabs;
    	} else{ return $tabs; }
    }
    add_filter( 'woocommerce_product_tabs', 'woo_rename_tabs', 98 );

    As I recall, this code was unsatisfactory, so I commented it out and added the last solution above, modified for the new tab name:

    function custom_woo_tab_title_script(){
      ?>
      <script>
    (function($){
      $(document).ready(function(){
      	var width = $(window).width()
      	if ((width <= 479)) {
      $('.single-product #tab-title-additional_information a').each(function() {
        var text = $(this).text();
        $(this).text(text.replace('Caractéristiques', 'Infos')); 
    });
    } else {}
    });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'custom_woo_tab_title_script');
    

    This seems to work correctly, this change is now live so please clear your browser cache and check.
    Please note that a screen resolution change doesn’t trigger this, so when testing the page must be reloaded for the change to show, simply resizing a desktop browser to emulate a mobile browser will not work.

    Best regards,
    Mike

    in reply to: Enfold > Background image > Remove on mobile #1260721

    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: PayPal Express button doesn't show on cart page #1260720

    Hi,
    Sorry for the late reply, I was not able to determine the cause for this, but I was able to show the PayPal button on the cart page with this script, try adding this code to the end of your functions.php file in Appearance > Editor:

    function custom_script(){
      ?>
      <script>
    (function($){
      $(document).ready(function(){
    $( '#top.woocommerce-cart' ).each(function() {
    var clonepp = $( this ).find( '.menu-item.cart_dropdown .woo-paypalplus-checkout-button' );
    var targetpp = $( this ).find( '.wc-proceed-to-checkout .woo-paypalplus-checkout-button' );
    $( clonepp ).appendTo( targetpp );
    
    });
    });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'custom_script');

    Unfortunately, not all plugins work with Enfold, and this seems to be such a case, another option might be to try a different PayPal plugin.

    Best regards,
    Mike

    in reply to: Open PDF in Portfolio Grid Lightbox #1260581

    Hi,
    Glad to hear that you heard back from your webhost, but unfortunately I’m not sure what the correct way to get your server to open the pdf’s inline is, did your webhost offer any advice for this?

    Best regards,
    Mike

    Hi,
    Sorry for the late reply and thanks for the login. I couldn’t get your script to work on my localhost. I did find that there is an issue with the Google Analytics theme option, this has been reported to the dev team.
    Meanwhile, a better approach to adding your scripts would be in your functions.php file in Appearance > ThemeS > Editor
    So for example your alert script would look like this:

    function custom_script(){
      ?>
      <script>
    
    jQuery(document).ready(function(){
    alert("Ready!");
    });
    
    </script>
    <?php
    }
    add_action('wp_footer', 'custom_script');

    Please note that for each script you add you will need to change the custom_script part of the code to be unique, no two functions can have the same name.

    Best regards,
    Mike

    in reply to: Enfold > Background image > Remove on mobile #1260489

    Hi,
    Thank you for the login, I adjusted your css to this:

    @media only screen and (max-width: 480px) {
    #proconcoaching > .av-parallax {
        background-image: none !important;
    }}

    Please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Mobile menu cross icon fixed position? #1260480

    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: Hidden button payment is by card #1260355

    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 for your feedback and 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: Open PDF in Portfolio Grid Lightbox #1260352

    Hi,
    If I understand correctly, when you are logged in as admin the PDF lightbox work correctly, but when you are logged out they do not?
    When I tested your site I was not logged in and the only browser I found an issue in was Edge.
    The 500 Internal Server Error is a sign that my suggestions are not correct for your server, did you get a chance to ask your webhost what the correct code for your server would be?

    Best regards,
    Mike

    in reply to: Mobile menu cross icon fixed position? #1260348

    Hi,
    Glad to hear this helped, I checked your page and the effect looks good, almost as if the close “X” “rolls” to the right 🙂
    Unless there is anything else we can assist with on this issue, shall we close this then?

    Best regards,
    Mike

    in reply to: Mobile menu cross icon fixed position? #1260147

    Hi,
    Thanks for the screenshot and link, I understand your point, but lets try this css which moves the “X” of the open burger to the right so it won’t be over the menu items.

    @media only screen and (max-width: 767px) {
    .responsive.html_cart_at_menu.av-burger-overlay-active #top .main_menu .menu>li:last-child {
        padding-right: 0 !important;
        margin-right: 0 !important;
    }
    .responsive.html_bottom_nav_header.html_cart_at_menu.av-burger-overlay-active #top #wrap_all .main_menu {
        right: -20px !important;
    }
    }

    But perhaps a good approach would be to hide the open “X” on mobile, thinking that the user has “intent” when clicking the burger menu, such as to find the “About” page, is the “X” really necessary? Other than in testing I don’t believe I ever try to close an open burger menu. So with this line of thought you could try this css instead:

    @media only screen and (max-width: 767px) {
    .responsive.html_cart_at_menu.av-burger-overlay-active #top .main_menu .menu>li:last-child {
        display: none !important;
    }
    }

    We could also swap the burger and woo cart on click (or always) with jQuery if you would like 🙂

    Best regards,
    Mike

Viewing 30 posts - 15,691 through 15,720 (of 35,013 total)