# Shadow box Mountain theme

**URL:** <https://forums.realmacsoftware.com/t/shadow-box-mountain-theme/30505>\
**Category:** RapidWeaver Classic\
**Created:** [January 4, 2020, 1:08pm UTC](https://forums.realmacsoftware.com/t/shadow-box-mountain-theme/30505 "2020-01-04T13:08:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jimbo](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/jimbo/32/1770_2.png) [@Jimbo](https://forums.realmacsoftware.com/u/Jimbo)\
**Post date:** [January 4, 2020, 1:08pm UTC](https://forums.realmacsoftware.com/t/shadow-box-mountain-theme/30505/1 "2020-01-04T13:08:43Z")

</div>

Anyone know if there’s a way to add a light shadow box behind the title and slogan in the Mountain theme? Thank you in advance.

---

<div class="post-metadata">

**Author:** ![willwood](https://avatars.discourse-cdn.com/v4/letter/w/bc8723/32.png) [@willwood](https://forums.realmacsoftware.com/u/willwood)\
**Post date:** [January 4, 2020, 1:40pm UTC](https://forums.realmacsoftware.com/t/shadow-box-mountain-theme/30505/2 "2020-01-04T13:40:13Z")

</div>

You could try some custom CSS code like this to apply a background shade behind the title / slogan in the Mountains theme:

```
.hero-content .container {
     padding: 4vw;
     background-color: rgba(0, 0, 0, 0.7);
     line-height: 1.2;
}

```

Which would result in:

 ![28](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/4/e/4ee1b56109c9cbb243c838fc9293212cb93cd00c.jpeg)

If you wanted a _box-shadow_, effect around the box, then modify the code as follows:

```
.hero-content .container {
     padding: 4vw;
     background-color: rgba(0, 0, 0, 0.7);
     line-height: 1.2;
     -webkit-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
     -moz-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
     box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
}

```

To generate the CSS code for your box shadow, you can use a free tool like this: [Box Shadow CSS Generator | CSSmatic](https://www.cssmatic.com/box-shadow)

---

<div class="post-metadata">

**Author:** ![Jimbo](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/jimbo/32/1770_2.png) [@Jimbo](https://forums.realmacsoftware.com/u/Jimbo)\
**Post date:** [January 5, 2020, 9:10pm UTC](https://forums.realmacsoftware.com/t/shadow-box-mountain-theme/30505/3 "2020-01-05T21:10:31Z")

</div>

Thank you for this, Will. It worked perfectly. I changed the code a bit to lighten the box and it’s terrific. Many thank you’s.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/system/32/25301_2.png) [@system](https://forums.realmacsoftware.com/u/system)\
**Post date:** [February 5, 2020, 7:10am UTC](https://forums.realmacsoftware.com/t/shadow-box-mountain-theme/30505/4 "2020-02-05T07:10:31Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
