Skip to:

Featured post image become header background image

  • alex80ks


    as title say, when i set featured image on the post i get that image also as header background image and when i remove featured image post become as is supposed to be.
    Here is image
    Did anyone has problem same as i?
    WP version 3.9.1
    Buddypress 2.0.1

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)

  • danbp


    What is the name of your theme ?
    Do you use the same name for both picture ?
    Check eventully your theme option.



    @alex80ks @danbp That is default featured image function for the BP Default theme, it shows up in the header area.



    Theme is bp-default child theme.
    I use same image – in post and as featured image.
    Css code
    #header{background:#1fb3dd;background:-moz-linear-gradient(top,rgba(31,179,221,1) 0,rgba(31,179,221,1) 15%,rgba(57,76,121,1) 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,rgba(31,179,221,1)),color-stop(15%,rgba(31,179,221,1)),color-stop(100%,rgba(57,76,121,1)));background:-webkit-linear-gradient(top,rgba(31,179,221,1) 0,rgba(31,179,221,1) 15%,rgba(57,76,121,1) 100%);background:-o-linear-gradient(top,rgba(31,179,221,1) 0,rgba(31,179,221,1) 15%,rgba(57,76,121,1) 100%);background:-ms-linear-gradient(top,rgba(31,179,221,1) 0,rgba(31,179,221,1) 15%,rgba(57,76,121,1) 100%);background:linear-gradient(to bottom,rgba(31,179,221,1) 0,rgba(31,179,221,1) 15%,rgba(57,76,121,1) 100%);background-origin:padding-box;background-size:auto auto;border-bottom-left-radius:6px;border-bottom-right-radius:6px;color:#FFF;height:auto;margin-bottom:20px;padding-top:25px;position:relative;z-index:1100;border-left:1px solid #000;border-right:1px solid #000;border-bottom:1px solid #000;-moz-box-shadow:inset 0 -30px 5px -25px #000,0 5px 6px -4px #000;-webkit-box-shadow:inset 0 -30px 5px -25px #000,0 5px 6px -4px #000;box-shadow:inset 0 -30px 5px -25px #000,0 5px 6px -4px #000;font-family:Ubuntu,sans-serif}#header h1{background-image:url(images/putokaz.png);background-repeat:no-repeat;float:left;height:66px;margin-bottom:0;margin-top:-25px;padding-left:25px;padding-top:25px;text-align:left;width:385px;font-family:Ubuntu,sans-serif}

    Weird thing is – it doesnt affect all articles and they all use same photos in article and featured image.

    i left post as it shown on image to see.
    Maybe i messed up with css but it would be shown on all posts i think.
    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Featured post image become header background image’ is closed to new replies.
Skip to toolbar