Themesphere Support Forum » Support » Spotlight

How do I add a logo

(4 posts)

Tags:

  1. It would be nice to have the chance to use a logo in the header. What can I do to add one?

    Regards,

    Markus

    Posted 1 year ago #
  2. I will reply in a couple of hours.

    Thank you for your patience! :)

    Posted 1 year ago #
  3. Logo Max Height: 88px
    Logo Max Width: 640px
    Background Color: #0F0D01

    Open Stylesheet (wp-content/themes/spotlight/syle.css)

    Find

    #header h1 {
      display: inline;
      font-weight: normal; font-size: 24px;
      float: left;
      line-height: 25px;
      margin-top: 30px; margin-left: 27px;
    }

    Replace it with:

    #header h1 {
      display: inline;
      font-weight: normal; font-size: 24px;
      float: left;
      line-height: 25px;
    }

    Open header.php (wp-content/themes/spotlight/header.php)

    Find:

    <div id="header">
    	      <h1><a href="<?php echo get_option('home'); ?>/" title="<?php bloginfo('name'); ?> - <?php bloginfo('description'); ?>"><?php bloginfo('name'); ?></a><span><?php bloginfo('description'); ?></span></h1>
    	      <?php include 'searchform.php'; ?>
          </div>

    Replace With:

    <div id="header">
    	      <h1><a href="<?php echo get_option('home'); ?>/" title="<?php bloginfo('name'); ?> - <?php bloginfo('description'); ?>"><img src="PATH TO LOGO HERE" alt="<?php bloginfo('name'); ?>" /></a></h1>
    	      <?php include 'searchform.php'; ?>
          </div>
    Posted 1 year ago #
  4. Thank you, Haris!

    Result can be seen here:

    www.hausbauunternehmen.info

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.