WordPress.org

Support

Support » Themes and Templates » Using both image header and text header

Using both image header and text header

  • jordanlwheeler
    Member

    @jordanlwheeler

    I’d like to have a graphic logo (a 100×100 square) to the left of my text header.
    In Oxygen theme options, choosing a graphic header will hide the text header. I want to use both. It should look like this, with the (LOGO) being the square graphic, and the following title being as text (for SEO):

    [LOGO] JORDAN L WHEELER

    How can I do this? Is it best to modify the CSS, or the header.php?

    Thank you greatly for your help

    PS: the site is http://www.jordanlwheeler.com/blog

Viewing 7 replies - 1 through 7 (of 7 total)
  • jordanlwheeler
    Member

    @jordanlwheeler

    Surely there is a way to do this, can anyone advise please?

    This will need a header.php edit. Make sure you use a child theme so it’s not overwritten during a theme upgrade.

    <div id="custom-logo"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><img src="LINK TO LOGO" alt=""/></a></div>

    You can then style and place with css.

    jordanlwheeler
    Member

    @jordanlwheeler

    Thank you batharoy! I’m not familiar with using child themes, so I’ll have to learn that.
    Once I’ve learned that, I’ll have to learn about placing this with CSS.

    ramneek123
    Member

    @ramneek123

    hi, following is an excellent tutorial for same:
    http://www.woothemes.com/2013/10/wordpress-customization/

    I have the same problem, I have already created the child theme, but I am a beginner and I donĀ“t know how to do “This will need a header.php edit.”
    Do I have to create a new file?
    Thank you very much for your help

    CrouchingBruin
    Participant

    @crouchingbruin

    Do I have to create a new file?

    You typically have to make a copy of the header.php file from the parent theme over into your child theme’s folder, then edit the copy.

    OK, I add that text on header part or on body part?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Using both image header and text header’ is closed to new replies.