This topic has 7 replies, 2 voices, and was last updated 9 years by Laura.

  • Author
  • #146348
     andrewseptember
    Participant

    Hi!

    I’m using Kleo theme, and I’d like to change the way the cover image appears in buddypress profile page.

    In buddypress profile page, before the cover photo is loaded I see a gray gradient background first for a short time, and then the cover image shows up. How can I change the gray gradient to something elseย ? Could you help me with that please?

    #146391
     Laura
    Moderator

    Hello, something like what? ๐Ÿ™‚

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #146410
     andrewseptember
    Participant

    Hi! Well, I’d like to change it to blue. Shall I use Theme options/styling options, which settings? Or will I have to redefine some settings in body.is-user-profile .profile-cover-inner that I found in several files, for instance, in
    wp-content\themes\kleo\assets\css\combined.css wp-content\themes\kleo\assets\css\combined-and-fonts.css
    wp-content\themes\kleo\assets\css\plugins.css wp-content\themes\kleo\assets\css\plugins\bp-cover-photo.css
    wp-content\themes\kleo\assets\css\plugins\bp-cover-photo.less
    I am a new to Kleo and to web design too, so these kind of things are not clear to me right away ๐Ÿ™‚

    #146524
     Laura
    Moderator

    Hello, if the styling section of theme options is not enough just tell me which changes you need and i will give you the code ๐Ÿ™‚

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #146539
     andrewseptember
    Participant

    I need to change the color of the grey gradient background which appears just before the buddypress cover image is loaded to blue #3f51b5. I attached a screenshot with the grey gradient that I want to change. Thank you in advance! ๐Ÿ™‚

    #146721
     Laura
    Moderator

    Hello, this is the css you need, change the color as you prefer ๐Ÿ™‚

    COPY CODE
    
    body.is-user-profile .profile-cover-inner {
        background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.45) 100%) !important;
        background: -webkit-gradient(linear, left top, left bottom, color-stop(35%, rgba(0, 0, 0, 0)), color-stop(100%, rgba(0, 0, 0, 0.45)))!important;
        background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.45) 100%) !important;
        background: -o-linear-gradient(top, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.45) 100%) !important;
        background: -ms-linear-gradient(top, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.45) 100%)!important;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 35%, rgba(20, 195, 234, 0.45) 100%) !important;
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#a6000000', GradientType=0) !important;
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #146829
     andrewseptember
    Participant

    Thank you, Laura!

    #146986
     Laura
    Moderator

    Glad to help ๐Ÿ™‚

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 8 posts - 1 through 8 (of 8 total)

The forum ‘Plugins questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?