Forum Replies Created

Viewing 30 posts - 14,881 through 14,910 (of 67,443 total)
  • Author
    Posts
  • Hey Diana,

    Thank you for the inquiry.

    Have you tried wrapping the css modification inside a css media query so that it only applies on larger screens? You could also add extra css media queries to adjust the style on mobile view.

    @media only screen and (min-width: 989px) {
      /* Add your Desktop Styles here */
    
    }
    

    To remove the indentation of the button item, use this css code.

    @media only screen and (max-width: 767px) {
        #top .av-menu-button > a .avia-menu-text {
           padding: 0;
        }
    }
    

    Again, we use a css media query here to adjust the style of the button menu item when the screen width is equal or less than 767px.

    Best regards,
    Ismael

    in reply to: Magnificent popup is not a function #1299878

    Hi,

    Thank you for the update.

    This is not working correctly because as @Guenni007 pointed out, the /js/aviapopup/jquery.magnific-popup.min.js is nowhere to be found or it is not loading.

    Did you add anything in the functions.php file aside from the custom inline popup script? We tried to check the file but the Appearance > Editor panel is not accessible. Please enable the file editor so that we can check the issue properly.

    Best regards,
    Ismael

    in reply to: custom post archive #1299871

    Hey w_archer,

    Thank you for the inquiry.

    We cannot find the page containing the “advertisements” post type, so we created a temp page, added the Blog Posts element and selected the Blade Length taxonomy. All of the items that belongs to the selected taxonomy or term display properly in the page. Where can we see the issue?

    To display the ACF fields, you will have to use get_field function and add it directly in the archive.php or in the include > loop-index.php file.

    // https://www.advancedcustomfields.com/resources/get_field/

    Best regards,
    Ismael

    in reply to: Portfolio Masonry – polylang – 3 sprachen #1299808

    Hi,

    We may need the access to the file server in order to properly test the filter with your installation, which contains the actual tag translations. Please post the FTP details in the private field.

    Best regards,
    Ismael

    in reply to: Remove WPML Flags (png-files) from html source code #1299806

    Hi,

    No problem. Glad we could help. Please feel free to open another thread if you need anything else.

    Have a nice day.

    Best regards,
    Ismael

    in reply to: Image banners stretching #1299804

    Hi,

    Thank you for the info.

    The two other pages are actually using the Fullscreen Slider instead of the Fullwidth Slider, which is the slider that the home page is using.

    Best regards,
    Ismael

    in reply to: Error with PayPal Express Checkout #1299803

    Hi,

    Glad to know that you have found the issue. It is possible that the privacy option blocks a certain script in which the plugin depends on, but we are not sure which script it is.

    We could set the Enfold > Privacy & Cookies > Cookie Handling > Default Cookie Behavior to the first and second option to allow external services to load without the users’ explicit consent or without them interacting with the cookie bar. Hopefully, this will fix the issue with the paypal checkout.

    Best regards,
    Ismael

    in reply to: do_shortcode issue on visual builder #1299800

    Hi,


    @emilconsor
    : Please create a new thread and post the login details in the private field so that we can check the issue. Provide direct links to the dashboard panels where we can check the forms or the custom php code. Screenshots will help as well. We will close this one for now.

    Best regards,
    Ismael

    Hi,

    It seems like the issue is with the server configuration. For some reason a line break is created after the domain name, which breaks a lot of the specified URL. This issue is non-existent on other servers. Example:

    Uncaught SyntaxError: '' string literal contains an unescaped line break
     	avia_framework_globals.gmap_avia_api = 'https://site.com
    /wp-content/themes/enfold/framework/js/conditional_load/avia_google_maps_api.js';
            avia_globals.sc['avia_builder_button'].image = 'https://site.com
    /wp-content/themes/enfold/config-templatebuilder/avia-template-builder/images/tiny-button.png';
    

    As you can see a line break is created right after the domain name. You may need transfer to a different host or a different server temporarily so that you can start with the site development. Or install a local server so that you can develop the site right in your machine and deploy it once it is ready.

    You should also contact GoDaddy and have them check the issue.

    Best regards,
    Ismael

    in reply to: Enfold theme & Memberpress #1299784

    Hi,

    Thank you for the info.

    The page where the issue is supposed to display is no longer available. Did you remove it? Please create another test page so that we could properly check the issue. Looks like the more tag is actually working when added inside a code block, but it breaks the layout of the page a bit because the plugin inserts another container in place of the hidden content.

    Best regards,
    Ismael

    in reply to: Layout Builder as default for custom types #1299638

    Hey emilconsor,

    Thank you for the inquiry.

    Why do you have to manually add the a:():{}? s6 refers to the number of characters inside the string entry. Please note that the _av_alb_posts_elements_state should contain names of the elements that actually exist in the page.

    Example:

    a:5:{s:10:"av_heading";b:1;s:16:"av_image_hotspot";b:1;s:11:"av_one_half";b:1;s:12:"av_textblock";b:1;s:13:"av_image_spot";b:1;}
    

    This tells us that there is at least one special heading element, a hotpot, a 1/2 column and a text block in a page.

    Best regards,
    Ismael

    in reply to: Breadcrumb issue #1299628

    Hi,

    Would you mind providing a screenshot of Google Console issue again? The image URL above is malformed. Please use imgur or dropbox for the screenshot.

    Could you ask the plugin developers if this is where issue lies? It’s part of the Yoast JSON-LD schema.

    {"@type":"BreadcrumbList","@id":"https://swisstraveler.net/swiss-traveler-luxury-travel-gourmet-blog/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"item":{"@id":"https://swisstraveler.net/swiss-traveler-luxury-travel-gourmet-blog/#webpage"}}]}]}
    

    We noticed that the position value of the ListItem stays to 1 even when we navigate to a different page. The plugin probably extracts the position value using the get_query_var(“page”) function or it parses the URL and return the pagination component. Please ask the authors if there is an available filter that we could use to manipulate the value of the itemListElement inside the BreadcrumbList.

    // https://developer.yoast.com/features/schema/pieces/breadcrumb/

    Best regards,
    Ismael

    Hey krkefalas,

    Thank you for the inquiry.

    Make sure that the custom css file depends on one of the theme css so that it is loaded after the default stylesheets. In the wp_enqueue_style, you can define the dependencies (deps) as an array of strings.

    // https://developer.wordpress.org/reference/functions/wp_enqueue_style/#parameters

    Try to add the shortcodes.css file as one of the deps for the custom css, handle is “avia-scs”.

    wp_enqueue_style( 'my-custom-style', "path/to/custom.css", array('avia-scs'), "0.1.0, 'all' );
    

    Make sure that the path to the css file is correct.

    Best regards,
    Ismael

    Hi,

    Thank you for the update.

    Did you remove the script? We cannot find it in the page anymore. Please post the login details in the private field so that we could check and test the script properly.

    Best regards,
    Ismael

    in reply to: Portfolio Masonry – polylang – 3 sprachen #1299614

    Hi,

    Thank you for your patience.

    We could also use the avf_ratio_check_by_tag_values filter to adjust the ratio_check_by_tag logic and include the tag translations so that the theme can still return the correct class name.

    Best regards,
    Ismael

    in reply to: Loading speed masonry galery #1299602

    Hey enzowillemstad,

    Thank you for the inquiry.

    Did you enable lazy loading? Did the client check the connection speed while testing the page? What is the actual specs of the device or machine which the client is using to test the page? Sorry for the questions, but all of these factors could affect how fast the images or the masonry items load and how fast the whole page is rendered.

    Site loads perfectly fine on our end. (see private field)

    Best regards,
    Ismael

    in reply to: Which settings for Enfold with Fastest Cache? #1299599

    Hi,

    Thank you for the inquiry.

    Yes, the “Load only elements” option should increase the site performance because the site will only load the required resources (js and css). However, this option will only work when the file compression settings are not enabled.

    If you are using the Autoptimize plugin, the “Load only elements” option should still work properly even if the css and js files are compressed.

    Best regards,
    Ismael

    in reply to: Layer Slider #1299596

    Hey Natesh,

    Thank you for the inquiry.

    You can find such settings in the Slider Settings > Slideshow panel, under the Slideshow Behavior, set the Start slide with field accordingly. But to force the slider to stop after transitioning to the second slide, you may need to create or configure your own Events Callback.

    // http://docs.webshopworks.com/layerslider/39-advanced-customization/194-layerslider-api

    Best regards,
    Ismael

    Hey Beth,

    Thank you for the inquiry.

    You can use this filter in the functions.php file to insert an “Add to Cart” text next to the excerpt in the catalogue item.

    add_filter("get_the_excerpt", function($excerpt, $post) {
    	if(get_post_type($post->ID) == "product") $excerpt .= "<strong class='avia-catalogue-add-to-cart'>Add to Cart</strong>";
    	return $excerpt;
    }, 10, 2);
    

    Best regards,
    Ismael

    in reply to: Video does not play – it just links #1299591

    Hi,

    Thank you for the inquiry.

    The videos do not play automatically because of the privacy options, which block the scripts until the user decided to enable or allow external videos or services. You have to set the Enfold > Privacy & Cookies > Cookie Handling > Default Cookie Behavior settings to the first or second option if you want the video to autoplay, without user consent.

    Best regards,
    Ismael

    Hi,

    Thank you for the inquiry.

    We added the code again and it is working as expected. Please note that the new default option will only be applied to new pages, and not on pages that previously exist, which have their header settings already set.

    Best regards,
    Ismael

    Hi,

    Glad it is working. We will forward the issue to our channel, see if we can do any changes in the next patch. We will close the thread for now. Please feel free to open another if you need anything else.

    Have a nice day.

    Best regards,
    Ismael

    Hi,

    Did you remove the css code? The default padding of the mobile menu items or of the social icon entries are back. This is the css code that was missing.

    
    #top #wrap_all #header #av-burger-menu-ul > li.av-active-burger-items.social_icon_1 {
        margin-left: 50px;
    }
    

    It applies a 50px margin to the left of the first social icon, consequently moving the other icons.

    Best regards,
    Ismael

    Hi,

    Thank you for the inquiry.

    We cannot reproduce the issue on our end either, shown in the screenshot below. Would you mind providing a screenshot?

    Screenshot: https://imgur.com/mgVmCAk

    Best regards,
    Ismael

    in reply to: Breadcrumb issue #1299275

    Hey swisstraveler,

    Thank you for the inquiry.

    Would you mind providing a screenshot of the issue? We found no breadcrumb element in the site, so the error should not be occurring in the console. Did you try to run the validation process?

    // https://support.google.com/webmasters/answer/9216203?hl=en#zippy=%2Cabout-validation

    Best regards,
    Ismael

    in reply to: Pageload / Video #1299272

    Hey MarcusJeroch,

    Thank you for the inquiry.

    How did you embed the video? If it is an iframe or if you are using a video tag, you can add the preload attribute and set it to none.

    Example:

    <video width="1000" height="640" controls="controls" preload="none">
      <source src="movie.mp4" type="video/mp4" />
    </video>
    

    // https://www.w3schools.com/tags/att_video_preload.asp

    Best regards,
    Ismael

    in reply to: Parallax on mobile iOS devices #1299269

    Hi,

    Parallax effect is actually disabled on mobile view by default. And iOS devices do not fully support fixed elements or backgrounds, so the only solution is to set the background attachment behavior back to default as suggested above, which unfortunately disables the fixed and/or parallax effect.

    // https://caniuse.com/background-attachment
    // https://stackoverflow.com/questions/21476380/background-size-on-ios

    Best regards,
    Ismael

    in reply to: Remove WPML Flags (png-files) from html source code #1299263

    Hey filz51,

    Thank you for the inquiry.

    You are probably looking on the default language switcher from the theme. To remove or disable those flags, please go to the Enfold > Header > Extra Elements and set the Enfold WPML Language Flags ( global setting – used for all languages ) to the second option.

    You can also try this snippet in the functions.php file.

    
    
    //--------------------------------------------------------------
    // Remove Enfold Language Switcher
    //--------------------------------------------------------------
    function avia_remove_main_menu_flags(){
    	global $avia_WPML;
    
    	add_filter( 'wp_nav_menu_items', 'avia_append_lang_flags', 9999, 2 );
        remove_filter( 'wp_nav_menu_items', [ 'avia_WPML', 'handler_append_lang_flags' ], 9998, 2 );
    	remove_filter( 'avf_fallback_menu_items', [ 'avia_WPML', 'handler_append_lang_flags' ], 9998, 2 );
    	remove_action( 'avia_meta_header', 'avia_wpml_language_switch', 10 );
    	remove_action( 'ava_main_header_sidebar', 'avia_wpml_language_switch', 10 );
    }
    add_action('init','avia_remove_main_menu_flags', 9999);

    Best regards,
    Ismael

    Hi,

    Awesome! Glad that worked. Please feel free to open another thread if you need anything else. We will close this one for now.

    Have a nice day.

    Best regards,
    Ismael

    in reply to: oop-up contact form #1299259

    Hi,

    Great! Glad to know that it is solved. Please do not hesitate to open another thread if you need anything else.

    Have a nice day.

    Best regards,
    Ismael

Viewing 30 posts - 14,881 through 14,910 (of 67,443 total)