WordPress.org

Support

Support » Themes and Templates » P2 » [Resolved] [Theme: P2] How to remove drop shadow around header image?

[Resolved] [Theme: P2] How to remove drop shadow around header image?

  • 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/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Lance Willett

    @lancewillett

    Themer

    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.

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

    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?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] [Theme: P2] How to remove drop shadow around header image?’ is closed to new replies.
Skip to toolbar