WordPress.org

Ready to get started?Download WordPress

Forums

Baris
[resolved] adding images (2 posts)

  1. cosmindinu
    Member
    Posted 1 year ago #

    I need to add an image, like a logo, to my header, above the name of the blog in the header. How can I do that, where in the header should I insert what line?
    Thanks a lot.
    Best regards,
    Cosmin

  2. Malvouz
    Member
    Theme Author

    Posted 1 year ago #

    Hi cosmindu, thanks for your kind of word.

    for you problem. Open header.php

    this line is for display title and description on header.

    <h1><a href="<?php echo home_url(); ?>"><?php echo get_bloginfo('name'); ?></a></h1>
    		<span></span>
    		<p><?php echo get_bloginfo('description', 'display'); ?></p>

    If you want add image or logo. Add this line right below title and description code, you will see playstation's logo from this code.

    <center><img src="http://s.wordpress.org/images/notableusers/playstation-2x.png" height="" width=""></center>

    If you want to use only your logo. you can delete title and description code.

    Note: You could customize both height and width.

    ---

    If you like, please mark this question as solved.

    Thanks,
    Malvouz

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic