• Resolved Cody

    (@codiller)


    I installed a fresh version of WordPress 6.2.2 using Local then installed this plugin and created a new theme.

    I then opened the Editor > Template Parts > header and the layout settings are not being respected.

    Dropbox Screenshot

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Kathryn Presner

    (@zoonini)

    Hey there @codiller – could you please provide some more details in order to try to replicate this:

    • What theme did you use to create your new theme? Could you please test with Twenty Twenty-Three if you haven’t already?
    • What version of Create Block theme are you using? Could you try with the latest (1.12.0) if you haven’t already?
    • What version of WordPress are you using?
    • Are any other plugins active?
    • Which of the six options did you select? (This screenshot shows Twenty Twenty-Three just as an example)

    I then opened the Editor > Template Parts > header and the layout settings are not being respected.

    Which specific settings are not being respected, could you provide a screenshot of the original theme?

    Thanks!

    • This reply was modified 1 year, 5 months ago by Kathryn Presner. Reason: crossed out unneeded info
    Thread Starter Cody

    (@codiller)

    • It is working with the TT3 theme.
    • No other plugins are active.
    • I used the “create blank theme” option.
    • I am using version 1.12.0.

    I created a Loom video to show the exact process (forgive the part toward the end where I fight with Loom’s controls over the setting I need). Here are the exact steps:

    1. Spin up a fresh install of WordPress
    2. Add and activate the Create Block Theme plugin
    3. Create and activate a blank theme
    4. Go into the editor
    5. Select the header template part
    6. Select the outermost group of the header template part
    7. Toggle on “Inner blocks use content width”

    The inner blocks do NOT use the content width that the plugin automatically sets in the theme.json file.

    Consequently, if I add a NEW group block, then add blocks inside it and turn on or off that setting, it works just fine. It’s only the group block in the template part file that isn’t working.

    Moderator Kathryn Presner

    (@zoonini)

    Hey there @codiller – thanks for the screencast.

    By default, the outermost Row block in the Header template part is set to “Full width” alignment, which means that it will stretch to fill the width of the entire browser window.

    If you’re not looking for it to be displayed at the full browser width, could you try selecting that Row block and choosing “Wide width.”

    Index Template Editor Testing Testing 123 WordPress

    By doing that, the header width should then respect the “Wide” content setting that’s set site-wide in your Styles > Layout area.

    Index Template Editor Testing Testing 123 WordPress

    Testing Testing 123

    Let me know if this accomplishes your goal or you’re looking for a different result. Thanks!

    Thread Starter Cody

    (@codiller)

    Wow, I can’t believe I missed that. :/ Thank you!

    Moderator Kathryn Presner

    (@zoonini)

    Hi @codiller – no worries! Very glad that did the trick. Cheers.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Settings.Layout Not Working’ is closed to new replies.