# CSS being applied to multiple sections of the website instead of just one

**URL:** <https://colorlibsupport.com/t/css-being-applied-to-multiple-sections-of-the-website-instead-of-just-one/18579>\
**Category:** Shapely\
**Created:** [October 19, 2017, 10:59am UTC](https://colorlibsupport.com/t/css-being-applied-to-multiple-sections-of-the-website-instead-of-just-one/18579 "2017-10-19T10:59:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![larper](https://colorlibsupport.com/user_avatar/colorlibsupport.com/larper/32/1450_2.png) [@larper](https://colorlibsupport.com/u/larper)\
**Post date:** [October 19, 2017, 10:59am UTC](https://colorlibsupport.com/t/css-being-applied-to-multiple-sections-of-the-website-instead-of-just-one/18579/1 "2017-10-19T10:59:08Z")

</div>

Hi,

My website is www.ohlala.hr

I’m using the following CSS to stroke the text of the [2nd parallax section](https://puu.sh/y1PRE/ebb57891ca.jpg):

```auto
.col-md-8 {
	text-shadow: -1px 0 purple, 0 1px purple, 1px 0 purple, 0 -1px purple;
}

```

However, the [text of the testimonial section](https://puu.sh/y1PSD/ce09477eab.png) is also being stroked because it also belongs to _col-md-8_ identifier.

How do I stroke only the text of the 2nd parallax section but not of the testimonial section?

Thanks,  
Larper

---

<div class="post-metadata">

**Author:** ![mikesupport17](https://colorlibsupport.com/letter_avatar_proxy/v4/letter/m/bc8723/32.png) [@mikesupport17](https://colorlibsupport.com/u/mikesupport17)\
**Post date:** [October 19, 2017, 11:47am UTC](https://colorlibsupport.com/t/css-being-applied-to-multiple-sections-of-the-website-instead-of-just-one/18579/2 "2017-10-19T11:47:56Z")

</div>

Hello there,

I hope you are doing well today.

The selector you are using will affect any other selector with that name so you are going to have to use something like the following:

```auto
div#shapely_home_parallax-10 .col-md-8 {
  text-shadow: -1px 0 purple, 0 1px purple, 1px 0 purple, 0 -1px purple;
}

```

Best Regards,  
Support

---

<div class="post-metadata">

**Author:** ![larper](https://colorlibsupport.com/user_avatar/colorlibsupport.com/larper/32/1450_2.png) [@larper](https://colorlibsupport.com/u/larper)\
**Post date:** [October 19, 2017, 1:01pm UTC](https://colorlibsupport.com/t/css-being-applied-to-multiple-sections-of-the-website-instead-of-just-one/18579/3 "2017-10-19T13:01:55Z")

</div>

Thank you very much!

---

<div class="post-metadata">

**Author:** ![mikesupport17](https://colorlibsupport.com/letter_avatar_proxy/v4/letter/m/bc8723/32.png) [@mikesupport17](https://colorlibsupport.com/u/mikesupport17)\
**Post date:** [October 19, 2017, 1:23pm UTC](https://colorlibsupport.com/t/css-being-applied-to-multiple-sections-of-the-website-instead-of-just-one/18579/4 "2017-10-19T13:23:15Z")

</div>

Hello there,

I am glad the solution worked for you.  
Please feel free to contact us again in the future regarding any other issues.

Best Regards,  
Support
