Jump to content

Archived

This topic is now archived and is closed to further replies.

chamainew

Adding a background color to a column

Recommended Posts

chamainew

Hi,

I'm trying to add a background color to a column on a page. I used this custom css:

 

/* light yellow background, grey text */
.my-light-yellow-area {
    background-color: #EDD097;
    color: #555555;
}
 
I added my-light-yellow-area to the styling area in the column and nothing is happening. Actually I can't get any of the css to work.
 
 
Any assistance is appreciated. 

Share this post


Link to post
Share on other sites
James B

Hi Charmaine

 

The class is appearing inside of the html so it is being set. http://screencast.com/t/po8ldjueG

 

Check your css to make sure nothing above that code snippet is broken, that everything has the correct closing bracket etc. Anything above which is broken will stop the code below from being read. The css you pasted above is correct, so it must be either not saved or something above isn't correct.


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites

×