custom subtheme editing _page.html.twig

Created on 18 July 2021, over 3 years ago
Updated 23 September 2023, about 1 year ago

Problem/Motivation

Trying to edit layout in _page.html.twig

Steps to reproduce

I successfully created a subtheme "bbd2" using the script "./scripts/create_subtheme.sh", and it appears /web/themes/custom/bbd2
I edited the layout of "web/themes/custom/bbd2/templates/_page.html.twig". However after clearing all the caches the changes were not recognized.

So I edited the original theme "/web/themes/contrib/bootstrap_barrio/templates/layout/page.html.twig" and after clearing the cache the changes displayed properly.

I'm afraid that these edits will be overwritten if I update the theme.

Any suggestions on how to protect against an overwrite?

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ’¬ Support request
Status

Closed: outdated

Version

5.5

Component

Miscellaneous

Created by

πŸ‡ΊπŸ‡ΈUnited States gscerb

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024