Viewing 30 results - 2,641 through 2,670 (of 10,096 total)
  • Author
    Search Results
  • #1028867
    mbauercag
    Participant

    Hi,

    is it possible to move the thumbnails of the product gallery on a product-side (woocommerce) to the right side?

    Please see more infos in private section.

    Thanks!

    Best regards,

    Martin

    #1028454
    jurgen1979
    Participant

    Hello

    My client is building a new website and we are facing a weird issue …

    Normally when we have a text-link or a image that links to a youtube-video, that Youtube video shows up in a lightbox.
    We test this out here on this page: http://www.kristien.be/test/
    All works fine here.

    Now, we also use a filter-system in our website where we filter youtube-video’s, so when the filter is used the result is a bunch of images that link to a youtube video. So normally you should expect that those thumbnails also open up a lightbox to show the youtube video. However … the don’t … The link goes to youtube …
    Check it here: http://www.kristien.be/flexiever-in-actie/

    Can you explain this? How can I solve this?

    #1028345

    Hi,

    The theme’s and the default WooCommerce gallery are virtually the same, but the latter has additional features like image variation switch and image zoom.
    I tried to adjust the thumbnails on the theme’s default gallery but every modification that I used didn’t work.

    Best regards,
    Ismael

    Hi,

    That is for the blog or single post pages. Did you modify the loop-search.php file to display the thumbnails? Please post the content of the modified file on pastebin.com.

    Best regards,
    Ismael

    #1027793

    Topic: Blog Thumbnail spacing

    in forum Enfold
    tankerhq
    Participant

    Hi there,

    I’d like to adjust the spacing between my columns on the blog thumbnail grid on my news page (currently using a 4 column layout). I’d like the spacing to be 33px.

    #1027391

    Hi,

    I am not interested in the WooCommerce gallery.

    On the page we want to have the default gallery Enfold set. Which does not work properly and the thumbnails lose their quality.

    I even found where the problem is and enclosed in a private message. Please correct the error that occurs in the Enfold template.

    #1027373

    Hi,

    Sorry for the late response. I had to disable the srcset attribute and set the Enfold > Shop Options > Product gallery to the default WooCommerce gallery to adjust the thumbnails. The gallery is using the “portfolio” thumbnail now.

    Best regards,
    Ismael

    Hi Victoria,

    first of all thanks for your patience and expertice!
    Actually yes I will need finally assistance in one more problem:
    As I described actually the gallery height on my desktop is too much. Its not possible to see the whole picture and the thumbnails below in one screen (I am using Macbook with 4k resolution). Thats why you gave me the CSS. But since fixed pixel will not be responsive as far as I know I tried it with the % in CSS:

    #top div .avia-gallery .avia-gallery-big-no-crop-thumb {
    height: 50% !important;
    }

    Actually this did not take any effect. So what to do now to get the gallery height lower in a responsive way / working for all devices?

    Thanks!!

    #1026635

    Hi,

    You can adjust the default thumbnail sizes with the Simple Image Size plugin. I think that’s enough to control the size of the served image for most screen sizes. Unfortunately, we can’t implement the srcset attribute to the masonry element because the featured images are added as background instead of an img element.

    Best regards,
    Ismael

    Hey tonyplanet,
    I took a look at your page and see the 6 galleries in a grid format, but there are no thumbnails.
    Please see the screenshot in Private Content area.

    Best regards,
    Mike

    tonyplanet
    Participant

    Hi
    Since I upgraded to enfold 4.5 the Avia Gallery Element shows always the thumbnails although
    “only big picture, other images via lightbox” is selected.
    I tried to store it with another option and change it back but it always shows the thumbnails below the big image.

    How can this be changed to make sure it is like in previous enfold template version?

    Thanks for any help

    #1026320

    Hi,

    I would like to add the filter above after regenerating the thumbnails but I can’t modify the functions.php file in the Appearance > Editor panel. Please post the FTP details in the private field.

    Best regards,
    Ismael

    #1025852

    I have a backup. You can try to fix the problem with thumbnails.

    #1025710

    Hi,

    Do you have a site backup or a restore point? I would like to try to regenerate the thumbnails to increase the size of these thumbnails. (see private field)

    Best regards,
    Ismael

    #1025448

    Hey ZacharyKnight,

    Thank you for using Enfold.

    You can actually modify the includes > loop-index.php file in your child theme to override the default thumbnail settings. Just look for this code around line 66:

    
         */
        $size = strpos($blog_style, 'big') ? (strpos($current_post['post_layout'], 'sidebar') !== false) ? 'entry_with_sidebar' : 'entry_without_sidebar' : 'square';
    

    Set the default thumbnail sizes from “entry_with_sidebar” and “entry_without_sidebar” to “full” or “extra_large”.

    Best regards,
    Ismael

    #1025345

    Hi,

    The “shop_thumbnail” size is still set to 100x100px when I check the Settings > Media panel. You have to adjust it before the regenerating the images.

    Best regards,
    Ismael

    #1025285
    foxvendetta
    Participant

    Hi guys,

    My site seems to be displaying the thumbnails during mobile/responsive mode in a rectangle, which is much smaller than the original thumbnails shown on desktop (square).

    How can I set the mobile thumbnails to be the same size as the desktop thumbnails?

    Also, is there a way for me to define the thumbnail sizes in desktop too?

    Thank you for your assistance.

    #1025244

    Hi,
    You can change the image on hover to any image you wish by linking to the image in the css, in this example you will see that I targeted the one thumbnail by it’s post number, then I choose a link to a different image:

    li.post-816 .thumbnail_container:hover {
     background: url(https://127.0.0.1/2017demo1/wp-content/uploads/2017/02/people-1-6.jpg) !important; 
        background-repeat: no-repeat !important; 
        background-size: cover !important; 
        background-position: 50% 50% !important; 
    }
    li.post-816 .thumbnail_container:hover img.attachment-shop_catalog {
    opacity: 0 !important; 
    }

    Please see the screenshot in Private Content area of before hover & hover.
    Please try this code in the General Styling > Quick CSS field & change the url to the image you wish use.

    Best regards,
    Mike

    BeeCee
    Participant

    Hi,

    in case I forgot to upload a featured image to
    – posts
    – pages

    I would like to show a default image, that also appears in the search results!

    I found here from @ismael an old snippet:
    https://kriesi.at/support/topic/change-default-thumbnail-image/#post-668404

    add_filter('avf_loop_index_blog_meta', 'avf_loop_index_blog_meta_mod', 10, 1);
    function avf_loop_index_blog_meta_mod($output) {
    	$link = get_permalink();
    	$fallback = strpos($output, 'iconfont');
    
    	if ($fallback <= 200) {
    	    $output = "<a href='{$link}' class='small-preview' title='Advanced Post'><img src='FALLBACK IMAGE URL HERE'/></a>";
    	}
    
    	return $output;
    }

    P.S.: yes, I have replaced in the snippet the right image path :-)

    but when I look at my search results, then all the posts & pages, where I forgot to upload a featured image, still have not the default featured image; maybe this snippet is is not the right one for showing a default featured image of posts & pages (!) in the search results because “iconfont” appears in the snippet?

    Somewhere in the internet I found this snippet, but it still does not work with ENFOLD:

    if ( has_post_thumbnail() ) {
    the_post_thumbnail();
    } else { ?>
    <background-image=url("https://mysite.de/wp-content/uploads/sites/2/2018/10/defaultfeaturedimage.jpg")>
    <?php } 

    Could you please give me a newer, right snippet for it (no plugin)? Thanks a lot.

    #1025158

    In reply to: Search error

    To be more precise with this bug in 4.5…. it’s the search preview that is now distorted, with huge thumbnails and lack of text… but if you then click search icon, it DOES go to the results.

    #1025051
    justeyer2
    Participant

    Hi,
    in my woocommerce shop the products thumbnails are always blurry (Upload with 1500×1500 px).
    What went wrong?
    Best regards, Oliver

    #1024759
    imokweb
    Participant

    Hello
    I have a question aboiut the masonry gallery on this page (in the private content)
    This is what I see on the desktop version http://prntscr.com/l8vwno and this is what I see on the smaller resolutions http://prntscr.com/l8vxeh
    How can I make the smaller resolutions to have smaller images like on the bigger resolutions, I’d like all images to show in the smae line, because there are only 6 of them :)
    Thandk

    #1024721

    This solution also did not help. Despite the change in the size and regeneration of the thumbnails did not help.

    IngridSpielman
    Participant

    My client doesn’t want the masonry gallery thumbnail images to animate on page load, and also not on ‘load more’

    Can I turn off this feature in the theme options?

    Otherwise, is there a function or style I could add to my child theme functions.php, or style.css?

    Thank you,

    • This topic was modified 7 years, 5 months ago by IngridSpielman. Reason: I've resolved this. You can ignore this. Thanks
    #1024640

    Hi,

    Thanks for the update. Install the “Simple Image Sizes” plugin instead then go to the Settings > Media panel. Adjust the size of the “shop_thumbnail”, update, save and then regenerate the images.

    // https://wordpress.org/plugins/simple-image-sizes/

    Best regards,
    Ismael

    #1024220

    These are the two pages that have the issues:
    Vintage bottle caddy
    http://theepicureanarchitect.com/vintage-bottle-caddy/?preview_id=1568&preview_nonce=f7511f71dd&_thumbnail_id=1578&preview=true
    Teak paddle board
    http://theepicureanarchitect.com/teak-paddle-board/?preview_id=1601&preview_nonce=839baa78c3&_thumbnail_id=1590&preview=true

    I have managed now to get a buy button by pasting code directly into a text box not contained within a layout element. Whenever it is in a layout element it is not visible on the website, even though it can be seen in the ‘visual’ window of the editing page.

    Ideally, I want the buy button to sit under the $100 text in the layout element.

    This is the code for the:
    Vintage bottle caddy

    <div id=’product-component-55502f0be61′></div>
    <script type=”text/javascript”>
    /*<![CDATA[*/

    (function () {
    var scriptURL = ‘https://sdks.shopifycdn.com/buy-button/latest/buy-button-storefront.min.js&#8217;;
    if (window.ShopifyBuy) {
    if (window.ShopifyBuy.UI) {
    ShopifyBuyInit();
    } else {
    loadScript();
    }
    } else {
    loadScript();
    }

    function loadScript() {
    var script = document.createElement(‘script’);
    script.async = true;
    script.src = scriptURL;
    (document.getElementsByTagName(‘head’)[0] || document.getElementsByTagName(‘body’)[0]).appendChild(script);
    script.onload = ShopifyBuyInit;
    }

    function ShopifyBuyInit() {
    var client = ShopifyBuy.buildClient({
    domain: ‘the-epicurean-architect.myshopify.com’,
    storefrontAccessToken: ‘7c033492928c77dfca909d65deed0575’,
    });

    ShopifyBuy.UI.onReady(client).then(function (ui) {
    ui.createComponent(‘product’, {
    id: [1428480000117],
    node: document.getElementById(‘product-component-55502f0be61’),
    moneyFormat: ‘%24%7B%7Bamount%7D%7D’,
    options: {
    “product”: {
    “variantId”: “all”,
    “width”: “240px”,
    “contents”: {
    “img”: false,
    “imgWithCarousel”: false,
    “title”: false,
    “variantTitle”: false,
    “price”: false,
    “description”: false,
    “buttonWithQuantity”: false,
    “quantity”: false
    },
    “styles”: {
    “product”: {
    “text-align”: “left”,
    “@media (min-width: 601px)”: {
    “max-width”: “calc(25% – 20px)”,
    “margin-left”: “20px”,
    “margin-bottom”: “50px”
    }
    },
    “button”: {
    “background-color”: “#9b9696”,
    “:hover”: {
    “background-color”: “#8c8787”
    },
    “:focus”: {
    “background-color”: “#8c8787”
    }
    }
    }
    },
    “cart”: {
    “contents”: {
    “button”: true
    },
    “styles”: {
    “button”: {
    “background-color”: “#9b9696”,
    “:hover”: {
    “background-color”: “#8c8787”
    },
    “:focus”: {
    “background-color”: “#8c8787”
    }
    },
    “footer”: {
    “background-color”: “#ffffff”
    }
    }
    },
    “modalProduct”: {
    “contents”: {
    “img”: false,
    “imgWithCarousel”: true,
    “variantTitle”: false,
    “buttonWithQuantity”: true,
    “button”: false,
    “quantity”: false
    },
    “styles”: {
    “product”: {
    “@media (min-width: 601px)”: {
    “max-width”: “100%”,
    “margin-left”: “0px”,
    “margin-bottom”: “0px”
    }
    },
    “button”: {
    “background-color”: “#9b9696”,
    “:hover”: {
    “background-color”: “#8c8787”
    },
    “:focus”: {
    “background-color”: “#8c8787”
    }
    }
    }
    },
    “toggle”: {
    “styles”: {
    “toggle”: {
    “background-color”: “#9b9696”,
    “:hover”: {
    “background-color”: “#8c8787”
    },
    “:focus”: {
    “background-color”: “#8c8787”
    }
    },
    “count”: {
    “color”: “#ffffff”,
    “:hover”: {
    “color”: “#ffffff”
    }
    },
    “iconPath”: {
    “fill”: “#ffffff”
    }
    }
    },
    “productSet”: {
    “styles”: {
    “products”: {
    “@media (min-width: 601px)”: {
    “margin-left”: “-20px”
    }
    }
    }
    }
    }
    });
    });
    }
    })();
    /*]]>*/
    </script>

    Teak paddle board

    <div id=’product-component-f545d00ac92′></div>
    <script type=”text/javascript”>
    /*<![CDATA[*/

    (function () {
    var scriptURL = ‘https://sdks.shopifycdn.com/buy-button/latest/buy-button-storefront.min.js&#8217;;
    if (window.ShopifyBuy) {
    if (window.ShopifyBuy.UI) {
    ShopifyBuyInit();
    } else {
    loadScript();
    }
    } else {
    loadScript();
    }

    function loadScript() {
    var script = document.createElement(‘script’);
    script.async = true;
    script.src = scriptURL;
    (document.getElementsByTagName(‘head’)[0] || document.getElementsByTagName(‘body’)[0]).appendChild(script);
    script.onload = ShopifyBuyInit;
    }

    function ShopifyBuyInit() {
    var client = ShopifyBuy.buildClient({
    domain: ‘the-epicurean-architect.myshopify.com’,
    storefrontAccessToken: ‘7c033492928c77dfca909d65deed0575’,
    });

    ShopifyBuy.UI.onReady(client).then(function (ui) {
    ui.createComponent(‘product’, {
    id: [1428489830517],
    node: document.getElementById(‘product-component-f545d00ac92’),
    moneyFormat: ‘%24%7B%7Bamount%7D%7D’,
    options: {
    “product”: {
    “variantId”: “all”,
    “width”: “240px”,
    “contents”: {
    “img”: false,
    “imgWithCarousel”: false,
    “title”: false,
    “variantTitle”: false,
    “price”: false,
    “description”: false,
    “buttonWithQuantity”: false,
    “quantity”: false
    },
    “styles”: {
    “product”: {
    “text-align”: “left”,
    “@media (min-width: 601px)”: {
    “max-width”: “calc(25% – 20px)”,
    “margin-left”: “20px”,
    “margin-bottom”: “50px”
    }
    },
    “button”: {
    “background-color”: “#9b9696”,
    “:hover”: {
    “background-color”: “#8c8787”
    },
    “:focus”: {
    “background-color”: “#8c8787”
    }
    }
    }
    },
    “cart”: {
    “contents”: {
    “button”: true
    },
    “styles”: {
    “button”: {
    “background-color”: “#9b9696”,
    “:hover”: {
    “background-color”: “#8c8787”
    },
    “:focus”: {
    “background-color”: “#8c8787”
    }
    },
    “footer”: {
    “background-color”: “#ffffff”
    }
    }
    },
    “modalProduct”: {
    “contents”: {
    “img”: false,
    “imgWithCarousel”: true,
    “variantTitle”: false,
    “buttonWithQuantity”: true,
    “button”: false,
    “quantity”: false
    },
    “styles”: {
    “product”: {
    “@media (min-width: 601px)”: {
    “max-width”: “100%”,
    “margin-left”: “0px”,
    “margin-bottom”: “0px”
    }
    },
    “button”: {
    “background-color”: “#9b9696”,
    “:hover”: {
    “background-color”: “#8c8787”
    },
    “:focus”: {
    “background-color”: “#8c8787”
    }
    }
    }
    },
    “toggle”: {
    “styles”: {
    “toggle”: {
    “background-color”: “#9b9696”,
    “:hover”: {
    “background-color”: “#8c8787”
    },
    “:focus”: {
    “background-color”: “#8c8787”
    }
    },
    “count”: {
    “color”: “#ffffff”,
    “:hover”: {
    “color”: “#ffffff”
    }
    },
    “iconPath”: {
    “fill”: “#ffffff”
    }
    }
    },
    “productSet”: {
    “styles”: {
    “products”: {
    “@media (min-width: 601px)”: {
    “margin-left”: “-20px”
    }
    }
    }
    }
    }
    });
    });
    }
    })();
    /*]]>*/
    </script>

    Thank you so much for your help. I have always used the Shopify app in wordpress and have never had any problems so don’t understand whey this is so tricky now.

    Thank you
    Victoria

    #1023737

    Hi @Victoria,
    Yes I did,. And it’s working now. I have bigger search results thumbnails in bubbles when using the css code from the link you shared + your CSS code:

    /* Search Results Thumbnail */
    
    .search-result-counter {
        padding: 0;
    }
    
    .search-result-counter img {
    	width: 100%;
    	height: 100%;
    	border-radius: 100px;
    }
    
    /* Search Results Bigger Thumbnails */
    
    .search.search-results .search-result-counter {
      width: 100px;
      height: 100px;
    }
    .search.search-results .template-search .entry-content-wrapper .post-title,
    .search.search-results .template-search .entry-content-wrapper .post-title + .post-meta-infos,
    .search.search-results .template-search .entry-content-wrapper .entry-content {
      padding-left: 70px;
    }

    1. Is this ☝️ then correct?
    2. Is there a way to enlarge the image that is displayed (preview) as you type the search term?
    Thank you!

    #1023713

    Hi,

    Thank you for the update.

    The gallery is set to the smallest thumbnail by default, which is 100x100px. You can use this filter to adjust that size.

    add_filter('woocommerce_get_image_size_thumbnail', 'woocommerce_get_image_size_thumbnail_mod', 10, 2);
    function woocommerce_get_image_size_thumbnail_mod($size) {
    	$size['width'] = 300;
    	$size['height'] = 450;
    	$size['crop'] = 0;
    	return $size;
    }

    // https://themebynumbers.com/2018/04/18/how-to-override-woocommerce-image-sizes/

    Best regards,
    Ismael

    #1023383

    Hi @Ismael.

    Thank you I did that and…it works!
    How can I make the thumbnail images on the search results bigger?

    I’m not sure how to reconcile this thread with that post.

    #1023156

    Hi Kriesi,
    I just tried Victoria’s CSS Code above.

    .search.search-results .search-result-counter {
      width: 100px;
      height: 100px;
    }
    .search.search-results .template-search .entry-content-wrapper .post-title,
    .search.search-results .template-search .entry-content-wrapper .post-title + .post-meta-infos,
    .search.search-results .template-search .entry-content-wrapper .entry-content {
      padding-left: 70px;
    }

    While it increased the size of the Thumbnail bubbles it revealed a problem I did not know I had. The images are missing from the bubbles in the search results!

    Here is my website:
    http://www.wildsugar.fashion

    I’ve included login details in the private data.

    Thank you!

Viewing 30 results - 2,641 through 2,670 (of 10,096 total)