cancel
Showing results for 
Search instead for 
Did you mean: 

Hyperlink from one product to another

SOLVED

Hyperlink from one product to another

Hi,

I am an avid linker.

<a href="https://www.OurSite/OurProduct"> Why not try our product "ABC"

This works perfectly well but does not show up as an hyperlink.

I have to change the font colour myself  (stop telling me I spelt (spelled) Colour wrong)

<font color="#0000FF">Why not try our product ABC </font>

 

Surely  this ought to be unnecessary and Magento should recognize an hyperlink. Everything else does. Including seemingly this site Smiley Happy

 

Thanks in advance for any time saving answers.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Hyperlink from one product to another

Hi @peter_rollinson 

 

I would suggest you to write the css code in your custom.css file which you have created for your custom theme.

 

Or if you directly want to write then full syntax should be like following :

 

<a href="https://www.OurSite/OurProduct" style="color:#0000FF;">Why not try our product "ABC"</a>

 

It will applied the color you want.

 

Hope it helps !

if issue solved,Click Kudos & Accept as Solution

View solution in original post

4 REPLIES 4

Re: Hyperlink from one product to another

Hi @peter_rollinson,


Have you closed thehyperlink as below. 

<a href="https://www.OurSite/OurProduct">Why not try our product "ABC"</a>

or share your public url, so I can check.

I hope it will help you!

Re: Hyperlink from one product to another

Hi Vimal,


Thanks for responding.

Yes, the hyperlinks work perfectly

It the colour that I have to add manually.

Is this just something that Magento will not do for you?

Both Have HyperliknksBoth Have Hyperliknks

Both have working hyperlinks but I left the <font color="#0000FF"> out of the top one.

So unless you hover over it you don't know that it is a hyperlink.

 

Peter

 

Re: Hyperlink from one product to another

Hi @peter_rollinson 

 

I would suggest you to write the css code in your custom.css file which you have created for your custom theme.

 

Or if you directly want to write then full syntax should be like following :

 

<a href="https://www.OurSite/OurProduct" style="color:#0000FF;">Why not try our product "ABC"</a>

 

It will applied the color you want.

 

Hope it helps !

if issue solved,Click Kudos & Accept as Solution

Re: Hyperlink from one product to another

<a href="https://www.OurSite/OurProduct" style="color:#0000FF;">Why not try our product "ABC"</a>

I have painstakingly put the colour in manually.

As for CSS code for all I know it stands for Cloudy Sky Syndrome Smiley Happy

I did not write a CSS file or the custom theme it was done by our Web Developer who is turning out to be very un-helpfull without shovel loads of cash.

 

Maybe there is no way of streamlining this, I simply though as most programs/app recognise hyperlinks and colour them accordingly Magento would have the same functionality.

 

We live in hope!

 

Thanks

 

Peter