Skip to content

Page Template: Remove grey border and instead use the Page/Post title link. #32103

Closed

Description

@paaljoachim

What problem does this address?

There is a grey border around the Page Template to give a hint that one is in template mode. Containing a <- Back text link to return to the page.

The following is an example where I am also taking James @jameskoster suggestion from this PR: #32037 and adding it here.

Page-template-grey-border

The top area titles.
About (page is a link that brings the user back to the About page.)
WordCamp Outreach (has a drop down to where one can see information about the template as well as delete it.)

What is your proposed solution?

Page-template-no-grey-borders

Remove the grey border, and instead use the Page title in the top to return to the page. One would be able to use the full screen for creating the layout.

Hints to signal that one is in a different kind of screen:
Top bar: Two titles
Sidebar Settings: Tab says Template instead of page.

Activity

  1. jameskoster commented on May 21, 2021

    @jameskoster
    Contributor

    Considering the Inspector can be closed, I'm not convinced that the top bar contents alone are adequate in communicating the context shift here.

    It may not be perfect, but the gray frame does quickly and clearly indicate the significance of the transition from post editing to template editing. Removing it puts us back at square one. Did you have any ideas of things we could potentially replace it with instead?

  2. paaljoachim commented on May 21, 2021

    @paaljoachim
    ContributorAuthor

    Hey James

    Did you have any ideas of things we could potentially replace it with instead?

    Thank you for asking!
    I wanted to add this issue, so we can leave it open to see what kinds of ideas show up. (I am blank for the moment.)
    I am totally open to being mistaken. We will see what kinds of feedback that shows up.

  3. jameskoster commented on May 21, 2021

    @jameskoster
    Contributor

    The other option we explored in #27849 was an inverted UI color scheme:

    But this is a lot of work, and raises questions around how future features like dark mode would be interpreted.


    This is an old concept, but I'm sharing since it handily demonstrates how the frame can enable us to tie other views together seamlessly. For example zooming out to an "exploded" view where you can easily re-order entire sections of the document and quickly swap patterns etc. Or zooming all the way out of the template editor to the template mosaic view, where you get a holistic view of the entire theme, and direct access to edit other templates, global styles, etc.

    frame.mp4
  4. youknowriad commented on Oct 6, 2026

    @youknowriad
    Contributor

    Thanks for the proposal! The grey frame around template editing went away when the template-only mode was removed in WordPress/gutenberg#57700. Editing a template from the post editor now uses the full canvas, with the template named in the document bar and a way back to the post. Closing as addressed by the redesign. Please open a new issue for anything that still feels off in the current flow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] Site EditorRelated to the overarching Site Editor (formerly "full site editing")[Type] EnhancementA suggestion for improvement.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions