Blog

Codes, snippets, tips and tricks for web designers using Adobe Business Catalyst, jQuery, CSS3, HTML5 and Respsonsive Design.

27-10-2011

How to Change the Default Text Selection Color with CSS

If you want to change your website's default text highlight color with any color of your choice, you can use the CSS3 declaration " ::selection" , which will replace your browser-level default text highlight color with a color that better suits your design. See the example below with a RED for the background and WHITE for the text. /* Firefox */ ::-moz-selection { background-color: #FF0000; color: #fff; } /* Safari */ ::selection { background-color: ..

Read more

21-9-2011

How to change the height of Invoice’s cell to fit longer product names - Business Catalyst

To change the size of product cell on Invoice’s table so they can fit 2 lines of text, just add the below code inside the INVOICE TEMPLATE on "Customize System Emails" <style type="text/css"> .productitemcell{ height:60px; } </style> ..

Read more