Viewing 30 results - 1,441 through 1,470 (of 10,095 total)
  • Author
    Search Results
  • #1259525

    Hi,

    That is why you have to register another thumbnail with a different name for the image with a different crop position. Both thumbnails will have the same height and width, but they should not have the same name when you register them.

    Best regards,
    Ismael

    Hi,

    Thank you for the update.

    What if showing the Add to Cart button just below the thumbnail picture?

    The image is actually inside the link container, so adding the add to cart link will still require a custom script that could detect a mouse click and that is able to recognize that the user or visitors actually clicked on the add to cart button.

    We tried to check the dashboard again but the server is unavailable, and the front end shows a maintenance mode page.

    Best regards,
    Ismael

    #1259193

    Hi,
    yeah, I know but the thumbnail name ist always created with the resolution as addition.

    imgname-1920×700 (crop, left, top)
    imgname-1920×700 (crop, right, center)

    This wont work because only one image at a time can have the same name. So what we need is a solution that adds another addition which stands for the crop position.

    So we need something like this,

    imgname-1920×700-lefttop (crop, left, top)
    imgname-1920×700-rightcenter (crop, right, center)

    so we can use the same image with different crop positions.

    Regards,
    Sebastian

    #1259152

    Hi,

    Thank you for for following up.

    Is it possible to give the image name another addition like header-intro-1920×700-leftright or something like that?

    You will have to register another thumbnail for the other image with a different crop position.

    Best regards,
    Ismael

    Hi,

    When I choose for example Portfolio 495 x 400, all the miniatures are shown in that size, even if my images I set in the Media Library are all different sizes.

    That is how selecting a thumbnail is supposed to work, so it is actually recommended to upload images with the same size. Another solution is to use the original image and show it as is, or register another thumbnail or size as you see fit and use it instead.

    // https://developer.wordpress.org/reference/functions/add_image_size/
    // https://developer.wordpress.org/reference/hooks/image_size_names_choose/

    You can use the add+image_size function to register your own thumbnail or image size, and the filter image_size_names_choose should allow you to include the new thumbnail or image size in the image list so that they can be selected later on.

    Best regards,
    Ismael

    #1258843

    Hello Yigit,

    Thanks; both custom codes you give me work perfect :)

    Considering question 2:
    The default setting for the Flexible Masonry is that all images get the same width and are displayed with their original height and width ratio. However, i would like to be able to give all images the same height instead of the same width.

    When all images of the same width (like it is now by default) the vertical images are a lot bigger then the horizental imgages. You can see what I mean on a test website here: https://www.mwp-owd.nl/

    You see that the vertical image thumbnails are larger then the horizental thumbnails, because the default setting is that all images get the same width.

    Now please take a look at this thumbnail grid created with the Meow Gallery plugin:
    (on https://www.mwp-owd.nl/ click on the page “meow-test” in the topbar menu)

    Here you see that all images get the same height by deafult! I like this a lot more then the Enfold default.

    So instead of making all images the same width I would like to make all images the same height in the Enfold Flexible Masonry.

    I hope you understand my question now and also hope this is possible :)

    Thanks,
    Alwin

    • This reply was modified 5 years, 4 months ago by Alwin.
    #1258740

    In reply to: Hide Vat and Shipping

    Hello, I am trying to remove several information that is shown above the related products thumbnail

    1. Tax rate
    I was able to remove the “incl. VAT” information with the following code (in Quick CSS of my Child Theme > General Styling)

    .related.products .woocommerce-de_price_taxrate {
    display: none;
    }

    I want to also remove the following information shown on top of the related products thumbnail picture
    2. “plus shipping”
    3. “Delivery Time: approx. 3-4 workdays”
    4. The information from the “Hinweis für Versand in Nicht-EU-Länder”-field that is from the GermanMarkte Plugin (WooCommerce > GermanMarket > Products and then under the products tab it is the first field where text can be added, the English translation of the default text is something like this: “By delivery in non-EU countries additional country-specific import duties, taxes and fees can result.”)

    Could you please let me know what the codes are to also remove these 3

    Thank you.

    Hi Ismael,
    thanks for getting back and for your explanation. I understand that certain things cannot be part of your support.

    However, to better understand, so an additional script is needed when the Add To Cart button shall be part of the information showing on hover (in addition to title and price), is that correct?
    What if showing the Add to Cart button just below the thumbnail picture? This should be possible without an additional script, correct? I looked at the following threat https://kriesi.at/support/topic/add-add-to-cart-button-in-product-grid-product-slider/ and added the code

    add_action( ‘woocommerce_after_shop_loop_item_title’, ‘woocommerce_template_loop_add_to_cart’, 10 );

    to the functions.php file of the active child theme. But nothing changed.

    Thanks a lof for your additional advice.

    manyfloor
    Participant

    Hi guys,

    Open this ticket just to bring a solution I found to show search results products as the shop overview 3.0.0 (with the thumbnails, the first gallery image switch and the price).

    Look to find the loop-search.php in enfold/includes, make a copy of it and upload an edited version to your child-theme subfolder includes (commonly it is : enfold-child/includes).

    Then look the line 33 :

    echo "<span class='search-result-counter {$counterclass}'>{$post_loop_count}</span>";

    Replace it by :

     $searchimage = get_the_post_thumbnail( $the_id, 'shop_catalog' );
      $searchimagealt = avia_woocommerce_gallery_first_thumbnail( $the_id , 'shop_catalog' );
      echo "<div class='thumbs'><div class='thumbnail_container'>{$searchimagealt}{$searchimage}</div></div>";
      echo "<span class='search-result-counter {$counterclass}'>{$post_loop_count}</span>";

    And the line 52 :

    echo "<{$heading} class='post-title entry-title {$css}'><a title='".the_title_attribute('echo=0')."' href='".get_permalink()."' $markup>".get_the_title()."</a></{$heading}>";

    By :

    if( get_post_type() === "product" )
                    {
                        $product = wc_get_product( $the_id );
                        $price = $product->get_price();
                        $currencysymbol = get_woocommerce_currency_symbol();
                        $pricesuffix = $product->get_price_suffix();
                        
                        echo "<a href='".get_permalink()."'><div class='inner_product_search_table'><div class='inner_product_search_cell'><{$heading} class='post-title entry-title {$css}'>".get_the_title()."</{$heading}><span class='price'><span class='woocommerce-Price-amount amount'><bdi>{$price}<span class='woocommerce-Price-currencySymbol'>{$currencysymbol}</span></bdi></span>{$pricesuffix}</span></div></div></a>";
                    }
                    
                    else
                    {
                        echo "<a href='".get_permalink()."'><div class='inner_product_search_table'><div class='inner_product_search_cell'><{$heading} class='post-title entry-title {$css}'>".get_the_title()."</{$heading}></div></div></a>";
                    }

    Here is some css to customize the design (to adapt to your project) :

    ‘/*SEARCH*/

    #top.search .template-search .post-entry {
    margin: 0 1% 1% 0;
    width: 32.6%;
    float: left;
    clear: none;
    }

    #top.search .template-search .post-entry:nth-of-type(3n) {
    margin-right: 0;
    }

    #top.search .template-search .post-entry .search-result-counter, #top.search .template-search .post-entry .entry-content, #top.search .template-search .post-entry .post-meta-infos, #top.search .template-search .search_form_field .author-extra-border, #top.search .template-search .search_form_field h4 {
    display: none;
    }

    #top.search .template-search .post-entry .image-overlay {
    display: none !important;
    }

    #top.search .template-search .post-entry .inner_product_search_table {
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.35);
    position: absolute;
    top: 0;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    }

    #top.search .template-search .post-entry .inner_product_search_cell {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    text-align: center;
    padding: 15px;
    }

    #top.search .template-search .post-entry > .entry-content-wrapper {
    padding: 0;
    }

    /*#top.search .template-search .post-entry .entry-content-header > a {
    display: inline !important;
    }*/

    #top.search .template-search .post-entry:hover .thumbnail_container > img.avia-product-hover {
    opacity: 1;
    filter: alpha(opacity=100);
    }

    #top.search .template-search .post-entry:hover {
    cursor: pointer;
    }

    #top.search .template-search .post-entry:hover .inner_product_search_table {
    opacity: 0;
    }

    /*#top.search .template-search .post-entry .avia-product-hover .thumbnail_container > img:first-child {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    filter: alpha(opacity=00);
    -webkit-transition: all ease-in-out 0.3s;
    -moz-transition: all ease-in-out 0.3s;
    transition: all ease-in-out 0.3s;
    -webkit-backface-visibility: hidden;
    }*/

    #top.search .template-search .post-entry .post-title {
    font-size: 20px;
    line-height: 20px;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
    padding: 5px 0;
    font-weight: normal;
    }

    #top.search .template-search .page-heading-container {
    border: 0;
    margin: 0;
    padding: 0 0 20px;
    }

    #top.search .template-search .extra-mini-title {
    margin: 0;
    padding-bottom: 20px;
    }

    #top.search .template-search .search_form_field h4 + p {
    margin-top: 0;
    }

    /*#top.search .template-search .post-entry .post-title a:hover {
    text-decoration: none;
    }*/’

    I’ve also chosen to limit search results to products and posts (not pages) so I’ve add to my functions.php (child-theme) :

    /*Filter search results by type (only post and product allows) excluding page*/
    function wpb_add_cpt_search($query) {
      if ( !is_admin() && $query->is_main_query() ) {
        if ($query->is_search) {
          $query->set('post_type', array('product', 'post'));
        }
      }
    }

    Hope this will help you not loosing two days of your life :)

    Hi,

    Thank you for the update.

    That adds up to 1GB of images even though most of the original images are 100KB or there abouts. Surely this is slowing my site down dramatically?

    This actually helps in speeding up the site because WordPress will be able to select and use a smaller versions of the image instead of serving up the original and larger version of the image. But it will definitely consume more space in your server.

    I will delete any that aren’t being used but I have no idea how to tell which are important and which aren’t? I

    This will actually depend on the content or the elements that are used in the site. Each thumbnail has it own uses and is designated to a specific element in the theme or site. It is important to note that WordPress automatically selects a different thumbnail if the assigned thumbnail is not found or was removed, so it is safe to disable any thumbnails that you think is not necessary for the site because WordPress will just pick another version of the thumbnail.

    Best regards,
    Ismael

    #1258191
    mirotck
    Participant

    Hey Team

    With the following code, I managed to increase the images. however, now they are with a bad resolution, because it still uses the thumbnail (180×180 I guess. where can I change the source and define that it should take 200×200 ?

    .av-tab-section-image {
    width: 120px;
    height: 120px;
    }

    Also, the titles are not centred anyomore. any suggestion?

    Many thanks in advance!!

    #1258131

    In reply to: Product widget

    This is great! I just have a couple of followup issues I was hoping you could help with:

    1) When viewing on my computer/desktop, there is quite a lot of space between the Product Name and the Price. I think the price is lined up with the bottom of the thumbnail image, causing that to float down and look a little detached from the Product Name. It looks great on mobile, however!

    2) I have three products displaying in my footer (link in Private Content), the first image for Canary Gold is showing up just fine – nice and clear. The next two are quite fuzzy and I can’t figure out why! This may not be related to the new code you provided – I think it’s been happening for a while (we just didn’t notice since the images were so small!). I regenerated thumbnails but that didn’t have an effect on anything. The images load up just fine on mobile and look great, so I’m baffled!

    I’ve including login info just in case you need to poke around the back-end.

    Thanks so much!

    Hey JoStudioDeRijp,

    Thank you for the inquiry.

    The thumbnail size can be set in the Gallery’s Styling > Gallery Preview Image Size settings. Try to set it to the first option if you want to display the original size of the images.

    You could also use the following plugin if you need to adjust the size of the registered thumbnails.

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

    Best regards,
    Ismael

    • This reply was modified 5 years, 4 months ago by Ismael.
    #1257647

    Hi Ismael,
    thanks for your reply.
    Unfortunately this will not set all the responsive image sizes within the srcset attribute.
    We found this code in the theme documentation and tested it. So far it’s working great. But its not described how to set the crop position. Is this posibile? And also we still want the images to have unique names like described above.

    /**
     * Allow to change or add definition of themes registered image sizes
     * ==================================================================
     * 
     * see enfold\functions.php around line 146ff for theme defined image sizes
     * 
     * You need to regenerate the WP generated thumbnails with a plugin like 
     * 
     * https://wordpress.org/plugins/regenerate-thumbnails/
     * https://de.wordpress.org/plugins/regenerate-thumbnails/
     * 
     * when you modify image sizes.
     * 
     * 
     * Copy the following snippets in functions.php and modify to your needs
     * 
     * @param array $sizes              
     * @return array                
     * 
     * @version 1.1.0
     * @since Enfold 3.0  ??
     */
    
    /**
     * Add or modify image sizes
     * 
     * @param array $sizes
     * @return array
     */
    function custom_modified_thumb_sizes( array $sizes )
    {
      /**
       * Example: Change sizes for 'masonry'
       * 
       */
                //  set to true to crop images (= default value if not set)
      //$sizes['masonry'] = array( 'width' => 1024, 'height' => 1024, 'crop' => false );
      
      /**
       * Example: Add new size for 'my_custom_size'
       */
      $sizes['test_img_size'] = array( 'width' => 800, 'height' => 450, 'crop' => true );
      $sizes['test_img_size_tab'] = array( 'width' => 650, 'height' => 366, 'crop' => true );
      
      return $sizes;
    }
    
    /**
     * Add or remove selectable image sizes
     * 
     * @since 4.7.5.1
     * @param array $selectableImgSize
     * @param array $imgSizes
     * @return array
     */
    function custom_modify_selectable_image_sizes( array $selectableImgSize, array $imgSizes ) 
    {
      /**
       * Example: Add my_custom_size registered before
       */
      $selectableImgSize['test_img_size'] = 'Test Bildgröße';
      $selectableImgSize['test_img_size_tab'] = 'Test Bildgröße Tab';
      
      /**
       * Example: Remove an image size 
       */
      unset( $selectableImgSize['extra_large'] );
      
      return $selectableImgSize;
    }
    
    /**
     * Add additional human readable image sizes (prepared in case we allow to add custom image sizes by theme)
     * 
     * @since 4.7.5.1
     * @param array $readableImgSizes
     * @param array $imgSizes
     * @return array
     */
    function custom_modify_readable_image_sizes( array $readableImgSizes, array $imgSizes ) 
    {
      /**
       * Example: Add my_custom_size registered before
       */
      $readableImgSizes['test_img_size'] = 'Test Bildgröße';
      $readableImgSizes['test_img_size_tab'] = 'Test Bildgröße Tab';
      
      return $readableImgSizes;
    }
    
    add_filter( 'avf_modify_thumb_size', 'custom_modified_thumb_sizes', 10, 1 );
    add_filter( 'avf_modify_selectable_image_sizes', 'custom_modify_selectable_image_sizes', 10, 2 );
    add_filter( 'avf_modify_readable_image_sizes', 'custom_modify_readable_image_sizes', 10, 2 );

    Best regards,
    Sebastian

    mebi
    Participant

    Hello,
    I would like to add the “add to cart” button to product thumbnails on mouse over. Currently only the price and the product name is appearing on mouse over.
    The goal is to be able to add the product to the cart without the need to open the product page itself, so that I can quickly add several products to the cart (when I already know the product and know what I want to purchase).
    Thank you for your support.

    #1257124

    Hey Genevieve,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    #top .products.columns-2 .thumbnail_container img {
        width: 70%;
        margin: 0 auto;
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    • This reply was modified 5 years, 4 months ago by Victoria.
    #1257110

    Hello Victoria,

    thank you for the answer.

    In our case we dont need a solution to search for featured images, we need a solution to search for images (by image-titles) used in galleries uploaded to the library. Is it possible to change this code to show pictures from library by searching for the image-title?
    Sorry i tried my best but im not that familiar with php…

    $searchimage = get_the_post_thumbnail( $the_id, 'large' );
    echo "<span class='search-result-image'>{$searchimage}</span>";
    echo "<span class='search-result-counter {$counterclass}'>{$post_loop_count}</span>";

    Best regards

    L

    #1256783
    Alwin
    Participant

    Hello, I want to set up a website with some Masonry Gallery’s and hgave some questions:

    – Under Styling can choose for No Gap, Large Gap, 1 pixel Gap. But can I set this value myself (with some custom css)? For example 5 pixel Gap?

    – I don’t want my pictures to be cropped so I choose the Flexible Masonry. However, The default is that all images get the same width and are displayed with their original height and width ratio. But what I like to do is set up all images with the same height, and then display them with the original height and width ratio. Is that possible at all?

    – I set up 4 collums, when the last collum row have less then 4 pictures to display is it posisble to hide this last row? Or at least to center the images in the last row?

    – I disbaled all animation options (Image effect, Animation on load) but still when I put my mouse o a thumbnail in the grid there is a “zoom in” effect. How can I completely disbale all this effects?

    Thanks very much for your help :)

    Alwin

    • This topic was modified 5 years, 4 months ago by Alwin.
    #1256650
    ariane1001
    Participant

    Hi support,
    I created a photo gallery using the gallery element with settings: Big image with 6 columns of thumbs below. It looks fine but on some portfolio pages the first thumb of the second row is empty. This occurs only on Chrome and works fine on Firefox. I tried a lot with lazy loading on/off, resizing al thumbs etc. etc. but no luck. The client is really upset about it so it would be great if you could have a look what can be the problem here.
    Url’s:

    or later today when the website is live:
    https://www.noutclassiccars.nl/car/mclaren-mp4-12c-spider-2012/
    https://www.noutclassiccars.nl/car/aston-martin-vanquish-v12-2003/

    Thank you for your help.
    Ariane

    #1256649
    ariane1001
    Participant

    Hi,
    I created a photo gallery using the one included in the Enfold theme. The thumbnails load ok, but they are extremely small and greyed out. Plus, the selected preview size is 260×185, but the resulting preview photo is extremely large with no way to advance to the next photo.

    Thank you for your help.

    Hi Victoria,
    thanks for your reply. I looked at the link that you provided. There are two more links, under the first one, I could not identify the solution to this (but I am not sure if the shortcodes might be the solution or not), the second link leads to a 404 error page.

    So to further explain what I need to achieve: I want to add the “add to cart” button to each product that is shown on a “products overview page”, I mean on a page where e.g. all products of one category are shown with a thumbnail picture. I want to apply it to all products, not only to one category.

    Can you please further assist. Thank you.

    havi
    Participant

    Hi guys,

    I have disabled the Category Meta for the blog posts but the code still shows those categories and a redirect.

    <main class=’content units av-content-small alpha av-blog-meta-comments-disabled av-blog-meta-category-disabled av-blog-meta-html-info-disabled av-blog-meta-tag-disabled’ >

    <article class=’post-entry post-entry-type-standard post-entry-3628 post-loop-1 post-parity-odd post-entry-last single-big post-3628 post type-post status-publish format-standard has-post-thumbnail hentry category-accidentes-de-auto category-accidentes-de-construccion tag-abogado-accidentes-transito tag-abogado-lesiones-personales tag-abogados-de-accidentes-de-trabajo tag-accidentes-de-construccion’ ><div class=’blog-meta’></div><div class=’entry-content-wrapper clearfix standard-content’><header class=”entry-content-header”><div class=”av-heading-wrapper”><span class=”blog-categories minor-meta”>Accidentes Auto, Accidentes Construcción </span><h1 class=’post-title entry-title ‘ > Cómo Elegir el Mejor Abogado de Accidentes y Lesiones Personales Para Tu Caso <span class=’post-format-icon minor-meta’></span> </h1></div>

    The reason I disabled the display of the Category Meta is because my categories are displayed much nicely on ALB pages and there is a redirect from /category/page to /page This creates hundreds of redirects and it impacts SEO negatively.

    How can I get rid of the invisible to the human eye but not to bots redirect?

    (Ideally, we could have custom Enfold pages for Categories – hint, hint) ;)

    Thank you in advance for your prompt reply,

    Best,

    Havi

    #1256412
    leonardamartinez
    Participant

    Guten Tag,
    Bilder werden unscharf dargestellt, wie kann ich das ändern? ich benutze ein Enfold Child Thema.
    Ich habe die Plugin, Simple Image Sizes und Regenerate Thumbnails, installiert, aber die Bilder bei Lightbox werden nicht scharf.
    was muss ich noch einstellen?

    #1256286
    Kelly Erickson
    Participant

    Hello my favorite support team!

    It’s me again – the underline styling person who keeps bugging you. I am on the forever hunt to maintain the WCAG compliance by underlining all links – except this time I’m wondering about the Catalogues.

    I have a catalogue item (restaurant website) set up to link to the “Open bigger version of thumbnail image” option so that the menu item picture can be opened up by whoever clicks on the item. However, the entirety of text ends up being underlined when I use the following Quick CSS provided by you guys in a previous series of my queries:

    #main a {
    text-decoration: underline;
    }
    #main .sidebar a,
    #footer a,
    #socket a {
    text-decoration: underline;
    }
    a.avia-button{
    text-decoration:none!important;
    }
    #footer #text-3 a {
      text-decoration:none !important;
    }
    #main a,#main .sidebar a,#footer a,#socket a, #main p a {
        text-decoration: underline !important; 
    }
    a.avia-button,a span.avia_iconbox_title,#top .av_font_icon a.av-icon-char {
        text-decoration: none!important;
    }

    So the question is:
    How do I JUST allow underline to take place on the “List Item Title” but not the content/List Item Description text?

    Hopefully this helps develop a better underline system for WCAG compliance of the Enfold theme in the future as well! We are so looking forward to that :)

    Thanks in advance!

    #1255955

    Hey emilconsor,

    Thank you for the inquiry.

    Please try to adjust the priority value of the image_size_names_choose filter to 9999.

    add_action( 'after_setup_theme', 'avf_custom_image_sizes' );
    
    function avf_custom_image_sizes() {
    	if ( function_exists( 'add_image_size' ) ) {
    		//Header Titelbild 1920 x 700	
    		add_image_size( 'header-top', 1920, 700, array('center', 'top') );
    		add_image_size( 'header-center', 1920, 701, array('center', 'center') );
    		add_image_size( 'header-bottom', 1920, 702, array('center', 'bottom') );
    
    		//Trennerbild 1920 x 500
    		add_image_size( 'trenner-top', 1920, 500, array('center', 'top') );
    		add_image_size( 'trenner-center', 1920, 501, array('center', 'center') );
    		add_image_size( 'trenner-bottom', 1920, 502, array('center', 'bottom') );
    
    		//Bild Spalte 1/1 800 x 450
    		add_image_size( 'bild-content-1-1', 800, 450 );
    
    		//Bild Spalte 1/2 650 x 366
    		add_image_size( 'bild-content-1-2', 650, 366 );
    
    		//Newsbereich 450 x 253
    		add_image_size( 'bild-news', 450, 253 );
    
    		//Thumbnails für Menü 334 x 188
    		add_image_size( 'menu-thumbnails', 334, 188 );  
    	}
    }
    
    add_filter( 'image_size_names_choose', 'avf_image_size_names_choose_mod', 9999 );
    
    function avf_image_size_names_choose_mod( $sizes ) {
    	return array_merge( $sizes, array(
    		'header-top' => __('Header Top 1920x700', 'avia_framework'),
    		'header-center' => __('Header Center 1920x700', 'avia_framework'),
    		'header-bottom' => __('Header Bottom 1920x700', 'avia_framework'),
    		'trenner-top' => __('Trenner Top 1920x500', 'avia_framework'),
    		'trenner-center' => __('Trenner Center 1920x500', 'avia_framework'),
    		'trenner-bottom' => __('Trenner Bottom 1920x500', 'avia_framework'),
    		'bild-content-1-1' => __('Bild Content 1/1 800x450', 'avia_framework'),
    		'bild-content-1-2' => __('Bild Content 1/2 650x366', 'avia_framework'),
    		'bild-news' => __('Newsbereich 450x253', 'avia_framework'),
    		'menu-thumbnails' => __('Menü Thumbnails 334x188', 'avia_framework')
    	));
    }
    

    Best regards,
    Ismael

    #1255793

    Sorry, but i think thats wrong.
    The lightbox loads ……-scaled.jpg

    <a href="https://marcusjeroch.de/wp-content/uploads/2015/04/Presse-2-Kopie-scaled.jpg" aria-label="image Presse-2 Kopie" id="av-masonry-1-item-642" data-av-masonry-item="642" class="av-masonry-entry isotope-item post-642 attachment type-attachment status-inherit hentry av-masonry-item-with-image lightbox-added av-masonry-item-loaded" title="Presse-2 Kopie" alt="" itemprop="thumbnailUrl" style="position: absolute; left: 0%; top: 0px;"><div class="av-inner-masonry-sizer"></div><figure class="av-inner-masonry main_color"><div class="av-masonry-outerimage-container"><div class="av-masonry-image-container"><img class="wp-image-642 avia-img-lazy-loading-not-642" src="https://marcusjeroch.de/wp-content/uploads/2015/04/Presse-2-Kopie-705x458.jpg" title="Presse-2 Kopie" alt=""></div></div></figure></a>

    You can simply check it by “Open link in new tab” and see which image is loading.
    This one:
    https://marcusjeroch.de/wp-content/uploads/2015/04/Presse-2-Kopie-scaled.jpg

    #1255629

    Hi,

    Thank you for the info.

    We will forward your request to our channel for further considerations. We might add a small note directly in the element informing the users how or where they could adjust the size of the product thumbnails.

    Best regards,
    Ismael

    mir würde schon reichen, wenn du eine analoge Seite in den Demos verlinken könntest.
    z.B. sowas hier: https://kriesi.at/themes/enfold-shop/shop/
    da dort viele der drüberliegenden Container mit overflow: hidden gesetzt sind müsste man das aufheben um den ja aussenliegenden Schatten zu sehen.

    div .products .product a,
    .product .inner_product,
    .product .thumbnail_container, 
    div .products .product a img {
      overflow: visible;
    }
    .woocommerce-LoopProduct-link:hover .attachment-shop_catalog {
      box-shadow: 2px 2px 8px #888;   
    }


    oder
    man gibt dem entsprechenden Container der den Schatten hat soviel margin, dass der Schatten wieder innerhalb desselben liegt:

    .woocommerce-LoopProduct-link .thumbnail_container {
        margin: 10px !important;
    }
    
    .woocommerce-LoopProduct-link:hover .thumbnail_container {
      box-shadow: 2px 2px 8px #333;
      transition: all 0.3s ease;
    }
    mebi
    Participant

    Hello,
    I would like to add the “add to cart” button to the product thumbnail when hovering over the thumbnail. Right now only the price and the product name is appearing on hover.
    The goal is to be able to add the product to the cart without the need to open the product page itself, so that I can quickly add several products to the cart (when I already know the product and know what I want to purchase).
    Thank you for your support.

    #1254990
    emilconsor
    Participant

    Hi,
    we added new image sizes through the function below.

    add_action( 'after_setup_theme', 'my_custom_image_sizes' );
    
    function my_custom_image_sizes() {
    if ( function_exists( 'add_image_size' ) ) {
      //Header Titelbild 1920 x 700	
      add_image_size( 'header-top', 1920, 700, array('center', 'top') );
      add_image_size( 'header-center', 1920, 701, array('center', 'center') );
      add_image_size( 'header-bottom', 1920, 702, array('center', 'bottom') );
      
      //Trennerbild 1920 x 500
      add_image_size( 'trenner-top', 1920, 500, array('center', 'top') );
      add_image_size( 'trenner-center', 1920, 501, array('center', 'center') );
      add_image_size( 'trenner-bottom', 1920, 502, array('center', 'bottom') );
      
      //Bild Spalte 1/1 800 x 450
      add_image_size( 'bild-content-1-1', 800, 450 );
      
      //Bild Spalte 1/2 650 x 366
      add_image_size( 'bild-content-1-2', 650, 366 );
    
      //Newsbereich 450 x 253
      add_image_size( 'bild-news', 450, 253 );
      
      //Thumbnails für Menü 334 x 188
      add_image_size( 'menu-thumbnails', 334, 188 );  
     }
    }
    
    add_filter( 'image_size_names_choose', 'my_custom_sizes' );
    
    function my_custom_sizes( $sizes ) {
    return array_merge( $sizes, array(
        'header-top' => __('Header Top 1920x700'),
    	'header-center' => __('Header Center 1920x700'),
    	'header-bottom' => __('Header Bottom 1920x700'),
    	'trenner-top' => __('Trenner Top 1920x500'),
    	'trenner-center' => __('Trenner Center 1920x500'),
    	'trenner-bottom' => __('Trenner Bottom 1920x500'),
    	'bild-content-1-1' => __('Bild Content 1/1 800x450'),
    	'bild-content-1-2' => __('Bild Content 1/2 650x366'),
    	'bild-news' => __('Newsbereich 450x253'),
    	'menu-thumbnails' => __('Menü Thumbnails 334x188')
    ) 

    We want to have different cropped versions of the same image size. The Problem ist that the uploaded image name is always the same (image-1920×700). Can this be changed?
    We had something in mind like adding a letter for each cropped version like image-1920x700c (c=center). Would this be possible?

    Looking forward to any solution for this.

    Thanks in advance,
    Sebastian

Viewing 30 results - 1,441 through 1,470 (of 10,095 total)