Site logo

Archived topic

Targeting page headers

4 replies · Started by Paul on January 20, 2018

Viewing posts 1–5 of 5

Can I target a page header with CSS? There's no ID or Class field in a page header. I could add more markup but could I suggest adding IDs and Classes to the Page Header module? Unless there is an easy to way to do it that I'm missing?

Specifically using page headers with the mobile header enabled really needs custom CSS, no way around it.

Thanks.

Hi there,

Each page header should have unique ID by default now.

You can see them by using inspect element. It should be something like page-header-xxx

Let me know if you need help identifying them. If so please provide a link to your site.

Thanks!

Of course it did work when I remembered you said IDs and not Classes. This can be resolved!

Thanks for your help.

Glad you figured out!

This archived topic is closed to new replies.