VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: Newbie74 on January 02, 2019, 05:51:22 AM

Title: Email Icon Change / Edit / To Text - Recommend to a Friend
Post by: Newbie74 on January 02, 2019, 05:51:22 AM
Hello there,

This is my first ever post here, so I hope I don't bore you all and am after some help.

I have looked through the forums but have been unable to find an answer.

I was wondering if I could change the email icon on the Product page to text and make it bigger?

Thank you for you help.
Quirky ¿
Title: Re: Email Icon Change / Edit / To Text - Recommend to a Friend
Post by: Jörgen on January 02, 2019, 12:51:14 PM
Replace the email icon with a larger icon
<img src="/media/system/images/emailButton.png" alt="E-post"> (http://<img%20src="/media/system/images/emailButton.png"%20alt="E-post">)

To make sure that it won´t be overwritten by an update. You have to edit the template file that shows this:

templates/your-template/html/com_virtuemart/productdetails/default.php (http://templates/your-template/html/com_virtuemart/productdetails/default.php)

And make Your own link instead of the default.

Jörgen @ Kreativ Fotografi
Title: Re: Email Icon Change / Edit / To Text - Recommend to a Friend
Post by: Newbie74 on January 03, 2019, 08:27:11 AM
You are the best.
Thank you for your response.

If I wanted to just put text there with a link, I would just embed it like I normally would with HTML code right?

Thank you again.

Quirky ¿