Support » Themes and Templates » Adding HTML into Header

  • Hey all. I recently uploaded the newest version of WP into a folder on my site with the plan of integrating a custom header. In the past there was no problem in doing this, I used to simply edit the Kubrick/Default theme to my liking, placing the HTML Table into the header.php file.

    With the new version of WP I seem to be having a slew of errors. Mainly, no matter where I place the code there are issues. In the past I would paste the code between the <head> and <body <?php body_class(); ?>> tags and this worked properly. Here is how the header on it’s own should appear: and here is how it appears

    I can’t tell if there is something in the Stylesheet proving cellpadding, or spacing on the <td> tags, if there is an position tag, or what. Maybe it’s just that the Theme itself doesn’t work well with this adaptation?

    And before you criticize the use of a table in this day and age, I understand that it’s a bit outdated, but it’s within my skill set and I wouldn’t know how to achieve this look using only php and stylesheets.

    Any info or help would be much appreciated.

Viewing 4 replies - 1 through 4 (of 4 total)
  • esmi


    Forum Moderator

    What theme are you using?

    I’m using twentytwelve currently



    Forum Moderator

    For starters, never edit the Twenty Twelve theme. It is the current default WordPress theme and having access to an unedited version of the theme is vital when dealing with a range of site issues. First create a child theme for your changes. Or use a custom CSS plugin.

    But if you just want to upload a custom header image, see Appearance -> Header. No need to delve into the theme’s templates.

    I will look into the child theme.

    I did, however, look into the customheader.php section, Its more than an image that I am trying to use. Its multiple tied together into a table with rollovers, which didn’t work with the custom header section that allows you to upload a single banner image

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Adding HTML into Header’ is closed to new replies.