Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Collapse header div when no custom image uploaded

  • @myladeybugg

    Participant

    I am running multisite with buddypress and would like to collapse the header div if no header image has been uploaded.

    Is there some kind of function or variable I could use to so this? Something like “if no customer header then collapse”?

Viewing 2 replies - 1 through 2 (of 2 total)
  • @myladeybugg

    Participant

    Is there something I could do with BP_DTHEME_CUSTOM_HEADER?

    @myladeybugg

    Participant

    Ok, I figured it out and thought I would share in case anyone else ever needs it.

    What I did was replace:
    http://pastebin.com/43MkvtHF

    with:
    http://pastebin.com/jXVVqE6W

    I also removed the padder div. This will not display the blog title. You will have to add it in.

    Hope this helps!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Collapse header div when no custom image uploaded’ is closed to new replies.
Skip to toolbar