Forums

How can i do this...This is real confusing. (5 posts)

  1. arena_gr123
    Member
    Posted 12 months ago #

    How can I put an image instead of the blog title here- http://tinyurl.com/6cjuyn and at the same time make the image clickable? Thanks in advance.

  2. stvwlf
    Member
    Posted 12 months ago #

    replace <div id="logo"> with
    <div id="logo" onclick="location.href='http://www.yourlinkhere.com/';" style="cursor: pointer;">
    That makes the entire top section (the logo div) go wherever you set the link to.

  3. arena_gr123
    Member
    Posted 12 months ago #

    But how to put the image up there in place of the site name?

  4. arena_gr123
    Member
    Posted 12 months ago #

    No one?

  5. chaoskaizer
    Member
    Posted 12 months ago #

    [...]

  6. chaoskaizer
    Member
    Posted 12 months ago #

    Add the following css code inside your theme's style.css (admin > themes > theme editor > stylesheet). You'll need to change the background-image url and dimension (height & width).

    #logo h1 a{
    	/* background image */
    	background: transparent url(http://www.example.com/myimage.png) no-repeat 0% 0%;
    	/* text to image replacement */
    	display:block;overflow:hidden;position:relative;text-indent:-999em;
    	/* image size */
    	width:158px;height:38px;
    }

Reply

You must log in to post.

About this Topic

Tags