# Chapter 7 Button Text Shadow

**URL:** <https://forums.kodeco.com/t/chapter-7-button-text-shadow/104921>\
**Category:** iOS Apprentice\
**Created:** [April 11, 2020, 12:18pm UTC](https://forums.kodeco.com/t/chapter-7-button-text-shadow/104921 "2020-04-11T12:18:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kimbern](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/kimbern/32/81494_2.png) [@kimbern](https://forums.kodeco.com/u/kimbern)\
**Post date:** [April 11, 2020, 12:18pm UTC](https://forums.kodeco.com/t/chapter-7-button-text-shadow/104921/1 "2020-04-11T12:18:51Z")

</div>

I don’t understand why there is shadow present on the text for the ‘Start Over’ and ‘Info’ buttons, when from what I can see in the code the shadow should only apply to the background. Image in the book does not show a shadow on the text itself. Can anyone help?

![Screenshot 2020-04-11 at 13.17.25](https://files.chunter.kodeco.com/original/3X/1/7/17acba44a5133bd8a70ae38a6ebdf52a8466995c.png)

![Screenshot 2020-04-11 at 13.18.12](https://files.chunter.kodeco.com/original/3X/4/b/4b09f145310821b5d05c4950a4df03ab2c490c00.png)

![Screenshot 2020-04-11 at 13.19.32](https://files.chunter.kodeco.com/original/3X/1/b/1b26904ecd56e3f6ea8816b128e6d31d26fe1604.png)

---

<div class="post-metadata">

**Author:** ![kimbern](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/kimbern/32/81494_2.png) [@kimbern](https://forums.kodeco.com/u/kimbern)\
**Post date:** [April 11, 2020, 12:44pm UTC](https://forums.kodeco.com/t/chapter-7-button-text-shadow/104921/2 "2020-04-11T12:44:40Z")

</div>

Fixed it. Final closing bracket was after button background, not the shadow modifier, meaning shadow modifier was applying to all elements of the button

---

<div class="post-metadata">

**Author:** ![shogunkaramazov](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/shogunkaramazov/32/108826_2.png) [@shogunkaramazov](https://forums.kodeco.com/u/shogunkaramazov)\
**Post date:** [July 4, 2020, 2:54am UTC](https://forums.kodeco.com/t/chapter-7-button-text-shadow/104921/3 "2020-07-04T02:54:00Z")

</div>

@kimbern Glad you sorted it out! Cheers! :]

---

<div class="post-metadata">

**Author:** ![system](https://s3.amazonaws.com/cdn.raywenderlich.com/community/forum-assets/noun-game-ghost-878668.png) [@system](https://forums.kodeco.com/u/system)\
**Post date:** [September 25, 2020, 4:21am UTC](https://forums.kodeco.com/t/chapter-7-button-text-shadow/104921/4 "2020-09-25T04:21:43Z")

</div>

Closed on September 25, 2020, 4:21am UTC

This topic was automatically closed after 166 days. New replies are no longer allowed.
