I have created a new drupal 11.1.7 installation and made UI Suite Bootstrap the default theme and installed all the required modules. I have enabled UI Styles Blocks and UI Styles but styles that I set for the Site Branding block are not showing. Block styles for other blocks, such as the Navigation block, are showing fine.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

bmango created an issue. See original summary.

grimreaper’s picture

Version: 5.1.0-beta1 » 5.1.x-dev
Component: User interface » Documentation
Category: Bug report » Support request

Hi,

Sorry for the inconvenience but it is working as expected.

In this case, some documentation or hook_form_alter needs to be done to avoid exposing options without effect.

It is by design because like with the block "page title" or the region "navigation collapsible" the wrapper printing attributes had been removed.

UI Suite Bootstrap templates:
- Page title block: https://git.drupalcode.org/project/ui_suite_bootstrap/-/blob/5.1.x/templ...
- Branding block: https://git.drupalcode.org/project/ui_suite_bootstrap/-/blob/5.1.x/templ...
- Navigation collapsible region: https://git.drupalcode.org/project/ui_suite_bootstrap/-/blob/5.1.x/templ...

For the region it was to be able to have flex CSS effect properly acting on the blocks in this region.

For the blocks, it was because Core itself does not provide those wrappers by default:
- Branding block: https://git.drupalcode.org/project/drupal/-/blob/11.x/core/modules/syste...
- Page title: https://git.drupalcode.org/project/drupal/-/blob/11.x/core/modules/syste...

Hopefully with https://www.drupal.org/project/display_builder we will be able to have a page.html.twig completely site buildable, so no more need of region special cases, and also even less special cases of blocks.

bmango’s picture

Thanks very much for the info.

Am really looking forward to trying Display Builder, thanks for the link!

  • grimreaper committed cbdaf56f on 5.1.x
    Issue #3525108 by bmango, grimreaper: Document limitations.
    
grimreaper’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.