Override col2-equal.html.twig and barrio-col2-equal--node-page-full.html.twig

Created on 3 November 2021, over 2 years ago
Updated 23 September 2023, 9 months ago

Problem/Motivation

In my subtheme I want to override barrio-col2-equal--node-page-full.html.twig but it is only using col2-equal.html.twig

I have copied col2-equal.html.twig to themes/custom/mysubtheme/templates, created a copy and renamed that one to barrio-col2-equal--node-page-full.html.twig but no luck. I also tried to rename it to col2-equal--node-page-full.html.twig because that is the name that is being suggested in the DS UI (see screenshot)

When I try to override templates that DS provides it does work in the way described above.

Perhaps important....I also notice that in the UI the suggestion are without barrio (e.g. col2-equal--node-page-full.html.twig) and in theme debug in the source code they are with barrio (e.g. barrio-col2-equal--node-page-full.html.twig) See screenshot also.

Steps to reproduce

- Install drupal and enable boostrap_barrio and display suite.
- Enable full content and set 2 Columns Equal under Select a layout at admin/structure/types/manage/page/display/full

Proposed resolution

Not sure

Remaining tasks

User interface changes

API changes

Data model changes

πŸ’¬ Support request
Status

Closed: outdated

Version

5.5

Component

Code

Created by

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.69.0 2024