1. HOT Divi Ultimate Header Plugin - More variety for your Divi header: https://header.diviultimate.com/

Limit Full-Width Header content to website's width

Discussion in 'Free Divi Community Forum' started by Tazor, Jul 30, 2020.

  1. Tazor

    Tazor New Member

    Hi! So, I have set my website's content width to 1280px, therefore all my elements are displayed within 1280px. I created a full-width header module and made the background fullscreen, but now my body text and button are left-aligned to the viewport. I would like to keep them left-aligned, but to the same width as the other elements of my website, which are within 1280px. How would I be able to do so? Screenshot at Jul 30 16-53-57.png
     
    1. AD Free Divi premade layouts & sections for download: https://divi.help/link-forums/divi-den-freebies.145/
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    Try the below CSS in Divi > Theme Options > Custom CSS:
    Code:
    .et_pb_fullscreen .et_pb_fullwidth_header_container {
        max-width: 1280px!important;
    }
     

Recommended Divi Hosting