- This topic has 2 replies, 2 voices, and was last updated 9 years ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.


Home › Forums › Pro Themes › Photo Perfect Pro › Border/ Drop Shadow around panels
I would like to add a border and/ or drop shadow around the sidebar and main content panel. Can I have some CSS to accomplish this?
Hello,
To add a shadow around the main content area and the sidebars of your website please paste in the following custom CSS code to your Admin Dashboard > Appearance > Customize > Theme Options > Advanced Options > Custom CSS field :
/* Shadow For Primary Sidebar */
#sidebar-primary .area-wrapper {
box-shadow: 0 0 48px #000;
}
/* Shadow For Secondary Sidebar */
#sidebar-secondary .area-wrapper {
box-shadow: 0 0 48px #000;
}
/* For Main Content Area */
main#main {
box-shadow: 0 0 48px #000;
}
You can customize the CSS code to increase / decrease the amount of shadow (px) and also change the shadow color to the hex color code of your desired color.
Hope this Helps,
Best Regards !!
awesome. thank you!
| Cookie | Duration | Description |
|---|---|---|
| cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
| cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
| cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
| cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
| cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
| viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |



