Listic
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Borders to "Product Thumbnails" and "Single Product Image"Thanks a lot Claudio 🙂
Worked perfectly.
Forum: Plugins
In reply to: [WooCommerce] Borders to "Product Thumbnails" and "Single Product Image"Thanks Claudio 🙂 That worked like a charm for the thumbs.
/* BORDER TO SINGLE PRODUCKT IMAGES */
Here the border is still outside of the image to the right. Its a bit difficult to see as the image just has a slightly yellow background…
Forum: Plugins
In reply to: [WooCommerce] Remove product image from product pageDoh! 🙂 Thanks a lot for your time and help Mike. That closing tag closed this topic aswell 🙂
Forum: Plugins
In reply to: [WooCommerce] Remove product image from product pageOk. I can’t find any (But im also pretty newbie as you might have figured out!)
<?php /** * Single Product Image * * This template can be overridden by copying it to yourtheme/woocommerce/single-product/product-image.php. * * HOWEVER, on occasion WooCommerce will need to update template files and you (the theme developer). * will need to copy the new files to your theme to maintain compatibility. We try to do this. * as little as possible, but it does happen. When this occurs the version of the template file will. * be bumped and the readme will list any important changes. * * @see http://docs.woothemes.com/document/template-structure/ * @author WooThemes * @package WooCommerce/Templates * @version 2.0.14 */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } global $post, $woocommerce, $product; ?> <div class="images"> <?php $attachment_ids = $product->get_gallery_attachment_ids(); if ( attachment_ids ) { foreach ( $attachment_ids as $attachment_id ) { $image_link = wp_get_attachment_url( $attachment_id ); if ( ! $image_link ) continue; $image_title = esc_attr( get_the_title( $attachment_id ) ); $image_caption = esc_attr( get_post_field( 'post_excerpt', $attachment_id ) ); $image = wp_get_attachment_image( $attachment_id, apply_filters( 'single_product_small_thumbnail_size', 'shop_single' ), 0, $attr = array( 'title' => $image_title, 'alt' => $image_title ) ); $image_class = esc_attr( implode( ' ', $classes ) ) . ' woocommerce-main-image'; echo sprintf( '<a href="%s" class="%s" title="%s" data-rel="prettyPhoto[product-gallery]">%s</a>', $image_link, $image_class, $image_caption, $image ); break; } } else { echo apply_filters( 'woocommerce_single_product_image_html', sprintf( '<img src="%s" alt="%s" />', wc_placeholder_img_src(), __( 'Placeholder', 'woocommerce' ) ), $post->ID ); } ?> <?php do_action( 'woocommerce_product_thumbnails' ); ?>Forum: Plugins
In reply to: [WooCommerce] Remove product image from product pageHmm stange. Would that be in the product-image.php ?
I have only made changes to and have the following in my child theme
style.css
product-image.php
functions.phpForum: Plugins
In reply to: [WooCommerce] Remove product image from product pageThanks for all your help Mike!
Changed it, but the text is still being pushed down underneath the images.(And year your right the images on the example page are very small. I tried everything to make them bigger but no luck so far)
Forum: Plugins
In reply to: [WooCommerce] Remove product image from product pageThanks Mike,
Changed it. But it diddent change anything
http://darwinogdodo.dk/shop/plakater/flora/maelkeboette/Forum: Plugins
In reply to: [WooCommerce] Remove product image from product pageThanks Mike.
Im a little lost here. Should i add that somehow to the code you posted above? Ore should it be added to another file?
Thanks a lot for your time. I appreciate it a lot.
Forum: Plugins
In reply to: [WooCommerce] Remove product image from product pageThanks Mike.
That worked. Not my product pages and product gallery dossent looks very nice.
The images are very small and the thumbs now has a huge gab between them. hmm.. 🙂Forum: Plugins
In reply to: [WooCommerce] Remove product image from product pagewups at the end should have been to my site:
http://www.darwinogdodo.dkForum: Themes and Templates
In reply to: Storefront Single Product Image sizeI see the dimensions in Product Images are overridden by CSS. The HTML container of the image is constrained to a width of about 41%.
http://darwinogdodo.dk/wp-content/uploads/2015/11/zvYO-ibLyZ-2000×2000.jpeg
http://darwinogdodo.dk/wp-content/uploads/2015/11/8mMiwM_H0k-3000×3000.jpeg
I just can’t find a way to overrite this in my child theme
If anyone have an idea. Otherwise the above info is for any future searches looking for the same.
Forum: Themes and Templates
In reply to: Storefront opacity hover effectThanks.
I thought i did so. Cleared it again and now it works 😉Forum: Themes and Templates
In reply to: Storefront opacity hover effectThanks for hanging in there 🙂
But that dossent seem to change anything.Forum: Themes and Templates
In reply to: Storefront opacity hover effectStill the same but thanks for helping me this much.
Forum: Themes and Templates
In reply to: Storefront opacity hover effectHey again Andrew.
I just noticed that it also effects the images on the product pages ( http://darwinogdodo.dk/shop/plakater/fugle/3-x-spurv/ )
and not just the thumbs on Home/Shop/categoriesSo I will have to define that only affecting the thumbs right?