Forums

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

  1. ThePick
    Member
    Posted 9 months 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
    Theme Wrangler
    Posted 9 months 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 9 months ago #

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

  4. ThePick
    Member
    Posted 3 weeks 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?

Reply

You must log in to post.

About this Topic