Tagged: x
-
AuthorPosts
-
September 28, 2016 at 2:42 am #1193524
Stanley TanParticipantHi, I’m trying to add a box-shadow to each post in the tags page.
Here’s an example url: http://www.selbys.net/tag/trade-shows/I tried adding custom css to .entry-wrap but there are other elements using it too. Any ideas?
The goal here is to add a box-shadow for the description area only (.entry-wrap) or the whole box (.entry-wrap + the featured image).
September 28, 2016 at 3:53 am #1193577
Paul RModeratorHi,
Thanks for writing in!
You can add this under Custom > Edit Global CSS in the Customizer.
.archive.tag .x-iso-container>.hentry .entry-wrap { box-shadow: 0 0.15em 0.35em 0 rgba(0,0,0,0.135); }Hope that helps
September 28, 2016 at 8:23 pm #1194959
Stanley TanParticipantHey Paul, thanks for that but it didn’t work on my end: http://www.selbys.net/category/blog/
Can you check it on your side?
September 28, 2016 at 11:09 pm #1195132
LelyModeratorHello Stanley,
Provided CSS is working on tags page as initially requested. See this:http://screencast-o-matic.com/watch/cDQUf1jZPv
But then this page: http://www.selbys.net/category/blog/ is an archive page.
If you want that code to work on category page too, please update to this instead:.archive .x-iso-container>.hentry .entry-wrap { box-shadow: 0 0.15em 0.35em 0 rgba(0,0,0,0.135); }Hope this helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1193524 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
