# How to change CTA button color on mobile view

**URL:** <https://community.elfsight.com/t/how-to-change-cta-button-color-on-mobile-view/64238>\
**Category:** Platform Tips\
**Tags:** squarespace\
**Created:** [August 3, 2024, 8:15am UTC](https://community.elfsight.com/t/how-to-change-cta-button-color-on-mobile-view/64238 "2024-08-03T08:15:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tuanphan](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/tuanphan/32/3165_2.png) [@tuanphan](https://community.elfsight.com/u/tuanphan)\
**Post date:** [August 3, 2024, 8:15am UTC](https://community.elfsight.com/t/how-to-change-cta-button-color-on-mobile-view/64238/1 "2024-08-03T08:15:14Z")

</div>

To change CTA button color on Mobile view, you can use this code to Custom CSS box

```auto
div.header-menu-nav div.header-menu-cta a.btn {
    color: #f1f !important;
    background-color: #000 !important;
}

```

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/d/0/d0951046a8e50f20630f1d7d6ab2dde1637af101.jpeg)

Result

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/8/b/8ba5bbf410ea6933143397aacaa6db65015b8e62.png)
