Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Works after installation but when I do a very simple subtheme the Main Navigation Menu is lost. A different menu appears but it doesn't work well, as attached picture shows.
The subtheme is (themes/reiniciar_openchurch/reiniciar_openchurch.info.yml):
name: reiniciar_openchurch
type: theme
description: Subtema de OpenChurch
core: 8.x
# Defines the base theme
base theme: openchurch_theme
# Defines libraries group in which we can add css/js.
libraries:
- reiniciar_openchurch/global-styling
# Regions
regions:
header: Encabezado
primary_menu: 'Menú Principal'
secondary_menu: 'Menú Secundario'
help: Help
page_top: 'Page top'
page_bottom: 'Page bottom'
highlighted: Highlighted
breadcrumb: Breadcrumb
content: Content
sidebar_first: 'Sidebar first'
sidebar_second: 'Sidebar second'
triptych_first: 'Triptych first'
triptych_middle: 'Triptych middle'
triptych_last: 'Triptych last'
footer_first: 'Footer first'
footer_second: 'Footer second'
footer_third: 'Footer third'
footer_fourth: 'Footer fourth'
footer_fifth: 'Footer fifth'
footer: 'Footer'
and themes/reiniciar_openchurch/reiniciar_openchurch.libraries.yml is:
global-styling:
css:
theme:
css/style.css: {}
Comment | File | Size | Author |
---|---|---|---|
oc-prob-subtema.jpg | 132.19 KB | vtamara |
Comments
Comment #2
drupalninja99 CreditAttribution: drupalninja99 at Mediacurrent commentedHmm I am not sure I am able to invest a lot of time into subtheme support yet as I am still trying to get the main theme to work. I am still get acclimated to Drupal 8 theming in general.
Comment #3
drupalninja99 CreditAttribution: drupalninja99 at Mediacurrent commentedChanging this to minor. I wouldn't let this hold up a stable release.
Comment #4
drupalninja99 CreditAttribution: drupalninja99 at Mediacurrent commented