• I have been trying for sometime now to change the background color of the textarea on my home page using CSS. Could someone please put me out of my misery and give me the CSS code to use.

Viewing 16 replies (of 16 total)
  • Thread Starter Bob Varaleau

    (@bob-varaleau)

    http://freshbreezeinn.com/wordpress_new/inn_keeper/

    The code that stephencottontail worked out for us, is working fine but it did leave the background of the page title as a different color. This little addition resolved that.

    .site-content .entry-header,
    .site-content .entry-content {
                                background: #000000; //BACKGROUND COLOUR
                                color: #ffffff; //FONT COLOUR

    As you can see from the link there is a light coral color around the content area. I believe that to be the page background. If I go into the styesheet and edit the following code, I can make it any color I want.

    #page {
    	background-color: #f08080!important;
    	border: 1px solid #f03;
    	text-align: left;
    	}

    I realize now that it is not a good practice to edit the stylesheet directly so I copy and paste this code into my custom CSS and attempt to change the color, but it doesn’t work.

    Would this have something to do with “!important;” part of this code?

Viewing 16 replies (of 16 total)

The topic ‘Textarea background’ is closed to new replies.