# Create a button with no text, Just Icon?

**URL:** <https://community.hubspot.com/t/create-a-button-with-no-text-just-icon/72411>\
**Category:** APIs & Integrations\
**Tags:** forms\
**Created:** [January 7, 2023, 7:44pm UTC](https://community.hubspot.com/t/create-a-button-with-no-text-just-icon/72411 "2023-01-07T19:44:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SZadik](https://avatars.discourse-cdn.com/v4/letter/s/c67d28/32.png) [@SZadik](https://community.hubspot.com/u/SZadik)\
**Post date:** [January 7, 2023, 7:44pm UTC](https://community.hubspot.com/t/create-a-button-with-no-text-just-icon/72411/1 "2023-01-07T19:44:33Z")

</div>

Hello,  
I’m trying to achieve this design for my HubSpot embedded form:

 ![Screen Shot 2023-01-07 at 21.39.32.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/d/0/d0176af1cdce14ad0d509cef56b52be34fdce2d6.png)

So I need to remove the text in the button and place an icon instead. I found a way to add the icon as a background image but I must set a text in HubSpot settings.  
**Is there a way to remove the text with some code?**

This is the HTML code of the embedded button code:

\<input type=“submit” class=“hs-button primary large” value=“submit”\>  
thanks!

---

<div class="post-metadata">

**Author:** ![Syeda\_Fatima](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/syeda_fatima/32/36951_2.png) [@Syeda\_Fatima](https://community.hubspot.com/u/Syeda_Fatima)\
**Post date:** [January 9, 2023, 7:41am UTC](https://community.hubspot.com/t/create-a-button-with-no-text-just-icon/72411/2 "2023-01-09T07:41:57Z")

</div>

Hi @SZadik, Yes, you can remove the text from the Submit button using some custom CSS. Use the following CSS code to do so:

input[type=“submit”] {  
background-image: url(\<your icon URL\>);  
background-repeat: no-repeat;  
background-size: contain;  
width: \<your icon width\>px;  
height: \<your icon height\>px;  
border: none;  
text-indent: -9999px;  
}

This will remove the text from the Submit button and replace it with your icon.
