I love the Hero Header option to show various illustrations on the landing page but the Title / Subtitle is usually covering the image at the worst place (top and mid-height) especially when it comes to image description.
How can I force the Title / Subtitle to be moved to the bottom of the background image? I tried with inline CSS; but the containers of Title and Subtitle do not seem to reach the bottom of the page. They just adapt to the content.
I saw on cern.ch/norway that they somehow manage to do it by adding 16 empty lines which works more or less OK but is clearly not an ideal solution.
I requested access in the website to have a look so it will take some time until e-groups sync.
Until then, it is a known “issue” but in general this is how text in HTML by default works: top to bottom and left to right. So with the current configuration of the theme, the only way to override it is to add the spaces as you mention. However as far as I know this creates issues in responsive cases.
Either way I will have a look as soon as I have access to find a solution.
What we can do as solution is to make the subtitle hold 100% of the Hero Header’s height. As a result then you can use the vertical-align css property to place it on the top, middle or bottom of the header. What do you think of it as solution?
It will be deployed with version 2.7.1 of CERN Components. I cannot say for sure when it will be deployed, on my side it will be merged to production very soon (most probably next week).