WordPress.org

Forums

P2
[resolved] How to remove drop shadow around header image? (4 posts)

  1. ThePick
    Member
    Posted 3 years ago #

    I just want to remove the drop shadow around the 980 x 120px header image. I fooled around in the style.css, specifically at:

    #header .sleeve, #wrapper, #footer {
    border: 0;
    -webkit-box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
    }

    I seems I can remove the drop shadow around all parts of the front pageexcept the header image.

    Does anyone have any suggestions?

    http://wordpress.org/extend/themes/p2/

  2. Lance Willett
    Themer
    Posted 3 years ago #

    Look in functions.php for a function called p2_header_style and you'll see the box-shadow rule applied to the "#header" selector there.

  3. ThePick
    Member
    Posted 3 years ago #

    Ah! Yes, that did the trick. Thanks so much, Lance.

  4. ThePick
    Member
    Posted 2 years ago #

    The theme was updated recently, and the dropshadow appeared once more around the header image. I looked in functions.php for p2_header_style and I'm not seeing it now.

    Is there an updated way of removing the dropshadow?

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic