Close

Remove Free shipping image

nopmstr2014
10 years ago
#8182 Quote
Avatar
  • 35
Hi All,
Is there any way I can remove Free Shipping image from product details page and add a different image?
Thanks
Jilin
hristo
10 years ago
#8187 Quote
Avatar
  • Moderator
  • 172
nopmstr2014 wrote:
Hi All,
Is there any way I can remove Free Shipping image from product details page and add a different image?
Thanks
Jilin


Hi Jilin,
you have to replace the image in the img folder of your project (Themes --> Nitro --> Content --> img/). the file name of the image is depending  on your color preset - "free-shipping-red.png", "free-shipping-green", etc. Find the image and replace it with the one you want.

Keep in mind that the place holder of the image is styled for images with dimesions of 85x85 px. If your new image is of a different size or scale, you'll need to change the place holder css styles in order to fit the new image. Look for this code in your main CSS file (styles.css):

.free-shipping {
    ... ... ...
}
... and change the width and height to anything you like. if your new image is 85x85 px, you don't need to change anything, just replace the image.

Let me know if you have any further questions.
Regards,
Hristo Gospodinov
Nop-Templates.com
nopmstr2014
10 years ago
#8195 Quote
Avatar
  • 35
Thanks for your reply.
How about 'Free Shipping' text,
How can I remove that text ?
Thank you
hristo
10 years ago
#8202 Quote
Avatar
  • Moderator
  • 172
nopmstr2014 wrote:
Thanks for your reply.
How about 'Free Shipping' text,
How can I remove that text ?
Thank you


To remove the text, find the same piece of code again

.free-shipping {
    ... ... ...
}
and change the font-size property from 14px (current value) to 0. This will make the text disappear.
Regards,
Hristo Gospodinov
Nop-Templates.com
nopmstr2014
10 years ago
#8214 Quote
Avatar
  • 35
Thank you
nopmstr2014
10 years ago
#8218 Quote
Avatar
  • 35
Hi 
Is there any way to display ALT text for free shipping image?
Thanks
hristo
10 years ago
#8223 Quote
Avatar
  • Moderator
  • 172
nopmstr2014 wrote:
Hi 
Is there any way to display ALT text for free shipping image?
Thanks


No, since the image is applied as a background, there is no way to set an alternate text (ALT).
Regards,
Hristo Gospodinov
Nop-Templates.com
nopmstr2014
10 years ago
#8226 Quote
Avatar
  • 35
Thanks