Forum Replies Created

Viewing 30 posts - 14,701 through 14,730 (of 34,635 total)
  • Author
    Posts
  • 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

    in reply to: Change "You may like" in French since the new update #1289368

    Hey edechauvigny92,
    Sorry for the very late reply and thanks for your patience, I assume that you followed these steps because you said that it doesn’t more “anymore” implying that it did work once for you. So to test on my localhost I followed these steps and changed my FR language file “Vous aimerez peut-être aussi” to “Tu pourrais aussi aimer” and this worked correctly for me using a child theme with Enfold v4.8.1 & WordPress 5.7
    So perhaps your Poedit edit didn’t save correctly, or your functions.php code in not correct, or you have a plugin or cache that is overwriting the change? Please review these and try again.

    Best regards,
    Mike

    Hi,
    Thank you for your feedback, so I tried to recreate your mega menu on my localhost so I could try so different solutions to achieve your layout and on my first attempt, pure luck, I believe I did achieve this:
    2021-03-20_145738.jpg
    this is the backend view:
    2021-03-20_150336.jpg
    So I believe the difference is that you are adding the “This is the Ministry About Text” text as the discription and not the menu title, but I’m not sure as I haven’t logged in to your menu.
    Please give this tweak a try and let us know if this helps.

    Best regards,
    Mike

    in reply to: Adding 'playsinline' to the background video tag #1289344

    Hi,

    @ecomstore
    sorry but this thread is about adding ‘playsinline’ to the background video tag for a section from 2019, if you are having issues with Safari and videos then please open a new thread but note that Safari 12.1 had a known issue that seems to have been corrected with Safari 13.1+
    The current version of Safari is 14.0.2 and the videos seem to work fine?

    Best regards,
    Mike

    Hi,
    @Mischa thanks for the screenshot but I can not reproduce the issue with v4.8, please do not use patch files from older threads, I have removed this source file. This issue and solution is from an older version. Please test again with a completely new theme upload of v4.8 – if you find you still have an issue and you have disabled all of your plugins, then please open a new thread so we can assist.

    Best regards,
    Mike

    in reply to: Post Slider with Link Post Types #1289163

    Hey Lissasan,
    Sorry for the very late reply and thanks for your patience. To change the post slider img link to the same link in the post slider excerpt, try adding this code to the end of your functions.php file in Appearance > Editor:

    function custom_script() { ?>
        <script>
    (function($){
      $(document).ready(function(){
      $("article.slide-entry").each(function(){
        var callinkurl = $(this).find(".slide-entry-excerpt.entry-content a.callink").attr("href");
        $(this).find("a.slide-image").attr("href", callinkurl);
    
    });
    });
    })(jQuery);
    </script>
        <?php
    }
    add_action('wp_footer', 'custom_script');

    I tested this on your test page by injecting the javascript via the browser and it worked correctly, but a key point is that your post slider excerpt link has the custom class “callin”, so please ensure you continue to add this custom class.
    Please give this a try and let me know if this helps.

    Best regards,
    Mike

    Hey Jarmo,
    Sorry for the very late reply and thanks for your patience. To achieve what I believe you are looking for you can try adding this code to the end of your functions.php file in Appearance > Editor:

    function custom_script() { ?>
        <script>
    (function($) {
        $('#top.archive.woocommerce-page .woocommerce-products-header .woocommerce-products-header__title').detach().insertBefore('.breadcrumb.breadcrumbs.avia-breadcrumbs');
        $('#top.archive.woocommerce-page .woocommerce-products-header').detach().insertAfter('.template-shop.content');
    })(jQuery);
    </script>
        <?php
    }
    add_action('wp_footer', 'custom_script');

    Please see the screenshot in the Private Content area and let me know if I understood the position correctly.

    Best regards,
    Mike

    in reply to: Enfold Image Sizes #1288944

    Hi,
    @Rafíyel thank you for your input, but this thread was last active in 2019. We will close this.
    If you have a specific question please create your own thread so we can assist 🙂

    Best regards,
    Mike

    Hi,
    First I disabled the previous css, and then on the homepage I added the custom class “red” to the second blog element:
    2021-03-17_082253.jpg
    Then I added this css to your Quick CSS:

    .avia-content-slider.red .slide-content .slide-entry-title {
    	background-color: #d09c94 !important;
    }

    so for the homepage this is the result:
    2021-03-17_082957.jpg
    now if we go to the /zeeland-heden-en-verleden/ page and add the same custom class “red” to the blog element the posts will also show the same:
    2021-03-17_083743.jpg
    So now that the css was added once every blog element with the custom class “red” will show this way anywhere on your site, you can now do this with other colors by using a different custom class and create a different css snippet.

    Best regards,
    Mike

    in reply to: Different font – full-width slider element #1288686

    Hi,
    Glad to hear this helped you move your project forward. As I pointed out earlier this thread is very long now and is covering too many topics to make reasonable sense, lets close this thread, and if you have any future questions you can open a new thread and we will be happy to assist, agree?

    Best regards,
    Mike

    in reply to: get coloured background full width with menu on the left #1288682

    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 the feedback, and thanks for the login, perhaps a better solution would be to add a custom class to each of the blog elements on the homepage and duplicate this class on the corresponding blog elements on your other pages, this would replace the section ID of the css.
    2021-03-16_085221.jpg
    So every blog element with the custom class “red” would show the blog entries in red no matter what page they are on. Please give this a try, if you like I can demonstrate this with one blog element on your homepage and the corresponding “other” page.

    Best regards,
    Mike

    in reply to: Change the header size of the all ecommerce pages #1288478

    Hi,
    Glad we were able to help, 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: Tabelle formatieren? #1288474

    Hi,
    Glad to hear that this helped, in this case copying the selector within the table I had used Inspector > Copy Selector, but the heading-row also contained another Span, thus the two rules above.
    So as you pointed out, typically this will provide a “good enough” selector, but in this case it was a little different 🙂
    Browser_Inspector_Copy_Selector.jpg

    Best regards,
    Mike

    in reply to: pop up with iframe loading very slowly #1288458

    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: pop up with iframe loading very slowly #1288282

    Hi,
    Thanks for trying, but you have added html in the link field:
    2021-03-15_064928.jpg
    so inserting the html correctly would have worked, but I also recognize that you wish to have the team member image link to open the popup so I removed the code from your functions.php and the css from your Quick CSS and added this to a code block on your test page and customized it for you. So each team member link will need to be different, so the first one will be #team-popup-one
    2021-03-15_071423.jpg
    and each team member image will have the same custom class team-popup
    2021-03-15_071922.jpg
    Now for the first team member popup box we will use this in a code block at the bottom of the page:

    <div id="team-popup-one" class="team-popup-link mfp-hide">
    <p>PLACE CONTENT HERE</p>
    </div>

    *Please Note, you can add all of your popup boxes to the same code block element, and the ID team-popup-one will be different for each one, i.e: team-popup-two, team-popup-three, etc. and it must also match the team member image link.

    Now the script and css for this to work I added into a code block at the bottom of the page, for this test:

    <script>
    jQuery(window).load(function(){
    	jQuery('.avia-image-container.team-popup a.avia_image').addClass('team-popup-link');
    	jQuery('.team-popup-link').magnificPopup({
    	  type:'inline',
    	  midClick: true
    	});
    });
    </script>
    <style>
    .team-popup {
    position: relative;
    background: #FFF;
    padding: 20px;
    width: auto;
    max-width: 500px;
    margin: 20px auto;
    }
    </style>

    2021-03-15_075113.jpg
    Now clicking the first team member loads the popup – very fast 🚀
    2021-03-15_075321.jpg
    Please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: No capital letters on H1 and H2 titles of web pages #1288137

    Hi,
    Thank you for your patience and the login, I see that your homepage is the basic WordPress Blog roll as set by the WordPress settings:
    2021-03-14_182558.jpg
    So with this setting you are not really using the page layout options of the Enfold theme, WordPress is just listing your blog posts.
    You can create a page with the Enfold Advanced Layout Builder and add content and H1 title and then use the “Blog element” to show your posts, but there are so many options available to you I’m not sure how to advise because I don’t know what your Homepage vision is.
    Please take a look at these Enold Demos for homepage ideas so you can give us an idea of what you would like to achieve.

    If your current homepage layout is exactly what you want, and you just want to make the top post an H1, no matter which is the top one, so your homepage will have an H1 I believe that this could be done with a small script.

    Best regards,
    Mike

    in reply to: pop up with iframe loading very slowly #1288135

    Hey Tia,
    Thank you for your patience and the link to your page.
    Please take a look at this solution
    This solution is to add your popup content hidden at the bottom of your page instead of using an iframe and this opens very fast.
    Please try this on a test page and if you run into any bumps let me know and I’ll check with the login you posted above if you wish.

    Best regards,
    Mike

    in reply to: Blog post: other background color for different category #1288131

    Hey Theodor,
    Thank you for your patience and for the link to your site.
    As I understand your site layout for this section the first row will always be green, the second red, and the third is blue, for this please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    #av_section_1 .avia-content-slider .slide-content .slide-entry-title,
    .avia-button-wrap.avia-builder-el-6 > .avia-button {
    	background-color: #c8d094 !important;
    }
    #av_section_2 .avia-content-slider .slide-content .slide-entry-title,
    .avia-button-wrap.avia-builder-el-10 > .avia-button {
    	background-color: #d09c94 !important;
    }
    #av_section_3 .avia-content-slider .slide-content .slide-entry-title,
    .avia-button-wrap.avia-builder-el-14 > .avia-button {
    	background-color: #a9c3cc !important;
    }
    

    Please see the screenshot in the Private Content area that displays this. So this would work as is, but I would recommend adding a custom ID to each of the 3 sections so if you should edit the page in the future the solution will continue to work.
    The custom IDs would need to be added to the css to replace the default IDs of #av_section_X.
    If you would like a hand with this step please include an admin login in the Private Content area, or if you are able to add the custom IDs we can rewrite the above css without logging in.

    Best regards,
    Mike

    in reply to: Center logo on mobile #1288128

    Hey jaroljmek,
    Thank you for your patience, 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){
    .responsive #top #header_main .logo img,
    .responsive #top #header_main .logo {
        margin: auto !important;
    }
    }

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

    Best regards,
    Mike

    in reply to: Footer padding changing on Category pages #1288126

    Hey Matt,
    Thank you for your patience and the login to your site.
    The issue is that on the category page your footer page footer elements have a line-break after each element:
    2021-03-14_152549.jpg
    On your correct pages this doesn’t occur. I believe this occurs because you are using v4.4, which is quite old now as it was released in May 2018
    Please update to v4.8

    Best regards,
    Mike

    Hi,
    Thank you for your patience, I believe you would like the menu items lined up like in the screenshot in the Private Content area, please note the red lines.
    I created the screenshot by injecting this css in my browser:

    #menu-item-99 {
        left: 60px !important;
    }
    #menu-item-97 {
        left: 30px !important;
    }
    #menu-item-96 {
        left: 10px !important;
    }

    If the screenshot is correct, then please try the css and clear your browser cache.

    Best regards,
    Mike

    in reply to: Tabelle formatieren? #1288118

    Hi,

    @aboderc
    is this what you ment:
    2021-03-14_132607.jpg
    this is the css:

    #preise > div > div.container > div > div > div > div:nth-child(5) > div > div.avia-table.main_color.avia-pricing-table-container.avia_pricing_minimal.avia-builder-el-92.el_after_av_hr.el_before_av_textblock.skTable.avia-table-1 > div:nth-child(2) > ul > li.avia-heading-row,
    #preise > div > div.container > div > div > div > div:nth-child(5) > div > div.avia-table.main_color.avia-pricing-table-container.avia_pricing_minimal.avia-builder-el-92.el_after_av_hr.el_before_av_textblock.skTable.avia-table-1 > div:nth-child(2) > ul > li.avia-heading-row > span {
    	background-color: green !important;
        border-color: green !important;
    }

    What I note from your css is there is no #av_section_1 on that page, I believe that you used the custom ID #preise which replaced the default #av_section_1. But that is OK because a custom ID is a better approach.

    Best regards,
    Mike

    in reply to: Mobile menue: Link Click Color #1288114

    Hi,
    Ok, thank you for your patience and for using Enfold, have a great day.

    Best regards,
    Mike

    Hi,
    Thank you for your patience, and thanks for the link to your staging site, please see the screenshot in the Private Content area.
    This screenshot is showing your two logos at the same time on mobile, you will note that you can see both of them instead of them overlapping and only seeing one of them.
    To create this screenshot I changed the opacity in my browser only, this led me to the css:

    @media only screen and (max-width: 767px) {
    .responsive .logo a {
        display: table-cell;
        vertical-align: middle;
    }
    }

    changing the “table-cell” to “inline-block” corrects, but then we need to correct the padding for after scroll when the class “av_header_transparency” is removed and this css doesn’t work anymore:

    @media only screen and (max-width: 767px) {
    .responsive #top .av_header_transparency .logo {
        padding-top: 20px !important;
    }
    }

    So the full solution is this:

    @media only screen and (max-width: 767px) {
    .responsive .logo a {
        display: inline-block !important;
        vertical-align: middle;
    }
    .responsive #top .logo {
        padding-top: 20px !important;
    }
    }

    I added this to your Quick CSS and is working now, please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Different font – full-width slider element #1288060

    Hi,
    Glad to hear the good news of your launches, thank you for the screenshots. We have covered a lot of ground in this thread, on many topics, and sometimes this gets confusing, even for me 🙂 I think that the word “related” might be an issue depending on the context within Woocommerce & Enfold, because it is different, so lets try a new explanation.

    We want to have a single post that we can display 3 products in, and we want to show a specific group of products from a group that we will decide on. We will use a woocommerce shortcode to do this. We are not picking specific product IDs to show in the shortcode, we are going to pick a group that we create.

    So to show 3 items in a row from a specific group that we decided to identify as savvy, and we decided to identify this group by adding the Tag savvy to the products.
    2021-03-13_154231.jpg
    So the shortcode is:
    [products limit="3" columns="3" tag="savvy"]
    2021-03-13_154503.jpg
    and the result is:
    2021-03-13_155425.jpg
    Please give this a try 🙏

    Please Note: in this example we are using a woocommerce shortcode in a Classic Editor single post, we are not using the Advanced Layout Builder elements. We are doing it this way because our previous conversations led me to believe that we (you, or any future readers), may want to show a single in-line product in the content, not just 3 at the bottom.
    Also note that the woocommerce shortcodes have many Product Attributes for use to cull the products used that you may want to use.

    Please Also Note: that I believe you will have better results if you use single word tags, or at least use dashes, this format doesn’t look promising:
    2021-03-13_161727.jpg

    Best regards,
    Mike

    in reply to: Mobile menue: Link Click Color #1288046

    Hi,
    Sorry for the late reply and thanks for the link to your site, I believe this is related to the browser Accessibility Focus, #5B9DD9, you may also note the burger menu also does this, similar to the Focus Outline
    In my tests this css seems to work:

    .html_av-overlay-full #av-burger-menu-ul li a:active,
    .html_av-overlay-full #av-burger-menu-ul li a:focus {
    	background-color: yellow !important;
    }

    In my tests using :active & :focus together seems to help, but we are trying to overwrite the browser and not the page css, which is tricky because I believe the browser uses javascript to inject the css rules.
    While the color is yellow, I believe my screen is showing a slight yellow-green, so I think the accessibility color #5B9DD9 is not completely overwritten.
    What color are you trying to change this too? Are you going to try to change all of the browser accessibility colors, such as the burger menu, input fields, etc?

    Best regards,
    Mike

    in reply to: Anchors and non-shrinking headers #1287671

    Hi,
    Thank you for the link to your page, I see that you are using the “name” tag for your anchor link like this:
    <a name="drinks"></a>
    please try changing this to use the “ID” tag like this.
    <a id="drinks"></a>
    the reason for this is the theme script that sets the offset looks for IDs in the anchor, as “name” is an deprecated attribute:
    anchor_name_is_a_deprecated_attribute.jpg
    after correcting this, please clear your browser cache and check.

    Best regards,
    Mike

Viewing 30 posts - 14,701 through 14,730 (of 34,635 total)