Change text color of stock

ThemeBurn SupportForumsOpenCart ThemesShoppica OpenCart ThemeChange text color of stock

This topic has been marked as resolved.

Hi,

 

I have my ‘show in stock’ set to off in admin and changed the text to custom: Order before 16:00 and will be shipped out same day!

 

I want to change that text to another color (or perhaps bold as well) as still some of my customers find it unclear.

I tried altering for example to: <span style=”color: #FF0000;”>Note:</span> Voor 16:00 besteld is morgen in huis!’; but that shows up wrong and not in another color.

My site: http://www.dualslim.nl/Faea-F1 and then the part that says:

Levertijd: Voor 16:00 besteld is morgen in huis!

is what I want to change the color of.

 

Help appreciated!

 Thegge
July 17, 2013 at 8:50 pm #25669

Hi,

You need to wrap the text with this span element and not put it before :)

You can also put the styles attribute directly to the list item. Check the screenshot, please.

Hope this is what you want.

Best,
ThemeBurn tem

July 18, 2013 at 11:39 am #25707

Hi,

thanks for quick reply!

Regarding 1st option:

When I now put:
$_['text_instock'] = ‘Voor 16:00 besteld is morgen in huis!’;

See screenshot for what it shows up as. Weird.

The 2nd option I do not even know how to change that and would like the color to be present for all my products.

Any help?

 Thegge
July 18, 2013 at 12:19 pm #25711
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
July 26, 2013 at 12:44 pm #25947

Hi,

Just tried that, but gives me the exact same problem as in the FAEA.jpg screenshot unfortunately.

If I copy what it says then it is:

voor_16:00_besteld_is_morgen_in_huis!”>Voor 16:00 besteld is morgen in huis!

So somewhere there must be this underscore part written.

Since I am not a coder I have no clue really…

 Thegge
July 26, 2013 at 12:55 pm #25948
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
July 26, 2013 at 3:05 pm #25962

YES!

Excellent! Thank you!

Works now.

 Thegge
July 26, 2013 at 4:01 pm #25972

Glad we’ve helped, mate :)

Best,
ThemeBurn team

August 5, 2013 at 5:33 pm #26213
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.