View Categories

Customize product button font style

< 1 min read

Sales screen product button style can be changed using HTML tags


In Product properties set style like below:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
<properties>
<entry key="style">
<![CDATA[<font color=blue><font size=+2><center>Product Name]]>
</entry>
</properties>

Useful HTML tags are:
<b>: Bold
<u>: Underline
<i>: Italics
<br>: Break line
<center>: Align center
<font color=red>: Text color (Some of the color codes are White, Yellow, Red, Blue, Black, Gray, Green. See full list here http://www.htmlportal.net/colors/orig-16-colors.php)
<font bgcolor=green>: Text background color
<font size=+2>: Increase font size by 2
<font color=red>Product</font><font color=green>Name</font>: Different styles for words
Product<br>Name: Text in two lines

0 Comments

Leave a Reply

Arrow-up