Title: $content_width not working
Last modified: September 1, 2016

---

# $content_width not working

 *  [maxelcat](https://wordpress.org/support/users/maxelcat/)
 * (@maxelcat)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/content_width-not-working/)
 * Hi
 * I am trying to reset the $content_width variable as per the codex
 * In my functions.php I put $content_width = 2000;
 * I am then creating some new images sizes for the media library. I know these 
   images are uploading with my new sizes because I checked with ftp and the filenames
   are correct but they are displaying wrong in the media pop up for images sizes
   and so the width settings are wrong int he code. This is exactly the problem 
   described [in the codex](https://codex.wordpress.org/Content_Width) but the solution,
   at least for me, isn’t working
 * Can anyone help please?
 * E

The topic ‘$content_width not working’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [maxelcat](https://wordpress.org/support/users/maxelcat/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/content_width-not-working/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
