I am using Drupal 8.2.6, and instead of showing sitename from Configuration Parameter, trying to disply it with custom block. Custom block will use a png file with specific font design for site name.

I named this custom block as header, and placed it in Header position in block layout.

Problem I am facing is by default it will be placed at right corner of the header, regardless of any css vaule. However I need to display it at left side, where site name is displayed by default.

Am sure my header block is correct in terms of css left position settings, because if same block is placed at content or footer, it will be displayed at left side only, however in header, it will go to right side.

Let me know please if any suggestion


  • This is a basic CSS issue. .region-header .block {} has a float: right in a media query @media (min-width: 461px). Mar 13, 2017 at 22:45
  • Thanks, I forgot to mention I am using Bartik theme, can you suggest where this css is located.
    – GLK
    Mar 14, 2017 at 5:41
  • That is not part of the default bartik theme. Disable CSS aggregation, clear cache en see what file it comes from. Mar 14, 2017 at 6:34
  • Hi, thank you for suggestion... I realized..bartik have some kind of limitation for such customization... I changed to Mayo Theme..and this issue was not there..
    – GLK
    Mar 15, 2017 at 3:46


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.