HOW TO add shadow in a block

Hi, I want to have a border around a custom block. How I should do it ?


I see two options,
adding the html tags and hardcoded style on those at the Custom block content level (Using Full HTML format)
Or via theming.

Hello Joel,

There is already a class in the theme that adds borders to a block.

You can check in under " Blocks with Shadowed borders" at the bottom of the page.

In quick steps:

  1. Install that permits you to add classes to a block
  2. Add the class “shadow-block” as css class of the block

Let me know if that works for you


1 Like

THANKS. This is exactly what I wanted.