Skip to:
Content
Pages
Categories
Search
Top
Bottom

Howto: change the sitewide domain.com >> a .gif/.jpg etc.

  • Avatar of gahoachma
    gahoachma
    Participant

    @gahoachma

    Well I got my friend to create a nice looking logo for my site. However I don’t know how to change the hyperlink.com to my logo.

    In case I’m not understood properly. i want to change the circled part to my logo and obviously keep it clickable as well.

    http://i48.tinypic.com/348kck4.png

    Also interested in what dimensions it will need to be down sized to in order to not break the layout of the default forum.

    Thanks alot for any help!.

    -Jeremiah.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Avatar of Travel-Junkie
    Boris
    Participant

    @travel-junkie

    Size doesn’t matter, right? ;)

    Anyways, adjusting some css should do the trick. set your logo as the background image of the a tag, give it the width and the height of your logo and then move the text out of the screen using text-indent.

    Something like this (put it in custom.css, which you might have to create under _inc/css/):

    #header h1 a {
    background:transparent url(../images/buddypress/bp_logo.gif) no-repeat left top;
    display:block;
    height:42px;
    text-indent:-999em;
    width:180px;
    }

    By the way, a little searching here on the forum would have given you the answer as it’s come up a few times already.

    enjoy!

    Avatar of gahoachma
    gahoachma
    Participant

    @gahoachma

    Didn’t work the way I did it at least. Exactly where is the directory I should put custom.css and logo.gif?

    thanks

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.