Forums

Can't get background color to show on part of #content (3 posts)

  1. tjesker
    Member
    Posted 11 months ago #

    I modified the "WordPress Default 1.6" template and everything looks great except for a square area under the navigation where the green background image that I set for the body in syle.css shows through instead of the tan background I set for the content area. I'm totally stumped on how to fix this. Any help would be greatily appreciated. Here is the URL http://tomesker.com/triadgolf/wordpress/

    Thanks

    Tom Esker

  2. chaoskaizer
    Member
    Posted 11 months ago #

    I modified the "WordPress Default 1.6" template and everything looks great except for a square area under the navigation where the green background image that I set for the body in syle.css shows through instead of the tan background I set for the content area.

    Your theme's structure is semantically wrong IMO. The div#header is used as wrapper.

    Anyway you can still fix it with the below CSS

    find (style.css line 328)

    #header {
    	background-color: #73a0c5;
    	margin: 0 0 0 1px;
    	padding: 0;
    	height: 220px;
    	width: 775px;
    	}

    replace with

    #header {
      background-color: #FFF4CC;
      margin: 0pt 0pt 0pt 1px;
      padding: 0pt;
      height: auto;
      width: 775px
    }
    
    #sidebar{ margin-top: 3.4em}
  3. tjesker
    Member
    Posted 11 months ago #

    That worked - thanks!

Reply

You must log in to post.

About this Topic

Tags