Archived topic
Get a shadow around the site
8 replies · Started by Pascal on November 18, 2022
Hey,
i bought generatepress yesterday and i'm overwhelmed about all that great features so i'm sure i missed something :)
Id like to get a shadowborder around the page (the whole left and right sided where you see the red arros. So i'd like to get a smoother view from the content to the outside of the page.
https://app.screencast.com/PuQmNq1qpkqZO
Is that possible?
Actuall i don't use generateblocks.
Thanks really alot
Hi there,
Try this method and let me know if it works:
https://docs.generatepress.com/article/adding-a-container-wrapper/
Hey Leo,
unfortunately not.
It looks like the same.
So i created the two Hooks and set the Layout settings like described in your link.
So i rebuild my cache, but it won't work at the moment :/
Any chance you can link us to the page in question?
You can use the private information field:
https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
Please disable your caching plugin.
Let me know :)
I added these information in my last post.
The caching plugin is deactivated now
The boxshadow is there, but your body background color is black, so you can't see the shadow:
https://www.screencast.com/t/pJpueFYt
Oh really ?
I'm so sorry, don't thought about that.
I switched the color now, looks nice :)
Now i try to get the page floating in a full shadow ;)
Thank you very much for the help :)
Try to change your CSS to this and feel free to adjust the margin value:
.site-wrapper {
box-shadow: 6px 8px 55px 8px rgb(0 0 0 / 75%);
margin-bottom: 50px;
margin-top: 50px;
}
Works wonderful, great job, thanks alot :)