# Creating Dropdown Button CTA

**URL:** <https://community.hubspot.com/t/creating-dropdown-button-cta/100579>\
**Category:** CMS Development\
**Tags:** css\
**Created:** [February 20, 2024, 5:55pm UTC](https://community.hubspot.com/t/creating-dropdown-button-cta/100579 "2024-02-20T17:55:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alecdela](https://avatars.discourse-cdn.com/v4/letter/a/b5a626/32.png) [@Alecdela](https://community.hubspot.com/u/Alecdela)\
**Post date:** [February 20, 2024, 5:55pm UTC](https://community.hubspot.com/t/creating-dropdown-button-cta/100579/1 "2024-02-20T17:55:45Z")

</div>

Hey There - I want to create a button-style CTA in HubSpot that opens a dropdown menu when clicked, allowing users to select from several files in the dropdown.  
All help is appreciated!

---

<div class="post-metadata">

**Author:** ![DianaGomez](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dianagomez/32/48035_2.png) [@DianaGomez](https://community.hubspot.com/u/DianaGomez)\
**Post date:** [February 23, 2024, 11:38am UTC](https://community.hubspot.com/t/creating-dropdown-button-cta/100579/2 "2024-02-23T11:38:04Z")

</div>

Hi @Alecdela,

Thanks for reaching out to the Community!

I was researching this information in our developer articles and came across one that could be helpful to start with this topic: [Module and theme fields]([https://Module](https://Module) and theme fields) Additionally, I’d like to involve our experts in the discussion.

Hello @Anton, @Bryantworks, @ChrisoKlepke - Do you have any insights or suggestions for @Alecdela?

The time and expertise you contribute are truly valued!

Thanks,

Diana

---

<div class="post-metadata">

**Author:** ![elsultanbitcoin](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/elsultanbitcoin/32/83778_2.png) [@elsultanbitcoin](https://community.hubspot.com/u/elsultanbitcoin)\
**Post date:** [May 12, 2024, 4:23pm UTC](https://community.hubspot.com/t/creating-dropdown-button-cta/100579/3 "2024-05-12T16:23:06Z")

</div>

Hi Diana, could you kindly reshare the links you suggested above to build a dropdown CTA? We’re looking to put a download Button in a HubSpot landing page Marketplace Theme.

For our use case, people need to select their OS in a dropwdown CTA before they download the file.

Thanks!

Alessandro Cecere

Marketing Manager

Luxor Technology Corporation

---

<div class="post-metadata">

**Author:** ![DianaGomez](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dianagomez/32/48035_2.png) [@DianaGomez](https://community.hubspot.com/u/DianaGomez)\
**Post date:** [February 8, 2025, 4:29pm UTC](https://community.hubspot.com/t/creating-dropdown-button-cta/100579/4 "2025-02-08T16:29:20Z")

</div>

Hi @acecere,

Happy to help! Here is the link I suggested for building a dropdown CTA: [Module and theme fields](https://developers.hubspot.com/docs/reference/cms/fields/module-theme-fields)

Best,

Diana

---

<div class="post-metadata">

**Author:** ![kv4ng](https://avatars.discourse-cdn.com/v4/letter/k/eb8c5e/32.png) [@kv4ng](https://community.hubspot.com/u/kv4ng)\
**Post date:** [June 26, 2024, 6:05am UTC](https://community.hubspot.com/t/creating-dropdown-button-cta/100579/5 "2024-06-26T06:05:58Z")

</div>

Hello there - has anyone managed to crack this? I am also looking for this functionality. Thanks!

---

<div class="post-metadata">

**Author:** ![GRajput](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/grajput/32/102020_2.png) [@GRajput](https://community.hubspot.com/u/GRajput)\
**Post date:** [September 28, 2026, 8:46am UTC](https://community.hubspot.com/t/creating-dropdown-button-cta/100579/6 "2026-09-28T08:46:30Z")

</div>

Hi @Alecdela

You can achieve this with a custom HubSpot CMS module.

A simple approach is to use a **CTA field** for the main button and a **Link field** for each dropdown item. You can add the file links through a repeater/group field, and then use a small amount of JavaScript to open/close the dropdown when the CTA is clicked.

The **Link field** works well for individual file links, so you don’t need to create a separate custom file field.

Here are the relevant HubSpot docs:

- **[CTA field](https://developers.hubspot.com/docs/cms/reference/fields/module-theme-fields#cta)**

- **[Link field](https://developers.hubspot.com/docs/cms/reference/fields/module-theme-fields#link)**

This would allow the content editor to manage the CTA and file links directly from the HubSpot module editor.

I hope this helps you out. Please mark it as **Solution Accepted and Like** to help another Community member.  
This post was created with the assistance of AI tools

Thanks!
