• Resolved callie.manion

    (@calliemanion)


    How can I add an image to the header of the Simple Style theme? I really like the clean design, but I’d like to have an image above the menu as the header, and not my site’s title and tagline.

    Normally, I’d just go to Appearance > Header or Appearance > Logo, but this theme doesn’t have either. Any ideas??

    The blog I’m using this theme on is: https://www.manionamor.com

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • edit header.php:

    <div id="header"><a class="title" href="<?php echo esc_url( home_url() ); ?>"><div id="title"><?php bloginfo('name'); ?></div></a><div id="description"><?php bloginfo('description'); ?></div></div>

    possibly change that to:

    <div id="header"><a class="title" href="<?php echo esc_url( home_url() ); ?>"><div id="title"><?php bloginfo('name'); ?></div></a><div id="description"><?php bloginfo('description'); ?></div><img class="header-image" src="https://example.com/full_path/header-image.jpg" alt="" /></div>

    will need additional CSS adaptations.

    please post again when you have the ‘simple style’ theme activated;

    or mark this topic as ‘resolved’ when you are happy continuing with the other theme.

    Hello, I have the same question, I’ve activated the theme and edit the header.php file.
    What do I have to next in the CSS,
    On the header page a small square appears no, so how can I get my custom photo in? and can the dimensions of the header be custom set?
    Thanks,
    Menno

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