Skip to content

[FSE] Show Template Part color settings when in isolated mode #30641

@annezazu

Description

@annezazu

What problem does this address?

Currently, if you are viewing an isolated template part, the usual block settings for that template part aren't viewable. You're not able to select the overall template part either to make specific changes to styling. Considering this is an isolated view, it seems one should actually be able to edit the entire template part even more directly including setting colors. This came up as part of the fourth call for testing for the FSE Outreach Program:

I guess what came to mind for me was – why in the “Template Parts –> Headers –> header” can’t I set a background color for my header there? (This is where I expected to find it as a second time FSE user) Here is a screenshot of my header template: https://snipboard.io/PCOXqB.jpg Related, I found I had to set the background color for my header 3 times, once for the index template (like in your video), once on the page home template (screenshot – https://snipboard.io/2iGhOU.jpg), and once on the page template (screenshot – https://snipboard.io/s69bFW.jpg). I was kind of wondering if I could just set it once in the header template itself, but maybe that’s not how this was designed. I also tried to set the header background color on the index template only, but I think because I had set up a homepage and pages, the header color didn’t show up on the homepage and pages with only the index page having the header background color. Anyway, just wanted to share where my head was at as a user 🙂

Template View

Opening the site editor > opening a specific template > selecting the Header template part

Screen Shot 2021-04-08 at 4 21 54 PM

Isolated Template Part View

Opening the site editor > using the navigation component to navigate to a template part > viewing the template part.

Screen Shot 2021-04-08 at 4 18 33 PM

Note that you're unable to even select the parent template part block while in this view.

What is your proposed solution?

When one navigates to the isolated template part, enable the ability to modify the entire template part rather than just showing the contents of the template part.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.json[Block] Template PartAffects the Template Parts Block[Feature] Navigation ComponentA navigational waterfall component for hierarchy of items.[Type] EnhancementA suggestion for improvement.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions