WordPress.org

Ready to get started?Download WordPress

Forums

Easy help: Where/What to insert logo into css? (4 posts)

  1. 5starhiphop
    Member
    Posted 5 years ago #

    Hey guys, my site is 5starhiphop.com, as you see I don't have a logo up. I do have a logo, but I just don't know what to put in the .css files. Here is the area that says I should edit for a logo:

    /*logo  (edit here if you want to put logo)
    
    ---------------------------------------------------------- */
    #logo {
    
    	padding: 0;
    
    	}
    
    #logo span, #logo a {
    
    	display: block;
    
    	width: 0;
    
    	height: 0;
    
    	padding: 0;
    
    	}
    
    #logo img {
    
    	border: none;	
    
    	}
    
    /* top navigation
    
    ---------------------------------------------------------- */

    I'm guessing it should be somewhere in between there. What exactly do I put? I'm guessing I'd put the url of the image...but where!?

    If you need to see the full .css file, you can download the original theme files here: http://www.blogperfume.com/silveray-clean-and-soft-3-column-wordpress-theme/

    I REALLY appreciate any help you all could provide for me. I have gone months without a logo simply because I don't know WHAT or WHERE exactly to input the url for it.

    Thanks guys

  2. bsolah
    Member
    Posted 5 years ago #

    I think you need to put it under the "#logo img" tag. Not sure what tag you'd use though.

  3. 5starhiphop
    Member
    Posted 5 years ago #

    thanx bsolah, that gives me something to try out. anyone else have any idea what exactly should be put there?

  4. esmi
    Forum Moderator
    Posted 5 years ago #

    Try adding the exact dimensions of your logo image to #logo span, #logo a - eg:

    #logo span, #logo a {
    display: block;
    width: 500px;
    height: 100px;
    padding: 0;
    }

    Then edit header.php (I think) and amend:

    <!--<div id="logo">
    
    (edit this line if you want to put logo)
    
    	  <span><a href="http://www.5starhiphop.com"><img src="http://www.5starhiphop.com/wp-content/themes/silveray/images/(logo_name).gif" alt="Your Daily Source for 5 Star Hip Hop!" /></a></span>
    
    	</div>-->

    to

    <div id="logo">
    	  <span><a href="http://www.5starhiphop.com"><img src="http://www.5starhiphop.com/wp-content/themes/silveray/images/(logo_name).gif" alt="Your Daily Source for 5 Star Hip Hop!" /></a></span>
    
    	</div>

    replacing your logo file name with (logo_name).gif. Bear in mind that this image has to be in the wp-content/themes/silveray/images folder.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags