page-title.css

Same filename in this branch
  1. 11.x core/themes/olivero/css/components/page-title.css
  2. 11.x core/themes/claro/css/components/page-title.css
Same filename and directory in other branches
  1. 10 core/profiles/demo_umami/themes/umami/css/components/blocks/page-title/page-title.css
  2. 10 core/themes/olivero/css/components/page-title.css
  3. 10 core/themes/claro/css/components/page-title.css
  4. 9 core/profiles/demo_umami/themes/umami/css/components/blocks/page-title/page-title.css
  5. 9 core/themes/olivero/css/components/page-title.css
  6. 9 core/themes/seven/css/components/page-title.css
  7. 9 core/themes/claro/css/components/page-title.css
  8. 9 core/themes/bartik/css/components/page-title.css
  9. 8.9.x core/profiles/demo_umami/themes/umami/css/components/blocks/page-title/page-title.css
  10. 8.9.x core/themes/seven/css/components/page-title.css
  11. 8.9.x core/themes/claro/css/components/page-title.css
  12. 8.9.x core/themes/bartik/css/components/page-title.css

This file is used to style the page title block.

Note: This only styles the page title block itself. We do not use this block node pages (the titles are printed in the node.html.twig template), so styling for that will be in other files such as full.css.

File

core/profiles/demo_umami/themes/umami/css/components/blocks/page-title/page-title.css

View source
  1. /**
  2. * @file
  3. * This file is used to style the page title block.
  4. *
  5. * Note: This only styles the page title block itself. We do not use this block
  6. * node pages (the titles are printed in the node.html.twig template), so
  7. * styling for that will be in other files such as full.css.
  8. */
  9. .is-front .block-page-title-block {
  10. margin: 1rem 0;
  11. }
  12. .block-page-title-block {
  13. margin: 1rem 0 3rem;
  14. text-align: center;
  15. }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.