WordPress.org

Ready to get started?Download WordPress

Forums

Header Image under menu in twentyeleven theme for home page only (7 posts)

  1. marcie4
    Member
    Posted 5 months ago #

    I'm trying to place an image under the menu bar for one page only that spans the entire width of the header.

    Thanks in advance for your patience for I am from the print world. :)

  2. esmi
    Forum Moderator
    Posted 5 months ago #

    Do not edit the theme itself. First create a child theme for your changes. Or install a custom CSS plugin.

  3. marcie4
    Member
    Posted 5 months ago #

    Yeah. I have a child theme... now what?

  4. esmi
    Forum Moderator
    Posted 5 months ago #

    Next, create a custom page template that can be applied to your chosen page.

  5. marcie4
    Member
    Posted 5 months ago #

    OK. I think I did that right. Now comes the hard part, right? Adding in code to that page so my image will be placed under the menu bar.

    Is that fairly easy?
    What is the code and where should it go?

    Also, I can't thank you enough for your help with this!

  6. esmi
    Forum Moderator
    Posted 5 months ago #

    Now comes the hard part, right?

    Yep - but it is all very do-able. :-) You will just be editing the custom page template that you recently added to your child theme.

    Do you want this image to be placed in the markup - for example, is it intended to be turned into a link? Or is it something that is really more for decoration - in which case it could be added by CSS?

  7. marcie4
    Member
    Posted 5 months ago #

    At present, the image is just for decoration, but that could change. Would it be too difficult for you to provide direction both ways?

Reply

You must log in to post.

About this Topic