PDA

View Full Version : Change text background colour



Brian Heffernan
April 18, 2013, 07:31 PM
Hello

I want to change the background colours that have text
478479

Where do I find the code (Realty Modern)


Thanks

Steffen Buschkemper
April 18, 2013, 07:52 PM
Hi Brian,

you will find it in style.css line ~1712

this are the code for this part:



div.highlight,
div.highlight_dark
{
background: rgba(175, 167, 140, 0.2);
background: #e0dbcf\9;
padding: 13px 15px 15px;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
border-radius: 8px;

-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
}
div.highlight_dark
{
background: #B2A680;
padding: 15px 15px 15px;
}


following lines are responsible for the background color



background: rgba(175, 167, 140, 0.2);
background: #e0dbcf\9;


following lines are responsible for the shadow color around the box



-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);


To change the hex color to rgba color code you can use this tool -> Link (http://hex2rgba.devoth.com/).

Best regards
Steffen

Brian Heffernan
April 18, 2013, 08:17 PM
Excellent thanks