Post by expandatrack » Thu Jul 06, 2017 3:25 pm

Hi there,
Opencart version 1.5.2.1
Product Title on Product Page -
We would like to add font style/color to part of the Product Title on product pages.
Example: Title = <h1>Eclipse Curtains</h1> <font style italic> Buy as a Readymade or go custom</I>
(so technically 2 headings just on same line) or any suggestions would be great to easily implement this please
thanks for looking

Newbie

Posts

Joined
Mon Oct 08, 2012 1:46 pm

Post by simonpieman » Tue Jul 25, 2017 4:39 am

Re Product Title on Product Page -
We would like to add font style/color to part of the Product Title on product pages.
Example: Title = <h1>Eclipse Curtains</h1> <font style italic> Buy as a Readymade or go custom</I>
(so technically 2 headings just on same line) or any suggestions would be great to easily implement this please
thanks for looking

Because this data is pulled from the database you will need to work out a 'rule' as to how the style will be applied. Then use PHP or Javascript to code it. It would seem best to decide to try to apply a style to the first two words, and a different style to the balance of words. So - a dev would be able to kock up some code to change this for you. or you could learn some JS to do youselves.

Go the All Blacks!


New member

Posts

Joined
Thu Jul 02, 2015 8:58 am
Location - NZ - Auckland
Who is online

Users browsing this forum: No registered users and 23 guests