WordPress.org

Ready to get started?Download WordPress

Forums

Remove border shadow around body (4 posts)

  1. Raize
    Member
    Posted 4 years ago #

    Hey guys, I was just wondering if anyone knows how to get rid of the shadowy border around the posts in P2. I'm embedding P2 inside another blog, so I'm trying to strip it down to just the core functionality. I'm almost there, just need to know which CSS code I should remove/change.

  2. Raize
    Member
    Posted 4 years ago #

    Figured it out!

    Open style.css, scroll down to #header .sleeve and delete the following bit:

    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
    	-webkit-box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
    	-moz-box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);

    In case anyone else is trying to do this, I deleted the header, footer and sidebar, and then used an iframe to embed it in a page on my main blog. I then integrated the membership data of the two blogs so that my members don't have to register again to post on P2. I'm basically using it in the place of a forum for my members.

  3. Raize
    Member
    Posted 4 years ago #

    Ok another question...there seems to be some padding remaining around the main post box and content area of P2 (approx 10px)...any idea which CSS element I should be looking for to remove this?

  4. Raize
    Member
    Posted 4 years ago #

    So I created a new page template and adjusted it so that the left margin for the content is less than the other pages, which seems to have done the trick even though I'm sure it's not the best way to do it since now technically the P2 "border" is invisibly overlapping with my left navigation panel. Anyways, it looks fine :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags