change link color on invoice

  • Posts: 90
  • Thank you received: 2
  • Hikashop Business
3 years 3 months ago #334842

-- HikaShop version -- : 4.4.3
-- Joomla version -- : 3.9.28
-- PHP version -- : 7.3.5
-- Browser(s) name and version -- : Chrome 92.0.4515.131

Dear forum,

I have a question that needs to be solved.
I have a download-button (blue link on the image) on my invoice and i want to edit the color of this link.

Is there anyway to edit this color in the email template?

My thanks in advance.

Tom
Totoweb

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
3 years 3 months ago #334844

Hi,

When you edit the email, you can click on the edit icon of the template setting. You'll get a popup where you can modify the template HTML and CSS.
At the beginning, you'll have a section starting with

<style type="text/css">
where you have the default CSS of the template.
So you can add your own CSS to customize the links color.
For example:
a{ color: red !important; }
Note different email clients will display your emails differently.
So more intricate CSS / HTML modifications might be necessary.
Here is a page which talks about this and potential solutions:
stackoverflow.com/questions/12025376/htm...l-link-color-dilemma

Please Log in or Create an account to join the conversation.

Time to create page: 0.064 seconds
Powered by Kunena Forum