Title: Content width CSS codes not working
Last modified: August 17, 2018

---

# Content width CSS codes not working

 *  [awkwardalice](https://wordpress.org/support/users/awkwardalice/)
 * (@awkwardalice)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/content-width-css-codes-not-working/)
 * I’ve been trying to figure out a way to make the content of my blog posts much
   wider, instead of so narrow as the currently are on the page. I tried the previous
   CSS code posted about 6 months ago, but it doesn’t work. Can someone help please?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcontent-width-css-codes-not-working%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [saurabh.dhariwal](https://wordpress.org/support/users/saurabhdhariwal/)
 * (@saurabhdhariwal)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/content-width-css-codes-not-working/#post-10606144)
 * Hello awkwardalice,
 * Try below css code.
 *     ```
       .no-sidebar .site {
         max-width: 1366px;
       }
   
       .custom-header a img {
         width: 1366px;
         height: 630px;
       }
       ```
   
 * Hope this will helps you.
 * Thanks.

Viewing 1 replies (of 1 total)

The topic ‘Content width CSS codes not working’ is closed to new replies.

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

 * 1 reply
 * 2 participants
 * Last reply from: [saurabh.dhariwal](https://wordpress.org/support/users/saurabhdhariwal/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/content-width-css-codes-not-working/#post-10606144)
 * Status: not resolved