Skip to:
Content
Pages
Categories
Search
Top
Bottom

How can I make the header image clickable with the BP default theme?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Profile photo of r-a-y
    r-a-y
    Moderator

    @r-a-y

    I see two options:

    1) Use jQuery to dynamically make the `#header` clickable. If you’re using the bp-default theme, you’d have to take additional steps to omit other elements like the tab navigation and search bar from being clicked.

    2) Unhook the background-image that is added dynamically via inline CSS, rewrite your header.php template and add the header image manually with `` and then wrap an `` tag around that image so your header is clickable.

    I’d probably go with option 1.

    Profile photo of gregfielding
    gregfielding
    Participant

    @gregfielding

    Thanks r-a-y.

    One of them things that should be easy… are there ANY websites where the logo/header doesn’t click to home (or somewhere at least).

    @gregfielding I am sure there are sites that do not have a clickable logo but that is usually an amateur mistake, logos should always link back to home. Maybe I am wrong but if my memory serves me correct if your using the default theme then it should already be clickable and direct to home. At least my logos are clickable I just can’t remember if a had to add custom code to make it happen. Good luck!

    Profile photo of gregfielding
    gregfielding
    Participant

    @gregfielding

    @shawn38

    The text is clickable, if you use that option. But if you upload a header image and disable the text, the image is not clickable.

    Seems like an oversight perhaps…

    @gregfielding if your using a child theme then wrap the code in the header that pulls the header image. Just make sure you do it dynamically using the proper tags.

    Profile photo of bermudacloud
    bermudacloud
    Participant

    @bermudacloud

    1 Year 5 Months later I see that this isn’t automatic with the BP default theme-

    I don’t believe that I’m missing something.

    Please can you guys at buddypress.org make this happen?

    Thank you

    Mark M.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How can I make the header image clickable with the BP default theme?’ is closed to new replies.