- This topic has 12 replies, 3 voices, and was last updated 4 years, 9 months ago by
David.
-
AuthorPosts
-
July 21, 2021 at 8:01 am #1864850
Marius
Hello,
how can i make a shadow around the container? Also around the container under the content container.July 21, 2021 at 9:29 am #1864985David
StaffCustomer SupportHi there,
try this CSS:
.separate-containers .inside-article, .paging-navigation { box-shadow: 0 3px 15px 2px rgba(0,0,0,0.3); }And this site is handy for generating the box-shadow property:
July 21, 2021 at 9:43 am #1865014Marius
Thanks David,
Can you tell me the shadow code from Marketer Site? I have tried to find that in the source code from the demo site, but can not find it.
July 21, 2021 at 9:45 am #1865023David
StaffCustomer SupportThis is the code Marketer uses:
.inside-article, .sidebar .widget, .comments-area { border-right: 2px solid rgba(0,0,0,.07); border-bottom: 2px solid rgba(0,0,0,.07); box-shadow: 0 0 10px rgba(232,234,237,.5); }So if i got the correct selctors in my CSS then you would do:
.separate-containers .inside-article, .paging-navigation, .page-header { border-right: 2px solid rgba(0,0,0,.07); border-bottom: 2px solid rgba(0,0,0,.07); box-shadow: 0 0 10px rgba(232,234,237,.5); }July 21, 2021 at 10:03 am #1865051Marius
Perfect, thanks a lot!
July 21, 2021 at 12:26 pm #1865217Marius
Now I have see, that the category Heading is also in such a Box, but this has no shadow. Can we give this a shadow too?
July 21, 2021 at 2:19 pm #1865335David
StaffCustomer SupportI updated the CSS above to include the
.page-headerclassJuly 22, 2021 at 12:49 am #1865831Marius
Perfect, thanks!
July 22, 2021 at 2:46 am #1865997David
StaffCustomer SupportYou’re welcome
August 1, 2021 at 5:09 am #1879137Philippe
The site you gave for generating a box shadow is great. Though i couldn’t make it working on my website…
Is it on your plans to add a shadow box controler soon ? Could be really handy ! 🙂I tried to add this to my containers Valeurs/Mission/Vision, but i see nothing Happening …
box-shadow: -4px 10px 20px -6px rgba(0,0,0,0.75); -webkit-box-shadow: -4px 10px 20px -6px rgba(0,0,0,0.75); -moz-box-shadow: -4px 10px 20px -6px rgba(0,0,0,0.75);August 1, 2021 at 6:51 am #1879213David
StaffCustomer SupportHi there,
add this CSS to your site:
.has-shadow { box-shadow: -4px 10px 20px -6px rgba(0,0,0,0.75); -webkit-box-shadow: -4px 10px 20px -6px rgba(0,0,0,0.75); -moz-box-shadow: -4px 10px 20px -6px rgba(0,0,0,0.75); }then edit the Grid, select the first column container, and i Advances > Additional CSS Class(es) add:
has-shadow
Then do the same for each of the other columns.August 1, 2021 at 9:23 am #1879567Philippe
Wow ! It works great ! I didn’t catch i had to put in my child theme the CSS. Thanks so much David !!!
August 2, 2021 at 2:41 am #1880258David
StaffCustomer SupportGlad to be of help
-
AuthorPosts
- You must be logged in to reply to this topic.