Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

header 404

  • Hello,

    I use an element for the 404 page. Works ok.

    I also use a diferent color on the header of some pages with this easy code

    body.page-id-2393 .header-wrap .site-header,
    body.page-id-3 .header-wrap .site-header,
    body.page-id-47 .header-wrap .site-header,
    body.page-id-2425 .header-wrap .site-header,
    body.page-id-166 .header-wrap .site-header {
    background-color: #142235;
    }

    What I need, is to use this header on the 404 page. I write de id (166) but it doesn´t work.

    Would it be possible?

    Thanks
    Angel

  • Hi there,

    you can use this selector for the 404 page.

    
    body.error404 .header-wrap .site-header 
    
  • thanks David. As always, great tip 😉

  • Glad to be of help

  • Hello again,

    now, I want to make the same (use this header background) on the whole blog and it´s entries.

    Is it possible?

    Thanks again
    angel

  • I did it. thanks
    Angel

  • Glad to hear that!

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.