Forum Replies Created

Viewing 30 posts - 13,411 through 13,440 (of 66,033 total)
  • Author
    Posts
  • in reply to: Home page full screen video #1300741

    Hi,

    Unfortunately, this is not possible due to the following reason.

    Video on most mobile devices can’t be controlled properly with JavaScript, so you can upload a fallback image which will be displayed instead. This image is also used if lazy loading is active.

    You will have to upload a fallback image in place of the video on mobile view.

    You could also hide the slider on mobile view and display an actual video element instead. Or use the Layer Slider element instead.

    Best regards,
    Ismael

    in reply to: How to Stop Block Editor from Loading #1300739

    Hi,

    Thank you for the clarification.

    All I want is to stop the Block Editor from loading as I am only using the Classic Editor.

    To remove the block library css, try to add this snippet in the functions.php file.

    //Remove Gutenberg Block Library CSS from loading on the frontend
    function smartwp_remove_wp_block_library_css(){
        wp_dequeue_style( 'wp-block-library' );
        wp_dequeue_style( 'wp-block-library-theme' );
        wp_dequeue_style( 'wc-block-style' ); // Remove WooCommerce block CSS
    } 
    add_action( 'wp_enqueue_scripts', 'smartwp_remove_wp_block_library_css', 100 );
    

    Glad to know that the site performance improved after blocking IPs.

    Best regards,
    Ismael

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

    Hi,

    I want a user to click on “play”, then the video starts, but it does not play, it links

    Thank you for the clarification. This is still an issue with the privacy options, which prevents videos from playing directly in the site when the privacy option is not accepted. Try to disable the privacy options temporarily or we suggested previously, try to set the Default Cookie Behavior to the first or second option, remove the cache and check the page again. The video should play directly in the site then without opening an external link.

    Best regards,
    Ismael

    in reply to: Enfold theme & Memberpress #1300737

    Hi,

    Unfortunately, we do not have access to the mail’s inbox, so we may need to do the login differently. Additional assistance from the plugin developers may be needed.

    Best regards,
    Ismael

    in reply to: Video Playback Problem #1300736

    Hi,

    We see this error in the console but it does not say exactly which function is calling the pause function, but there is a possible fix in the provided link.

    Uncaught (in promise) DOMException: The play() request was interrupted by a call to pause(). https://goo.gl/LdLk22
    

    // https://developers.google.com/web/updates/2017/06/play-request-was-interrupted

    We have also found a log in the plugin’s frontend.js file.

    ar P = function(b, d) {
            c(b).parents(".mg_box").hasClass("mgi_shown") ? (c(b).hasClass("mg_muted_autoplay") && d.setMuted(!0),
            console.log("test"),
            d.play()) : setTimeout(function() {
                P(b, d)
            }, 100)
        };
        mg_audio_play
    

    Did you add the console.log?

    Best regards,
    Ismael

    in reply to: Portefolio items are with odd behaviour #1300729

    Hi,

    This is not a matter of showing empty category names.

    Sorry for the delay. I think you misunderstood what we have just said. The single post that belongs to the hidden category may or may not exist on initial load and will only be visible once you load more posts. Only then will the sort button display because the post that belong to that category now exists. Again, this is a limitation of the category sort buttons.

    Best regards,
    Ismael

    Hi,

    I’d still like menu to disappear when I click it

    Yes, we understand but unfortunately that is not how the mobile menu works. It stops the default behavior when it detects that the current position is the same as the target element. You could try and remove the condition that we mentioned above to alter the default behavior.

    Best regards,
    Ismael

    in reply to: Breadcrumb issue #1300723

    Hi,

    Do I get it right that you can now provide a filter

    No, the code above is the function that generates the breadcrumb schema. We cannot find any filter, or we are not sure how Yoast generates the context. Have you tried selecting a page as blog as they recommended above?

    Best regards,
    Ismael

    in reply to: Webp support in Full screen slider and other places #1300721

    Hi,

    Sorry for the delay. It is possible that the plugin does not recognize background images, which is how the images in the full screen slider are used. You could try optimizing the images instead of using webp, or use a different slider.

    Best regards,
    Ismael

    in reply to: Video Playback Problem #1300291

    Hey Stefan,

    Thank you for the inquiry.

    The video is not playing automatically on our end, but it does not stop after playing it manually. What happens when you remove the webm version of the video and leave mp4?

    Best regards,
    Ismael

    in reply to: Optional View of Desktop site on mobile device? #1300288

    Hi,

    Thank you for the update.

    As Jordan said, this option is not available out of the box and might require custom modifications, but you could create a button and create a script that removes the “responsive” class name out of the html tag, which should also disable all mobile styles, presenting a desktop version of the site.

    // https://api.jquery.com/click/
    // https://api.jquery.com/removeclass/

    Best regards,
    Ismael

    in reply to: Enfold theme & Memberpress #1300285

    Hi,

    Did you change the login URL? We cannot access the dashboard using the login form shown below.

    Screenshot: https://imgur.com/pF8qNvL

    For more info about the issue and general assistance, please contact the plugin authors.

    Best regards,
    Ismael

    in reply to: Add widget to topbar & Tax display #1300283

    Hi,

    Thank you for the info.

    We adjusted the code in the functions.php file and added another filter. The search widget is now displaying in the top bar but requires a bit of css modification.

    
    // Header Widget in topbar
    add_action( 'avia_meta_header', 'enfold_customization_header_widget_area' );
    function enfold_customization_header_widget_area() {
    	dynamic_sidebar( 'Header' );
    };
    
    add_filter("avf_execute_avia_meta_header", "__return_true");
    

    Best regards,
    Ismael

    in reply to: Google Maps Customized #1300280

    Hey Stephan,

    Thank you for using Enfold.

    Styling for the map is quite limited and it cannot be done with css, at least not directly. You can change the basic style settings like the Color Saturation in the map’s Styling panel.

    If you need more styling options, you have to check the documentation.

    // https://developers.google.com/maps/documentation/javascript/styling
    // https://mapstyle.withgoogle.com/

    Best regards,
    Ismael

    Hi,

    Thank you for following up.

    We adjusted the code a bit, increase the priority value of the hook so that the script is rendered last. This fixed the issue. (see private field)

    Best regards,
    Ismael

    in reply to: How to Stop Block Editor from Loading #1300275

    Hi,

    Thank you for following up.

    The screenshot shows up fine on our end. Please check it again. You may need to optimize the site further to improve its performance and overall loading speed. The following articles should help.

    // https://kriesi.at/archives/scoring-100-100-in-google-pagespeed-insights-gtmetrix-pagespeed-and-yslow
    // https://kriesi.at/archives/4-key-wordpress-image-optimization-tips

    Best regards,
    Ismael

    in reply to: Change responsive Breakpoints for Devices #1300270

    Hey emilconsor,

    Thank you for the inquiry.

    You will have to override the existing css media queries and replace the max-width condition from 767px to the value that you prefer. That will require a lot of css modifications. Why do you need to change it to 820px? 767px is actually the mobile phone breakpoint. 768px to 989px to 1024px are the most common screen resolutions for tablets.

    // https://css-tricks.com/snippets/css/media-queries-for-standard-devices/

    Best regards,
    Ismael

    in reply to: Portefolio items are with odd behaviour #1300263

    Hey forcetechnology2,

    Thank you for the inquiry.

    A sort button or category will only display when a post that belongs to that category actually exists or is visible in the page. We can use css to display hiddencategories or sort buttons but nothing will happen when you click on them. This is one of the limitations of the sort option.

    .av-masonry-sort .avia_hide_sort {
    	display: inline;
    } 
    

    Best regards,
    Ismael

    in reply to: Catalog element shows no content. #1300262

    Hi,

    A server error occurs whenever we try to open one of the catalogue item. The returned shortcode looks like this.

    [av_catalogue+lazy_loading='enabled'+alb_description=''+id=''+custom_class=''+av_uid='av-1zajfm2'+admin_preview_bg='rgb(241,+241,+241)+none+repeat+scroll+0%+0%'][av_catalogue_item+title='Nr.1+-+DORNFELDER+-TROCKEN+'+price=''+id='738'+link=''+target=''+av_uid='av-7dn00q']<span+style="color:+#993366;">[av_hr+class='invisible'+height='6'+shadow='no-shadow'+position='center'+custom_border='av-border-thin'+custom_width='50px'+custom_border_color=''+custom_margin_top='30px'+custom_margin_bottom='30px'+icon_select='yes'+custom_icon_color=''+icon='ue808'+font='entypo-fontello'+admin_preview_bg=''+av_uid='av-1xc7xcq']2019+-+Samtig,+kräftig,+fruchtbetont+(12,5%vol.)</span>[/av_catalogue_item][av_catalogue_item+title='Nr.2+-+Blauer+Portugieser+mild'+price=''+id='738'+link=''+target=''+av_uid='av-7wjare'+disabled='']<span+style="color:+#993366;">[av_hr+class='invisible'+height='6'+shadow='no-shadow'+position='center'+custom_border='av-border-thin'+custom_width='50px'+custom_border_color=''+custom_margin_top='30px'+custom_margin_bottom='30px'+icon_select='yes'+custom_icon_color=''+icon='ue808'+font='entypo-fontello'+admin_preview_bg=''+av_uid='av-1td9r0a']2019+-+Vollmundig+–+milder+Rotwein+(11,0%vol.)</span>[/av_catalogue_item][/av_catalogue]
    

    Please post the FTP details in the private field so that we can set the installation to debug mode. Or install this plugin.

    // https://wordpress.org/plugins/wp-debugging/

    Best regards,
    Ismael

    in reply to: Webfont installieren #1300258

    Hey Christoph_Wagener,

    Thank you for the inquiry.

    Where did you get the font files? Please note that font manager only accepts Google font files, and to be able to upload different fonts, you have to make sure that the name of font files or sets are different.

    Best regards,
    Ismael

    in reply to: Galerie #1300257

    Hey diefleischerei,

    Thank you for the inquiry.

    The theme’s default Gallery element only supports captions inside a tooltip by default. You may need to use a different gallery element such as the Masonry Gallery or the default WordPress gallery shortcode. For more info about the default gallery shortcode, please check the following documentation.

    // https://wordpress.org/support/article/the-wordpress-gallery/

    Best regards,
    Ismael

    in reply to: Home page full screen video #1300254

    Hi,

    No problem. Glad we could be of help. Regarding the pause icon, please try to add this css code in the Quick CSS field.

    .av-click-overlay, .av-click-to-play-overlay, .avia_playpause_icon {
    	display: none !important;
    	opacity: 0 !important;
    }

    Best regards,
    Ismael

    Hey krmaeo,

    Thank you for the inquiry.

    It works like that because the theme prevents scroll when the current position is equal to the current target position, so the state remains the same. You can find the condition in the avia.js > line 783.

    if(cur_offset != target) // if current pos and target are the same dont scroll
    

    And as user, I do not think someone would intentionally click on the same navigation or menu item twice.

    Best regards,
    Ismael

    Hey Marcus,

    Thank you for the inquiry.

    We are not seeing the error in the site anymore, but it looks like an issue with the import process. Do you see still see the issue inside the dashboard?

    Best regards,
    Ismael

    in reply to: Elements Boxed sized in color section #1300134

    Hi,

    Thank you for the clarification.

    The columns are wider in the color section because of this css code.

    .kachel_home .container {
        width: 100%;
        max-width: none;
    }

    This removes the maximum width limit for the color section container, which is set to 1310px.

    Best regards,
    Ismael

    Hey laboiteapixels12,

    Thank you for the inquiry.

    Did you add an actual Image element inside the cell? Instead of adding an Image element, try to apply the image as the grid row cell’s background.

    Best regards,
    Ismael

    in reply to: stretch picture to the edge on mobile #1300130

    Hi,

    Alright. Please feel free to open another thread if you need anything else.

    Have a nice day.

    Best regards,
    Ismael

    in reply to: Breadcrumb issue #1300111

    Hi,

    Looks like the breadcrumb is generated using the function generate_breadcrumbs but we are not yet sure how the context is generated. We might be able to filter the value of the context before passing it to the breadcrumb schema generator.

    plugins\wordpress-seo\src\presentations\indexable-presentation.php > line 664

    	/**
    	 * Generates the breadcrumbs for the page.
    	 *
    	 * @return array The breadcrumbs.
    	 *
    	 * @codeCoverageIgnore Wrapper method.
    	 */
    	public function generate_breadcrumbs() {
    		return $this->breadcrumbs_generator->generate( $this->context );
    	}
    
    

    Best regards,
    Ismael

    Hi,

    That should be possible but you have to disable the product list option that applies an add to cart link to the whole item. Then replace the snippet with this one to render an actual add to cart button with a link.

    add_filter("get_the_excerpt", function($excerpt, $post) {
    	if(get_post_type($post->ID) == "product") {
    			ob_start();
    			/**
    			 * hooked by: add_action( '<a href='https://refer.wordpress.com/r/84/woocommerce/' target='_blank' rel="nofollow">woocommerce</a>_single_product_summary', '<a href='https://refer.wordpress.com/r/84/woocommerce/' target='_blank' rel="nofollow">woocommerce</a>_template_single_add_to_cart', 30 );
    			*/
    			do_action( '<a href='https://refer.wordpress.com/r/84/woocommerce/' target='_blank' rel="nofollow">woocommerce</a>_single_product_summary' );
    			$cart = ob_get_clean();
    
    			$excerpt .= $cart;
    	}
    	return $excerpt;
    }, 10, 2);
    

    Best regards,
    Ismael

    Hi,

    The option is saved as a post meta info or as a custom field named header_transparency, so if you want to automatically set the settings for existing pages, then you have to update the header_transparency value. You should be able to do it using the update_post_meta function.

    // https://developer.wordpress.org/reference/functions/update_post_meta/

    Best regards,
    Ismael

Viewing 30 posts - 13,411 through 13,440 (of 66,033 total)