Multiple Custom Headers in Genesis

Community Forums Forums Design Tips and Tricks Multiple Custom Headers in Genesis

This topic is: resolved

This topic contains 4 replies, has 2 voices, and was last updated by  Debra Scott 1 year, 4 months ago.

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

    robert81
    Participant
    Post count: 4

    Hi,

    I would like to use multiple custom headers (div #hedear section) for my website.

    E.g. for my pages I would like to have to a specific header, i.e. the default one where the website title and description is shown but for the blog posts I would like to have different texts.

    Any idea from where to start? I found this sample code (not specific to genesis) but it generates an error 500 upon implementing it.

    http://www.wprecipes.com/how-to-use-multiple-custom-headers-on-a-wordpress-theme

    Thank you in advance for the feedback.

    #46866

    Debra Scott
    Moderator
    Post count: 132

    you can do this via css,

    create a folder in your child theme called headers then right click on your page and open page source on your browser – find the page id then in css write your code like so;

    .page-id-1 #header #title-area {
    background: url(images/headers/image.jpg) ;
    }

    .page-id-2 #header #title-area {
    background: url(images/headers/image.jpg) ;
    }

    this part #header #title-area may need to be tweaked depending on if it is a full width header


    need help with your business or personal website? Contact me at Fat Cat Designs

    #46868

    robert81
    Participant
    Post count: 4

    Hi Debra,

    Thank you for your response. Though I would like to have different headers including text and everything, not just images. E.g. for each blog post, I would like to have the blog post title in the header section rather than an image.

    #46887

    robert81
    Participant
    Post count: 4
    #46891

    Debra Scott
    Moderator
    Post count: 132

    Glad you found a solution!


    need help with your business or personal website? Contact me at Fat Cat Designs

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Multiple Custom Headers in Genesis’ is closed to new replies.