WordPress.org

Ready to get started?Download WordPress

Forums

Adding HTML into Header (5 posts)

  1. xfourninetwox
    Member
    Posted 1 year ago #

    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: justavisual.net/2013/wp-content/themes/twentytwelve/head.html and here is how it appears justavisual.net/2013/

    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.

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    What theme are you using?

  3. xfourninetwox
    Member
    Posted 1 year ago #

    I'm using twentytwelve currently

  4. esmi
    Forum Moderator
    Posted 1 year ago #

    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.

  5. xfourninetwox
    Member
    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic