WordPress.org

Ready to get started?Download WordPress

Forums

Default Theme CCS + "#page" (2 posts)

  1. Longhair
    Member
    Posted 6 years ago #

    I am slowly making changes on the Default Theme since I already spent 2 days trying to alter pre-existing themes with no sucess.

    Right now I am trying to figure out what the "#page" changes.

    I posted the code since I am doing everything on my localhost.

    #page {
    	background-color: white;
    	border: 1px solid #959596;
    	text-align: left;
    	}

    Thanks in advance.

  2. Michael Fields
    Themer
    Posted 6 years ago #

    A single div with the id of page is declared once in the entire default theme in the header.php file. The page div contains the rest of the visual html elements. May it also be noted that that page has a larger syle definition than the one posted above...

    #page {
    	background-color: white;
    	border: 1px solid #959596;
    	text-align: left;
    	}
    	/* Line 31 of style.css */
    
    #page {
    	background-color: white;
    	margin: 20px auto;
    	padding: 0;
    	width: 760px;
    	border: 1px solid #959596;
    	}
    	/* Line 216 od style.css */

Topic Closed

This topic has been closed to new replies.

About this Topic