Forum Replies Created

Viewing 30 posts - 22,741 through 22,770 (of 67,510 total)
  • Author
    Posts
  • in reply to: Optimizing images: Should I use more than 1 version? #1114995

    Hi,

    Thank you for the update.

    It probably doesn’t take into account the devices’ pixel ratio or DPI. In some cases, the browser will still load larger version of the image even if a smaller one is available when it deems necessary or in order to serve sharper images. Please note that most iPhone devices have higher pixel density compare to desktops screens, so the browser has to serve larger images for those devices.

    // http://dpi.lv

    For example, if the screen width is 320px with a 1x pixel ratio and the browser has to pick between a 375px and a 1500px image. It has to do the following calculation.

    375 (image #1) / 320 (screen width) = 1.17
    1500 (image #2) / 320 (screen width) = 4.69

    The value 1.17 is closer to 1 (the device pixel ratio), so the browser will serve the 375px image.

    Now, iPhone devices have higher pixel ratio, which is up to 3x of normal screens, so the browser will multiply that value to the screen width and it will end up with the following calculation.

    375 / 960 = 0.39
    1500 / 960 = 1.56

    The value 1.56 is obviously closer to the targeted pixel ratio, which is 3, so it will display the 1500px image even if the screen width is only 320px.

    Best regards,
    Ismael

    in reply to: Private post made public after update #1114839

    Hi,

    Thank you for the update.

    You can try the following snippet in the functions.php to replace the default get_posts function with a custom one whenever the search keyword is numeric and the character length is 6. The function will still use the get_posts function, but with a slightly adjusted query.

    add_filter('avf_ajax_search_function', 'avf_search_by_posts_code_callback', 10, 4);
    function avf_search_by_posts_code_callback($name, $search_query, $search_parameters, $defaults)
    { 
        if( strlen( $_REQUEST['s'] ) == 6 && is_numeric( $_REQUEST['s'] ) ){
          $name = 'avf_search_by_posts_code';
        }
    
        return $name;
    }
    
    function avf_search_by_posts_code( $search_query, $search_parameters, $defaults ) {      
        $search_meta = array(
            'meta_query' => array(
              'relation' => 'AND',
              array(
                  'key' => 'code',
                  'value' => $_REQUEST['s'],
                  'compare' => '='
              ),
      
              array(
                  'key' => 'status',
                  'value' => 'private',
                  'compare' => '='
              )
            )
        );
    
        $search_parameters['numberposts'] = 1;
        $search_parameters['post_type'] = 'q_a';
        $search_parameters = array_merge( $search_parameters, $search_meta );
    
        unset($search_parameters['s']); // remove search query
    
        $posts = get_posts( $search_parameters );
    
        return $posts;
    }

    Don’t forget to remove the “avia_ajax_search” modifications first.

    Best regards,
    Ismael

    Hi,

    Thank you for the update.

    You should also adjust the name of the shortcode from “rpost” to something else.

    add_shortcode( ‘rpost’, ‘related_portfolio_posts_shortcode’ );
    

    Change the name of the shortcode tag.

    Best regards,
    Ismael

    Hi,

    Thank you for the update.

    You should edit the page using the advance layout builder (ALB) or the default/classic editor. It actually depends on what editor you chose in the beginning to create the content, but either way you should not be seeing the link to the block editor because it’s already disabled. Please purge the cache or remove the browser history.

    Best regards,
    Ismael

    in reply to: Info : highlight searched items in search results #1114812

    Hi,

    That’s not available in the theme by default, so you need to use another plugin like the one suggested above. Once you visited the searched posts, the search keyword or the search parameter itself is already lost. The challenge is to find a way to preserve the value of that parameter once you redirect to the searched posts and then use it to highlight the related content.

    Best regards,
    Ismael

    in reply to: Contact form : validation message #1114811

    Hi,

    Thank you for the update.

    The confirmation message doesn’t display because the home page is also set as the 404 page, so the status header on redirect is set to 404 or not found breaking the contact form script. Please create another page and set it as the 404 page.

    Best regards,
    Ismael

    Hi,

    Thank you for the update.

    Edit the layers and in the preview box, look for the “Align Layers” dropdown. Set it to “Bottom Right” and adjust the layer position from there. You can hold shift + arrow button in your keyboard to move the layers 10px to any direction until you get the layer to the desired position. Repeat these steps for every layers. If you can’t get it to work as expected, post the login details in the private field so that we can help you adjust the slider.

    Best regards,
    Ismael

    in reply to: Masonry Gallery Gap – Desktop vs Mobile #1114803

    Hi,

    Thank you for the update.

    That is possible, but you have to increase the width of the gallery’s parent container or the grid row cell and remove the padding around the masonry items.

    @media only screen and (max-width: 767px) {
    .responsive #top #wrap_all .av-flex-cells .no_margin {
        padding-left: 0 !important;
        padding-right: 0 !important; 
    }
    
    .av-large-gap.av-masonry {
        padding: 0;
    }
    
    .av-large-gap.av-fixed-size .av-masonry-entry .av-inner-masonry {
        bottom: 15px;
    }
    }

    Best regards,
    Ismael

    in reply to: auction plugin compatibility with Enfold #1114801

    Hi,

    Thank you for the update.

    We adjusted the filter a bit, but it still doesn’t work. The auction sorting element is probably exclusive to the “Auction” page, so you won’t be able to use it for other pages. Please confirm that with the plugin developer.

    Best regards,
    Ismael

    in reply to: Resize Shop Thumbnail #1114798

    Hi,

    But not only the shop thumb format is smaller, the picture quality is worse

    Have you tried adjusting the width and height value inside the filter? That should improve the image quality. It might be actually good to double the size of the images (400x600px), so they still look good on screens with higher dpi, e.g devices with retina displays.

    Best regards,
    Ismael

    in reply to: Submenu (mega menu) images on right side #1114795

    Hi,

    Thank you for the update.

    You should probably move the menu items in the first mega menu column and then the image in the next one if you want to copy the menu layout of the previous site. We can then provide the necessary css to adjust the menu item and the image.

    The documentation should help. https://kriesi.at/documentation/enfold/mega-menu/#add-images-to-mega-menu

    Best regards,
    Ismael

    in reply to: single item price not showing in cart #1114794

    Hi,

    We can’t connect to the file server using the details above. Could you check that?

    Thank you for the update.

    Best regards,
    Ismael

    Hi,

    Thank you for the update.

    It seems to work fine with or without a category selected. We set the test event to be on the category “Exkursionsreihe”, then selected that same category in the Upcoming Events element and it works as expected. Please note that the element will only display future or upcoming events. It’s not going to display past events or events that have already started.

    Best regards,
    Ismael

    Hi,

    Thank you for the update.

    Try to replace the default WooCommerce template hooks with the theme’s “ava_after_main_container” hook. That should place the additional content right before the main wrapper or container.

    Best regards,
    Ismael

    Hi,

    [Sat Jun 08 06:42:33 2019] [warn] [client 66.102.9.24] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
    [Sat Jun 08 06:42:33 2019] [error] [client 66.102.9.24] Premature end of script headers: index.php
    [Sat Jun 08 07:31:33 2019] [warn] [client 66.249.79.110] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
    [Sat Jun 08 07:31:33 2019] [error] [client 66.249.79.110] Premature end of script headers: index.php

    The error above is what we and your hosting provider should try to resolve. According to some threads, it could be related to the folder and file permissions. Did you change any of that?

    // https://www.smashingmagazine.com/2014/05/proper-wordpress-filesystem-permissions-ownerships/

    The errors also involves the WordFence plugin, so you might want to check that as well. Make sure that the plugins are updated and that the files aren’t corrupted.

    [Sat Jun 08 09:17:53 2019] [warn] [client 2607:f298:5:102f::ffc:e442] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server, referer: https://gatehealing.com/wp-admin/admin-ajax.php?action=wordfence_testAjax
    [Sat Jun 08 09:17:53 2019] [error] [client 2607:f298:5:102f::ffc:e442] Premature end of script headers: admin-ajax.php, referer: https://gatehealing.com/wp-admin/admin-ajax.php?action=wordfence_testAjax

    Best regards,
    Ismael

    in reply to: How to add EDIT link in breadcrumbs? #1114768

    Hi,

    Sorry for the confusion. You should be able to append something at the end of the breadcrumb using the “avia_breadcrumbs_trail” filter. A few examples can be found in the following threads.

    // https://kriesi.at/support/topic/auto-draft-in-breadcrumbs/#post-1014600
    // https://kriesi.at/support/topic/portfolio-category-name-in-breadcrumb-not-translated/#post-925050
    // https://kriesi.at/support/topic/article-title-x2-in-breadcrumb/#post-986525

    Best regards,
    Ismael

    Hey StudioArteimmagine,

    Thank you for using Enfold.

    We can’t see anything unusual with the “Pagani books” slider but it’s not working, so we tried to create a new one. This one displays properly in the page. (see private field)

    Best regards,
    Ismael

    Hey gofitsports,

    Thank you for using Enfold.

    There are slight markup differences between the two languages. For instance, the tag used for the “intro-title” in the EN version is h1 instead of h2. The “home” class attribute of body tag is also missing in the EN version, so a lot of the css modifications that are specifically applied to the home page is not going to work for the EN version. Example:

    .home .axp-about h2 {
        font-family: Heebo;
        font-size: 36px;
        font-weight: 300;
        color: #344763;
        line-height: normal;
        letter-spacing: normal;
    }

    You have to adjust these styles accordingly.

    The site looks great.

    Best regards,
    Ismael

    in reply to: Internet Explorer 11 compatability #1114275

    Hi,


    @stimmungshoch
    : Alright. If I am not mistaken, the latest patch will be released very soon. Thank you for your patience.


    @Caiser_Souze
    : Thank you for the confirmation.

    Best regards,
    Ismael

    Hi,

    Thank you for the update.

    Is it happening on any page? Is it intermittent? We can’t reproduce the issue on a test page that we have just created. (see private field)

    Best regards,
    Ismael

    in reply to: Kontaktformular sendet keine E-Mail #1114261

    Hey Bernds1,

    Thank you for using Enfold.

    Have you tried using the Contact Form 7 plugin temporarily? We usually recommend the plugin to check if it’s actually an issue with the contact form element, or with the host. If you can’t send an email using the plugin, then it’s probably an issue with your email server.

    The following steps might help as well.

    // https://kriesi.at/documentation/enfold/contact-form/#my-contact-form-is-not-sending-emails-

    Best regards,
    Ismael

    in reply to: Mobile View Issues #1114260

    Hi,

    Did you add the following css code before?

    .responsive #top #header .social_bookmarks {
        display: none;
    }

    Please remove that because it hides the social icons, or add this css code to override it.

    @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;
    }
    }

    Best regards,
    Ismael

    in reply to: Relevanssi menu search ajax #1114258

    Hey Kyle,

    Thank you for the update.

    Did you implement the following filter to make the AJAX search compatible with the Relevanssi plugin?

    // https://kriesi.at/documentation/enfold/search/#use-relevanssi-in-search-instead-of-the-default-search

    Best regards,
    Ismael

    in reply to: Ninja Forms not working after latest WordPress update #1114256

    Hi,

    Thank you for the update.

    The ninja form displays fine when we check it on Chrome Windows 8. Where are you testing it? And the forms in the actual job posts display properly as well. FYI, we toggled the device visibility of the element. Have you tried removing the cache?

    Best regards,
    Ismael

    in reply to: Fixed background in tabs section problem #1114255

    Hi,

    Thank you for the update.

    This is actually a browser bug where fixed backgrounds don’t work when the parent container, the “av-tab-section-inner-container” in this case, has a transform property. You can set the background attachment from “fixed” to “scroll” as a workaround.

    // https://bugs.chromium.org/p/chromium/issues/detail?id=20574

    Best regards,
    Ismael

    in reply to: Visual bugs in Internet Explorer, maybe avia? #1114250

    Hi,

    Thank you for the update.

    We found another error in the site, but it’s something we have already fixed in another thread. Here’s it is:

    // https://kriesi.at/support/topic/internet-explorer-11-compatability/#post-1109429

    And another error came out but it’s unspecified, so we have no idea what’s causing it.

    SCRIPT16389: Unspecified error.
    File: kontakt, Line: 1, Column: 1
    

    // https://docs.microsoft.com/en-us/microsoft-edge/devtools-guide/console/error-and-status-codes#javascript-run-time-errors

    Best regards,
    Ismael

    in reply to: Enfold update support #1114240

    Hi,

    Awesome! Glad to hear that the issues are fixed. Please feel free to open a new thread if you encounter any issues with theme.

    Have a nice day!

    Best regards,
    Ismael

    in reply to: Blank Pages after Plugin Install #1114239

    Hi,

    Thank you for the update.

    The site is still running on an older version of the theme 4.4.1 and the settings that enables you to select an editor doesn’t exist in that version, yet. Please upgrade the theme to version 4.5.7 manually via FTP.

    // https://kriesi.at/documentation/enfold/theme-update/#update-via-ftp

    Best regards,
    Ismael

    Hi,

    Thank you for the update.

    You should be able to duplicate that shortcode and use it for your portfolio items. Just replace the “related-posts” with “related-portfolio-posts” so that it displays the correct post type or taxonomy.

    Best regards,
    Ismael

    in reply to: Blog page sidebar edit #1114229

    Hi,

    Thank you for using Enfold.

    Did you assign featured images to those posts? The featured image should automatically display in the archive page. However, you have to make sure that the appropriate style is selected in the the Enfold > Blog Layout > Blog Layout.

    Best regards,
    Ismael

Viewing 30 posts - 22,741 through 22,770 (of 67,510 total)