[Resolved] Targeting page headers

Home Forums Support [Resolved] Targeting page headers

Home Forums Support Targeting page headers

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #475657
    Paul

    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.

    GeneratePress 2.0.2
    GP Premium 1.5.6
    #475741
    Leo
    Staff
    Customer Support

    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!

    #475764
    Paul

    Hi Leo,

    I see them now, but CSS changes don’t apply.

    https://style960.com/wordpress/

    #475896
    Paul

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

    Thanks for your help.

    #475988
    Leo
    Staff
    Customer Support
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.