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?
- The topic ‘Sections: Inherit Inner Width from Theme’ is closed to new replies.