BuddyDev

Search

[Resolved] BP Custom Background for User Profile – not working when site has background set

  • Keymaster
    (BuddyDev Team)
    Posts: 24636
    Brajesh Singh on #5122

    Hi Leigh,
    The plugin is theme dependent for css selector.

    For your current theme, Please put this in bp-custom.php

    
    function bpgclite_custom_selector( $selector ) {
    	return 'body.is-single-group .site';
    }
    add_filter( 'bpgclite-css-selectors', 'bpgclite_custom_selector');
    

    That will work. In future I will be thinking of giving site admin otpions to enter their selectors instead of writing code.

    Please let me know if it work or not?

    Thank you
    Brajesh

  • Participant
    Level: Initiated
    Posts: 17
    Leigh on #5125

    Brilliant! Working perfectly.

    Many thanks for your time Brajesh!

    cheers, Leigh

  • Keymaster
    (BuddyDev Team)
    Posts: 24636
    Brajesh Singh on #5129

    Thank you Leigh.

    Regards
    Brajesh

The topic ‘ [Resolved] BP Custom Background for User Profile – not working when site has background set’ is closed to new replies.

This topic is: resolved