Title: Absolutely minimal?
Last modified: August 19, 2016

---

# Absolutely minimal?

 *  [bbutter](https://wordpress.org/support/users/bbutter/)
 * (@bbutter)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/absolutely-minimal/)
 * I think what I’m after is so simple that it makes it hard to find.
    A am using
   wordpress 3.0.1 and the veryplaintxt theme. I want to display the post content
   and only the post content on the blog, in a single, centred column. I also want
   to have a basic page template with a centred image (600px x 800px) with text 
   that stays within the confines of the image. I know how to create custom page
   templates, but I don’t know how to edit the text etc. through wordpress. I’ve
   been able to do most of this, save the alignment, which seems to require editing
   the stylesheet, which just baffles me. I figure, with such a basic blog there
   must be a lot of superfluous code that I could do without, but am unsure what
   is the bare minimum needed to display the content and where to change the alignment.
   I apologise if this is explicit somewhere in the tutorials, I have spent the 
   last week trying to find explanations but have been unable to find much help 
   in regard to editable custom pages or a thorough explanation of get_content etc.
   Thank you for your time and your help.

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

 *  [Hax](https://wordpress.org/support/users/hax/)
 * (@hax)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/absolutely-minimal/#post-1644784)
 * a link to your site will help? and definitely your are going to modify the styles
   sheet if you are not comfortable with this then maybe you need a somebody to 
   crate a custom theme for you
 *  Thread Starter [bbutter](https://wordpress.org/support/users/bbutter/)
 * (@bbutter)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/absolutely-minimal/#post-1644797)
 * Yeah sorry, I meant to include that:
    [here](http://www.blackmarketbutter.com/blog)‘
   s the site
 * I’m happy to edit the stylesheet if I can only figure out what needs to be changed.
   Thank you
 *  [Hax](https://wordpress.org/support/users/hax/)
 * (@hax)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/absolutely-minimal/#post-1644848)
 * OK try this, on your styles.css change
 * `body div#wrapper{margin:0 auto;}` to `body div#wrapper{margin:0 auto; width:
   600px!important}`
 * and add this at the end of your stylesheet
 *     ```
       div.post {clear:both; width:600px; margin:0 auto}
       div.post div.entry-content	{ width:600px}
       div.post div.entry-content img{max-width:600px!important; height:auto!important}
       div.post div.entry-content object,
       div.post div.entry-content embed{width:600px!important}
       ```
   
 * you can modify the width do fit your needs. also your html is bit broken and 
   you might want to crop your image to the desired width, but the modifications
   to the stylesheet should work
 *  Thread Starter [bbutter](https://wordpress.org/support/users/bbutter/)
 * (@bbutter)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/absolutely-minimal/#post-1644889)
 * Ah! Thank you so much! That is perfect.
    Now I don’t mean to look a gift-horse
   in the mouth but can I ask you one more question? How do I get a background image
   and the content of a page to stay in alignment? I try to centre the text but 
   it stays mostly to the left of the page while the background image moves when
   I resize my browser. I deleted code like mad trying to get to the pure input 
   of the page, but again, it seems I need to find its relation in the stylesheet.
   How do I control the alignment of the text of get_content or the_post? I’ve included
   the simple code of the page template I’m trying to use.
 *     ```
       <?php /* Template Name: Plath
       */ ?>
       <?php get_header() ?>
       <style>
         body
         {
           width:600px;
           background: #000000;
           background-image: url("http://blackmarketbutter.com/wp-content/uploads/2010/08/plath.png");
           background-repeat: no-repeat;
           background-position: top center;
           text-align: center;
         }
       </style>
       <?php the_post() ?>
       			<div class="entry-content">
       <?php the_content() ?>
   
       				</div>
       			</div><!-- .post -->
       ```
   
 *  [Hax](https://wordpress.org/support/users/hax/)
 * (@hax)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/absolutely-minimal/#post-1644915)
 * First, to center your background images you add `background-position: center 
   top;` the first value controls your horizontal alignment and the second one controls
   your vertical alignment.
 * second you can’t control the image height and width on background images you 
   have to size your image at the exact size that you want them to be.
 * To align your text try `div.post div.entry-content { text-align: center!important}`
   and make sure that you don’t add any alignment to the content when you create
   posts through the wp admin
 * hope this helps

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

The topic ‘Absolutely minimal?’ is closed to new replies.

## Tags

 * [alignment](https://wordpress.org/support/topic-tag/alignment/)
 * [Stylesheet](https://wordpress.org/support/topic-tag/stylesheet/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [Hax](https://wordpress.org/support/users/hax/)
 * Last activity: [15 years, 8 months ago](https://wordpress.org/support/topic/absolutely-minimal/#post-1644915)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
