Once that is done – you’ll need to set up a second ‘single post’ template – and assign the new header template to that post. So what you end up with is:
Single post template #1 (the original) with the original header
Single post template #2 with the new header
When you publish your post you can select the correct template for the header you want to have in place.
Many thanks for your screencast. I finally found the place.
I have created a new, second header template part.
So that I don’t have to start from scratch with an empty new second header, I copied and pasted the complete code of the original, first header via the Code Editor. I then changed the title in my new second header, but this also changed the title in the original first header.
Why can’t the second header be edited independently of the first header?
I’ve been creating posts and pages for 2 different headers for a few weeks now. So far, both headers only have a different background color and a different title. A Site Title block is used in the first header and a Heading block in the second header.
I kept looking for a setting to add transparency to the second header. Unfortunately, I can only find settings for the color, but not for transparency. I never had a eureka moment.
I have just realized that my question is somewhat imprecise. From the beginning, I thought of a percentage value for setting the transparency of the background color of the header.
When changing the background of an image – clicking on the large color window will let you set a color code. One of the options in the dropdown is ‘RGB’ which will let you select an opacity as part of the settings. In this image it is the bottom ‘a’ (for alpha) value
Thanks for pointing out the alpha value. The header appears to be transparent. When scrolling down, the website content or background should shine through the header. That’s what I planned.
Unfortunately, I’ve been struggling with a new problem, which I haven’t been able to solve. The parent Group block within the header is set as ‘Sticky’, but when scrolling down the page, the header does not remain at the top, but disappears as if it were not ‘Sticky’.
Does ‘Sticky’ also work differently than I meant it to?