Title: problem with center content
Last modified: August 21, 2016

---

# problem with center content

 *  [taifunx2](https://wordpress.org/support/users/taifunx2/)
 * (@taifunx2)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/problem-with-center-content-1/)
 * hi members! how to center content page .. blog post of my blog?
    adress : [http://94.53.67.213](http://94.53.67.213)
   sorry for my bad english.. please help me !

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

 *  [mjhead](https://wordpress.org/support/users/mjhead/)
 * (@mjhead)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/problem-with-center-content-1/#post-3978600)
 * Hi
    Can you please be more specific? Don’t exactly understand what you mean (
   your link is broken so not helpful). If you need center align content on your
   page – you have button Align Center in your Text Editor
 *  Thread Starter [taifunx2](https://wordpress.org/support/users/taifunx2/)
 * (@taifunx2)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/problem-with-center-content-1/#post-3978675)
 * [@andy](https://wordpress.org/support/users/andy/) sorry but the website is hosted
   in my personal pc..
    look at this screenshoot
 * > [View post on imgur.com](https://imgur.com/6TZq1bo)
 *  [mjhead](https://wordpress.org/support/users/mjhead/)
 * (@mjhead)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/problem-with-center-content-1/#post-3978679)
 * For static pages you have simple way to do this – just select **Fullwidth Page**
   template in Page Attributes meta box on **Edit Page Screen**.
 * For single post, blog pages and blog archives this process will be more difficult.
   1st question in that case – what you planning do with sidebar? Move its below
   other content on page?
 *  Thread Starter [taifunx2](https://wordpress.org/support/users/taifunx2/)
 * (@taifunx2)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/problem-with-center-content-1/#post-3978695)
 * @ andy i delete the sidebar ..
    just post box centered no sidebar.. thanks for
   replay
 *  [mjhead](https://wordpress.org/support/users/mjhead/)
 * (@mjhead)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/problem-with-center-content-1/#post-3978719)
 * First off all I recommend you to create your own child theme for Duena (for safety
   editing template files, you can find tutorial here – [http://codex.wordpress.org/Child_Themes](http://codex.wordpress.org/Child_Themes)).
 * Then, if you need centered content only on single post page – copy into your 
   child theme file **single.php**, open it in editor and find string `<div id="
   primary" class="span8 <?php echo esc_attr( of_get_option('blog_sidebar_pos') )?
   >">`. Then change it to
    `<div id="primary" class="span12 <?php echo esc_attr(
   of_get_option('blog_sidebar_pos') ) ?>">` If you need all pages with center content–
   find all files wich contains this string and replace it with `<div id="primary"
   class="span12 <?php echo esc_attr( of_get_option('blog_sidebar_pos') ) ?>">`
 * But it’s not good idea, because a lot of styles in theme adapted to two columns
   structure and some elements after that manipulations can look not good

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

The topic ‘problem with center content’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/duena/2.0.0/screenshot.png)
 * Duena
 * [Support Threads](https://wordpress.org/support/theme/duena/)
 * [Active Topics](https://wordpress.org/support/theme/duena/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/duena/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/duena/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [mjhead](https://wordpress.org/support/users/mjhead/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/problem-with-center-content-1/#post-3978719)
 * Status: not resolved