Title: WordPress home
Last modified: August 19, 2016

---

# WordPress home

 *  [mnowluck](https://wordpress.org/support/users/mnowluck/)
 * (@mnowluck)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/wordpress-home/)
 * Hello all,
 * I’m learning to theme a WP theme, I have coded a webpage with HTML and CSS, and
   I have a problem with the index.php
 * My problem here is how to tweak the index.php layout. By default it is like a
   blog post, however, what I want is to have a grid based 3 column with another
   smaller grid based column which I have wrapped in Div using HTML .
 * Like here
    [http://versionsapp.com/](http://versionsapp.com/)
 * But when I code it that way, the other pages, needs another code of CSS. So how
   do I solve this.. TIA

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [kz](https://wordpress.org/support/users/kz/)
 * (@kz)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/wordpress-home/#post-1366657)
 * Use this:
    `<body <?php body_class(); ?>>`
 * BODY has class realated with current page.
    If the page is home, body has ‘home’
   class, so you can specify some styles like: `body.home{background-color:blue;}`
 * See [Template Tags/body class](http://codex.wordpress.org/Template_Tags/body_class)
 *  Thread Starter [mnowluck](https://wordpress.org/support/users/mnowluck/)
 * (@mnowluck)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/wordpress-home/#post-1366658)
 * Thanks for the quick response.. Will play with it tonight and will let you know
   how things works
 *  Thread Starter [mnowluck](https://wordpress.org/support/users/mnowluck/)
 * (@mnowluck)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/wordpress-home/#post-1366876)
 * Sorry for the heading, Instead of creating a new thread each time, here I’m bringing
   up my issue here again with the template. I am trying to create a template for
   a wordpress which I’d like to use it as a CMS where we don’t need any comments
   on the page, more or less it is like a static page, what we need is just a website
   which can be easily edited with weekly annoucements about our organization. So,
   In short, We don’t need any comments on the site.
 * Now, Do we really need the comment.php file in the template ?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘WordPress home’ is closed to new replies.

## Tags

 * [template](https://wordpress.org/support/topic-tag/template/)

 * 3 replies
 * 2 participants
 * Last reply from: [mnowluck](https://wordpress.org/support/users/mnowluck/)
 * Last activity: [16 years, 1 month ago](https://wordpress.org/support/topic/wordpress-home/#post-1366876)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
