Title: Max width setting in style.css
Last modified: April 26, 2019

---

# Max width setting in style.css

 *  Resolved [Ramona](https://wordpress.org/support/users/nextend_ramona/)
 * (@nextend_ramona)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/max-width-setting-in-style-css/)
 * Hi [@themeeverest](https://wordpress.org/support/users/themeeverest/)
 * In your theme’s style.css file there’s this code, with a max-width: 100% setting:
 *     ```
       div, img, pre, figure {
         max-width: 100%;
         overflow: hidden;
       }
       ```
   
 * Which I’m not sure is actually a good practice or needed at all. Can you clarify
   why do you need this piece of code?
 * In its current state, it can easily conflict with other plugins, which don’t 
   need max-width (but your theme sets that anyway). I think it would be best if
   this code would be removed.

Viewing 1 replies (of 1 total)

 *  Theme Author [Superb](https://wordpress.org/support/users/themeeverest/)
 * (@themeeverest)
 * [7 years ago](https://wordpress.org/support/topic/max-width-setting-in-style-css/#post-11604422)
 * Hi Ramona, thanks for your comment, we’ll look into it 🙂
 * We are not active over the WordPress.org forums so response times are slow, please
   get in touch with us here: [https://superbthemes.com/customer-support/](https://superbthemes.com/customer-support/)

Viewing 1 replies (of 1 total)

The topic ‘Max width setting in style.css’ is closed to new replies.

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

 * 1 reply
 * 2 participants
 * Last reply from: [Superb](https://wordpress.org/support/users/themeeverest/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/max-width-setting-in-style-css/#post-11604422)
 * Status: resolved