Homepage › Community Forums › Epik Theme Support › Strip & WooCommerce Problem…
I’m using this theme with WooCommerce and the Genesis Woocommerce Connector plugin. The problem is the icons for the credit cards with Stripe are massive and need to size into tiny icons. Any help you can provide would be great.
To see this go here…
https://www.stantonlanier.com/discounted-bundles-2/
Add any product to the cart and scroll down…you’ll see the credit card images.
You have the max-width set to “100%” It is going to fill the space with that setting.
Use “11%” and it aligns the card images into a single line (at least on my screen size) so you may want to play with it to find what works for your desired look.
.woocommerce img, .woocommerce-page img {
height: auto;
max-width: 11%;
}
The above is the area to look for in the plugin settings/ .css
Thanks…that does fix the credit card images BUT it also sizes down ALL images on the page, including what I have in my sidebar and in the these footer.
I just viewed your SHOPPING CART page and the credit card logo images all look fine. I do not see any issue with your other images on that page, nor on your other web pages. Should not affect anything other than the images controlled by:
.woocommerce img, .woocommerce-page img
But it looks like you have dumped Woocommerce and are using a different shopping card.
I think you were looking at the wrong page…We are developing the Woocommerce behind the present public cart.
If you go to this page and add a product to the cart…
https://www.stantonlanier.com/31-days-of-december-peace-2/
…you’ll see the product icons in the cart are tiny. Also, scroll down to the very bottom of the page and in the middle footer there are images for social media; those are shrunken as well.
I have removed the sidebar I reference in my initial post. Basically, any images on the page, sidebar, and footers shrink now when on the WooCommerce cart and check out pages. I just want it to size appropriately the credit card images provided with the Stripe plugin.
Thanks for the help. I really appreciate it.
I removed the CSS provided above because it was shrinking ALL of the images on the page. I just need the credit card images resized.
I also put in a ticket with WooCommerce and they said…
“Yikes, I see what you mean! You’ll need to contact your theme developer for this one, as there is some theme-specific CSS missing that takes care of this.”
Wes, would you mind taking a look at this?
Here are some screenshots…
Here is the problem…the credit card images are HUGE!!!
https://www.stantonlanier.com/wp-content/uploads/2016/07/scrn1.jpg
When I apply the CSS fix suggested by Andy (above), it shrinks all the other images on pages in the WooCommerce cart and checkout sequence (see images for items in cart, and the social images in the footer)…
https://www.stantonlanier.com/wp-content/uploads/2016/07/scrn2.jpg
OK I am stumped. I did not see your footer and was focused on the VISA image.
I tried it on my website as well and it did the same thing. Gonna have to play with this some more.
Yay! Well seeing the problem is the first step in finding a solution. 馃檪
Just now seeing this. I’m getting ready to release the new updated version of Epik, so I’ll test it out to see if this issue comes up. The new version already has WooCommerce support (with CSS) so I’ll let you know once I test it.
Wes,
When will that fix be available? This site is supposed to launch today using WooCommerce.
Also…for the Epik theme, I purchased this one over on studiopress.com so a fix here OR a quick push to that site for the update would be appreciated.
Thanks
If you go to line 379 in your CSS and remove width: auto
it instantly fixes it –
img {
height: auto;
width: auto; <---- Try Removing This
}
I loaded that exact page on a local install/demo and here’s how it looks – http://i.imgur.com/9QmsPnB.png
This is how it looks without customizing any code, it shows up like this right out of the box.
Also, you’ll notice I got rid of the White Background for the content areas….as well as the shadows. This can always be added back if users want it.