Skip to:
Content
Pages
Categories
Search
Top
Bottom

Different logo image for some categories

Viewing 3 replies - 1 through 3 (of 3 total)
  • Profile photo of Hugo Ashmore
    Hugo Ashmore
    Moderator

    @hnla

    Is this really not a question more suited to the WP forum?

    Profile photo of lkrywko
    lkrywko
    Member

    @lkrywko

    My bad. Didn’t mentioned that I use BuddyPress Default 1.2.7 theme. And I want, that logo change, in that theme. Is this right place for my question?

    Profile photo of lkrywko
    lkrywko
    Member

    @lkrywko

    Ok, Ive figured it out. First I’ve disabled logo upload in default bp theme by putting that code in functions.php child theme:

    `function my_remove_bp_actions() {
    remove_action( ‘init’, ‘bp_dtheme_add_custom_header_support’ );
    }
    add_action( ‘init’, ‘my_remove_bp_actions’, 9 );`

    and that in css:

    `#header {background:url(fani_to.png) no-repeat;}`

    Then I simply used code from my first post and I’ve added to the css:

    `body.category_1009 #header {
    background: url(fani_to2.png) no-repeat;
    }`

    It works great, thanks for your help :P

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Different logo image for some categories’ is closed to new replies.
Skip to toolbar