Title: Sections: Inherit Inner Width from Theme
Last modified: October 3, 2019

---

# Sections: Inherit Inner Width from Theme

 *  Resolved [Matt Scheidler](https://wordpress.org/support/users/matt6303/)
 * (@matt6303)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/sections-inherit-inner-width-from-theme/)
 * I am using UAG with Astra.
 * In order to have full-width background but content contained to a certain width
   I am using a UAG Section. I can set the Inner Width by using the slider, but 
   there is also an option to “Inherit Inner Width from Theme”.
 * My issue is, by default the plugin-output CSS references the ID of the section.
 *     ```
       #uagb-section-31d4703c-a23e-47d2-ad70-66bc568cb6a3 > .uagb-section__inner-wrap {
           max-width: 1920px;
       }
       ```
   
 * I can specify the inner width in my theme, but it takes an !important style on.
   uagb-section__inner-wrap for it to take effect. But when I do so, it overrides
   the inner width on all sections, even the ones where I did use the slider to 
   set a custom value.
 * Is there a way to add the inner width to the theme stylesheet so that it only
   applies when “Inherit Inner Width from Theme” is selected?

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

 *  Thread Starter [Matt Scheidler](https://wordpress.org/support/users/matt6303/)
 * (@matt6303)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/sections-inherit-inner-width-from-theme/#post-11994955)
 * Please disregard. I think I found my error. I needed to set width, not max-width,
   on .uagb-section__inner-wrap. Thanks.
 *  Plugin Support [Team Brainstorm Force](https://wordpress.org/support/users/brainstormteam/)
 * (@brainstormteam)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/sections-inherit-inner-width-from-theme/#post-11996508)
 * Great [@matt6303](https://wordpress.org/support/users/matt6303/) !
 * Feel free to get back to us if you face any other issues.
 * Regards,
    Vrunda Kansara

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

The topic ‘Sections: Inherit Inner Width from Theme’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-addons-for-gutenberg/assets/icon-256x256.gif?rev
   =3240412)
 * [Spectra Gutenberg Blocks – Website Builder for the Block Editor](https://wordpress.org/plugins/ultimate-addons-for-gutenberg/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-addons-for-gutenberg/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-addons-for-gutenberg/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-addons-for-gutenberg/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-addons-for-gutenberg/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-addons-for-gutenberg/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Team Brainstorm Force](https://wordpress.org/support/users/brainstormteam/)
 * Last activity: [6 years, 8 months ago](https://wordpress.org/support/topic/sections-inherit-inner-width-from-theme/#post-11996508)
 * Status: resolved