Forum Replies Created

Viewing 30 posts - 14,671 through 14,700 (of 34,632 total)
  • Author
    Posts
  • Hi,

    @corefocusgroup
    as we have not heard back from you as to if this had helped you, but you can also see this thread where unfortunately there is no other way to load the icon font aside from using font face, so the only way to optimize it is to adjust the font-display property.

    function avf_custom_font_display( $font_display, $font_name )
    {
    	// Check for a font and change the default theme setting
    	if( 'entypo-fontello' == $font_name )
    	{
    		return 'block';
    	}
    
    	return $font_display;
    }
    
    add_filter( 'avf_font_display', 'avf_custom_font_display', 10, 2 );

    Best regards,
    Mike

    Hi,
    Sorry but this solution will not work, it is from 2015 and the elements are not the same. The easiest solution for you would be to use the Say what? plugin or change the language file with Poedit
    If you find that you need further assistance with this then please open a new thread, thank you.

    Best regards,
    Mike

    in reply to: Product thumbnails blurred in mobile view #1290764

    Hi,
    Sorry for the very late reply, as I understand your question you would like to have a conditional function to change the “shop_catalog” image based on screen size, you can try the solution on this thread

    add_filter( 'woocommerce_get_image_size_thumbnail', function( $size ) {
        if( ! is_singular('product') ) {
            return array(
                'width'  => 200,
                'height' => 300,
                'crop'   => 0,
            );
        }
    
        return $size;
    } );

    and then you would need to regenerate the thumbnails and test with a new item. If this doesn’t help then you will need to set the image size in between the desktop and mobile sizes and then use css to scale to images up and down based on screen size, such as Victoria had suggested.

    Best regards,
    Mike

    in reply to: button slider / reiter section title not centered #1290761

    Hey rixi,
    Sorry for the very late reply and thanks for your patience.
    Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    #top.home #plugins .av-tab-image-circle .av-tab-section-image {
        margin: 0 auto 10px auto !important;
    }

    Please see the screenshot in the Private Content area of my test with this css.

    Best regards,
    Mike

    in reply to: Table td auto width #1290759

    Hi,
    Thank you for your patience, I believe that you are referring to the section in the screenshot in the Private Content area for mobile screens.
    Please give this css a try:

    @media only screen and (max-width: 767px) {
        .locatie-tabel tr:first-child > td:first-child {
            padding-top:15px !important;
        }
    }
    

    and see my test result below.

    Best regards,
    Mike

    in reply to: Link column to full screen pop-up / iframe #1290753

    Hi,
    Sorry for the very late reply, please try this solution, a further explanation of this example is here.
    If you would like more help with this please create a test page on your site and include an admin login s in the Private Content area so I assist.

    Best regards,
    Mike

    in reply to: Different menu for different languages #1290752

    Hi,
    Sorry for the very late reply, the mobile menu is created from the regular menu that is created in the WordPress menu option, it is not really another menu, so you should create a footer menu and a secondary menu, which is the menu used above the header and not shown on mobile, and then your two main menus for each language which will also be used for mobile menus.

    Best regards,
    Mike

    in reply to: Loading image in masonry #1290750

    Hi,
    I see that your posts are created with the Advanced Layout Builder, and your “related entires” are at the bottom of the posts, have you tried using the blog post element to show the posts based on the taxonomies?

    Best regards,
    Mike

    in reply to: Images – Title tag to all blog images #1290748

    Hi,
    I believe that the title tag of the link that wraps the image is the title of the image in the media library correct?
    I tried to point out above that adding the same title to the link and the image will cause accessibility issues with screen readers.
    In elements where the image is not wrapped in a link the title tag is applied to the image, but when the image is wrapped in a link the title tag is applied to the link. Do you plan on having your site compliant with users that have accessibility issues such as low sight?

    Best regards,
    Mike

    Hi,
    I see, this script was customized for a specific site, please note above it was based on this one, so you could try that one instead. Today when I check your site it is not loading well, I assume you are working on it. If the original solution linked doesn’t help with all caching and minification disabled, then please remove the script and open a new thread with admin login details in the Private Content area, and post a link to the new thread here and I will assist in the new thread.
    Please include details of where you would like the social icons in the mobile menu and perhaps a mockup. Please also note that since this is not your thread posting your login here will not be private and you will not see anything we write in the Private Content area.

    Best regards,
    Mike

    in reply to: Images – Title tag to all blog images #1290577

    Hi,
    Your image is not showing so I’m not quite sure what you wanted to show, but I don’t see an author tag in the link of the image.
    What I was trying to point out is that the link has a title tag that wraps the image, please see the screenshot in the Private Content area.

    Best regards,
    Mike

    Hi,
    Sorry, I don’t understand what you mean by the “Social Media Icons are doubled” I don’t see this on your site?

    Best regards,
    Mike

    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: Image won't display at original size in lightbox #1290567

    Hi,

    @2SINN
    glad to hear, @Guenni007 thank you for your input 🙂

    Best regards,
    Mike

    in reply to: Loading image in masonry #1290377

    Hi,
    I disabled the “Enfold Related Posts Element” plugin and disabled “lazy loading” in the Enfold Theme Options > Performance > Lazy Loading cleared your cache and the images are loading better now.
    Please don’t use this plugin, I wrote it almost 4 years ago, poorly 🙂 it was never official and I have removed it from GitHub today.
    Anyways, please clear your browser cache and check.

    Best regards,
    Mike

    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: Anchor Links Scrolling to Tab Section not working #1290125

    Hi,
    Glad this helped, it is not “better” to include the code only on the landing page like I did, I only do this to test, but sometimes I like to do this with a script it might only be used on one page, because I’m a minimalist 🙂
    Unless there is anything else we can assist with on this issue, shall we close this then?

    Best regards,
    Mike

    Hi,
    Thank you for your patience, I made the adjustment for you and created a test page with a similar slider linked below, and cleared your Autoptimize and FVM cache, and it seems to work well, please clear your browser cache, a few times and check.
    Please note that clearing javascript files from your browser cache may take a couple of tries, and the reason I created the test page was because your slider rotation was slow for me to test the solution, this one is set to two seconds.

    Best regards,
    Mike

    Hi,
    The Error “Uncaught ReferenceError: jQuery is not defined” in the Console, typically means that you are loading jQuery in the footer, so the script is running before jQuery is loaded.
    This is an option in the theme settings at Enfold Theme Options > Performance > Load jQuery in your footer, but many caching & minifying plugins also do this, so please check and disable.
    If you don’t see the Enfold Theme Options > Performance > Load jQuery in your footer option, then this means that your webhost has modified the WordPress install.

    Best regards,
    Mike

    in reply to: Updated to Enfold 4.7.2 GridRows error #1290074

    Hi,
    I believe that you had created a custom template, earlier and it is this template that is causing your problems. I can not recreate your issue with a new install.

    Best regards,
    Mike

    in reply to: YouTube social icon not showing after 4.8.1 update #1289812

    Hi,

    Testing it on Screenshot Guru, I can see the YouTube icon, but that doesn’t really tell me anything

    What it says is that a completely different computer on a different network is showing your page loading correctly, this would be the same as if somebody wanted to know if your website was down or not, they would use downforeveryoneorjustme.com
    I hear your frustration and I wish I had more to offer but Nikko and I both can not reproduce this, and a third-party test can not either. I will ask the rest of the team to take a look, perhaps I missed something.

    Best regards,
    Mike

    in reply to: Improving laoding of font Entypo-Fontello #1289807

    Hi,
    Ok, I will ask the team for suggestions on loading entypo-fontello with a cdn.

    Best regards,
    Mike

    in reply to: Images – Title tag to all blog images #1289640

    Hey bts-de,
    Sorry for the very late reply and thank you for your patience, so your image in this case is a background image of the link which does have the title tag: title="Individuelle Sonderanfertigung von MonLines, Soundbar Lift" typically background images do not have titles for accessibility compliance. In this case, I believe it interferes with screenreaders when the link has a title tag that is wrapping a background image with another title tag.
    I believe in your case the link title tag is retrieved from the image title field in the media library, and so if the image title tag was included then you would have two titles wrapped that are the same, which would cause accessibility issues.

    Best regards,
    Mike

    in reply to: Improving laoding of font Entypo-Fontello #1289632

    Hi,
    I don’t believe that the dev team will be interested in replacing fontello with fontawesome in the avia editor, it would be a major job to recode the ALB and elements and I don’t believe that the backend icons affect the frontend view. Perhaps this post will help you: Scoring 100/100 In Google Pagespeed Insights, Gtmetrix Pagespeed And Yslow

    Best regards,
    Mike

    in reply to: YouTube social icon not showing after 4.8.1 update #1289614

    Hi,

    @mgyura
    thanks for your feedback, I was not able to reproduce the error on your site, and I was only able to reproduce the error on @Gianluigi’s site when I used a VPN, as you can see from the screenshots and DevTools error link. So I’m assuming that you are experiencing the same issue, but this could be incorrect to assume because other factors could be browser-based “Ad-Blockers” or extensions, etc, but from your post that you tested on a friend’s Windows machine I doubt both machines are using the same extensions. Thus a slow network from your side, such as a wifi hotspot, phone signal or on your webhost side, CDN, etc makes sense to me.
    All of the icons are shown with the font entypo-fontello.woff2 as shown in the screenshot above, not just the YouTube one, the reason the YouTube one is not showing is because the browser did this: [Intervention] Slow network is detected in the DOM waterfall.
    But please note that the error and screenshots are from @Gianluigi’s site when I used a VPN, I was not able to reproduce the error on your site. Maybe it is a stretch to say that you are both experiencing the same error, but I wanted to try my best to find some sort of reason why this is occurring and this was the only this I could see the error on Windows 10 & Mac Big Sur
    Please try testing your site like this: Go to Screenshot Guru and enter your url and view the results which show your YouTube icon:
    2021-03-22_064735.jpg

    Best regards,
    Mike

    in reply to: Anchor Links Scrolling to Tab Section not working #1289536

    Hi,
    Sorry for the very late reply and thanks for your patience and login, to test this in a controlled invirment environment I copied your page shortcode and added to my localhost with a clean install of WordPress 5.7 & Enfold 4.8.1
    2021-03-21_190825.jpg
    and created a main menu with the links to the tab sections:
    2021-03-21_190624.jpg
    and I added this script to a code block element on the page:

    <script>
    (function($) {
    	function scrollToTab(s, e,) {
    		$(s).on(e, function(event) {
    			var anchor, loc, cur, hash, tab, parent, pos;
    
    			if( e == 'load' ) {
    				loc  = window.location.hash;
    				hash = loc;
    			} else {
    				loc = $(this).attr('href');
    				hash = loc.substring(loc.indexOf('#'));
    			}
    	
    			tab = $('.av-section-tab-title[href='+ hash +']');
    			parent = tab.parents('.av-tab-section-outer-container');
    			pos = parent.offset();
    
    			tab.trigger('click');
    			
    			if(hash) {
    				setTimeout( function() {
    					$(window).scrollTop( pos.top - 100 )
    				}, 1000 );
    			}
    		});
    	}
    
    	scrollToTab( '.menu-item a', 'click' );
    	scrollToTab( window, 'load' );
    })(jQuery);
    </script>

    2021-03-21_190528.jpg
    and clicking the menu item scrolled down the page and opened the correct tab, here is the page load:
    2021-03-21_191355.jpg
    here is the menu click on menu iten “three” and the scroll down and tab open:
    2021-03-21_191022.jpg
    So this does work, as for why it is not on your site, I see that you have disabled the jQuery from loading in your header:
    2021-03-21_191849.jpg
    and you are using “WP Super Cache” with the Enfold Theme Options > Performance > JS & CSS file merging and compression so you could be minifying on top of minifying, both of this can cause issues, so I would recommend disabling your plugins and clear your server cache and check. You can also try testing on a clean install on your staging site and then test your customizations until it breaks the script to find what you need to change on your site.
    I hope this helps to know the script does work.

    Best regards,
    Mike

    in reply to: Improving laoding of font Entypo-Fontello #1289533

    Hi,
    Sorry for the very late reply and thanks for your patience, I have two ways to load font awesome with functions.php snippets, the first one enqueues it and the second loads the css in the wp_head, you can try both (one at a time) to see which will give you a better load time, but there really should not be too much difference between them. Also note that the first one was loading v4.7.0 when I saved the code and the second was loading v5.3.1, but you can adjust to suit, I left the original links to demonstrate the link format.

    add_action( 'wp_enqueue_scripts', 'enqueue_font_awesome' );
    	function enqueue_font_awesome() {wp_enqueue_style( 'font-awesome', 'https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css' );
    }
    function Font_Awesome_5(){
        ?>
        <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
        <?php
        }
    add_action('wp_head', 'Font_Awesome_5');

    Best regards,
    Mike

    Hey Jason,
    Sorry for the very late reply, in my experience the variable straight to cart product links that I have seen on sites seem to have been created with premium plugins, but there are other options, for example, this article offers code snippets for regular straight to cart product links. For variable products which I believe you are asking for this article offers a direct linking for Variable Product to Cart which could be applied to a button or image on your homepage, still not exactly what you are looking for, but it an option.
    For plugins, this one seems to offer the option, but I have not tested, the key point to this plugin is: it adds the First variation of the variable product in the cart, so it could work for you.
    Direct Checkout for WooCommerce seems to be the most popular in the WordPress library.
    I tried to find the premium plugin that as I recalled, had a variable option on load and then linked directly to the cart, but I didn’t find it, it might be on CodeCanyon.net.

    Best regards,
    Mike

    in reply to: Image won't display at original size in lightbox #1289522

    Hey 2SINN,
    Sorry for the very late reply and thanks for your patience and the login to your site, I didn’t login though instead I copied your full-size image to my localhost and tried a few different “solutions” from the past to try to find one that would work for this.
    So for your image please add the custom class openfullsize
    2021-03-21_160003.jpg
    Then add this code to the end of your functions.php file in Appearance > Editor:

    function custom_script() { ?>
        <script>
    (function ($) {
    $(document).ready(function(){
        $('.openfullsize .avia-image-overlay-wrap .avia_image.lightbox-added').click(function(){
            var fullsize = $(this).find('img').attr('src');
            $('img.mfp-img').attr("src", fullsize);
        });
    });
    })(jQuery);
    </script>
        <?php
    }
    add_action('wp_footer', 'custom_script');

    This will work and should not cause any conflicts because of the custom class, please note that it is still important that the “full-sized” image is explicitly selected in the image element.

    Best regards,
    Mike

    in reply to: YouTube social icon not showing after 4.8.1 update #1289477

    Hi,
    @Gianluigi and @Mgyura thanks for your patience and links, so I first tested both of your sites on Windows 10 & Mac Big Sur with Chrome & Safari & Brave, etc.. and the YouTube icon showed just fine from the USA, but when I tested with a VPN in Italy @Gianluigi’s icon did not show with this error:
    [Intervention] Slow network is detected. Fallback font will be used while loading:
    2021-03-21_103147.jpg
    So the error links to: Feature: Intervention: WebFonts use adaptive timeouts to take fallback fonts and at the bottom of the article the solution is:
    Web site owners can opt-out from the intervention by setting CSS font-display to other than ‘auto’.
    but I don’t believe we have set the display to “auto” specifically, I believe the browser is assuming this based on our css:

     #top .avia-font-entypo-fontello, body .avia-font-entypo-fontello, html body [data-av_iconfont='entypo-fontello']:before{ font-family: 'entypo-fontello'; }

    So I believe the slow network is the cause and the browser is looking for shortcuts, and is doing this, it’s not so much the YouTube icon than the waterfall of the DOM is just happening to pick the last loading one or such. So we could try setting the display to “block” so the browser will load the font:

     #top .avia-font-entypo-fontello, body .avia-font-entypo-fontello, html body [data-av_iconfont='entypo-fontello']:before{ font-family: 'entypo-fontello'; display: block;}

    which may work, but the site may also still have other issues due to the slow network.
    I do note that @Mgyura is also in the USA, so I’m not sure how to recreate a test for you since we are both in the USA, but I do believe that the issue is also a slow network, so I believe the same css would work.
    Please note that while this may help, I would recommend a webhost on a better network, sort of like that saying: Speed Matters 🙂 but then again we had to jump through a lot of hoops to see the error, so maybe very few people are getting the error, and even fewer are looking for that icon? Just a thought.

    Best regards,
    Mike

Viewing 30 posts - 14,671 through 14,700 (of 34,632 total)