# Theme CTA Box Module Edit

**URL:** <https://community.hubspot.com/t/theme-cta-box-module-edit/74705>\
**Category:** CMS Development\
**Created:** [February 8, 2023, 9:56am UTC](https://community.hubspot.com/t/theme-cta-box-module-edit/74705 "2023-02-08T09:56:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![HBarden](https://avatars.discourse-cdn.com/v4/letter/h/278dde/32.png) [@HBarden](https://community.hubspot.com/u/HBarden)\
**Post date:** [February 8, 2023, 9:56am UTC](https://community.hubspot.com/t/theme-cta-box-module-edit/74705/1 "2023-02-08T09:56:21Z")

</div>

Hi,

I was wondering if someone can help me slightly edit a module. I would like for this CTA box module to have the text on top and CTA button below as it is squashed together in the current format. I’m not sure how I change this within the coding. Can anyone help?

 ![MicrosoftTeams-image.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/5/557f4a605ebc46593f091808464fa270b49b40b1.png)

---

<div class="post-metadata">

**Author:** ![Anton](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/anton/32/103167_2.png) [@Anton](https://community.hubspot.com/u/Anton)\
**Post date:** [February 8, 2023, 10:32am UTC](https://community.hubspot.com/t/theme-cta-box-module-edit/74705/2 "2023-02-08T10:32:48Z")

</div>

Hi @HBarden,

could you please provide a link to the page where this module is used or the source code of the module which is located in the design-tools?

Thank you

best,

Anton

---

<div class="post-metadata">

**Author:** ![HBarden](https://avatars.discourse-cdn.com/v4/letter/h/278dde/32.png) [@HBarden](https://community.hubspot.com/u/HBarden)\
**Post date:** [February 8, 2023, 10:38am UTC](https://community.hubspot.com/t/theme-cta-box-module-edit/74705/3 "2023-02-08T10:38:17Z")

</div>

Hi,

Here is the link: [https://ame-3d.co.uk/technologies/stereolithography-sla-3d-printing?hs\_preview=itLQVYPe-101059525430](https://ame-3d.co.uk/technologies/stereolithography-sla-3d-printing?hs_preview=itLQVYPe-101059525430).

Thanks.

---

<div class="post-metadata">

**Author:** ![Anton](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/anton/32/103167_2.png) [@Anton](https://community.hubspot.com/u/Anton)\
**Post date:** [February 8, 2023, 10:46am UTC](https://community.hubspot.com/t/theme-cta-box-module-edit/74705/4 "2023-02-08T10:46:02Z")

</div>

Hi,  
open the module in the design-tools and search for

```lia-code-sample
@media (min-width: 800px){
.cta-box {
 align-items: center;
 display: flex;
 justify-content: space-between;
}

```

and add “flex-direction: column” so the code looks like this:

```lia-code-sample
@media (min-width: 800px){
.cta-box {
 align-items: center;
 display: flex;
 justify-content: space-between;
 flex-direction: column; 
}

```

best,

Anton

---

<div class="post-metadata">

**Author:** ![HBarden](https://avatars.discourse-cdn.com/v4/letter/h/278dde/32.png) [@HBarden](https://community.hubspot.com/u/HBarden)\
**Post date:** [February 8, 2023, 10:57am UTC](https://community.hubspot.com/t/theme-cta-box-module-edit/74705/5 "2023-02-08T10:57:45Z")

</div>

Hi,

Thank you. I cloned the module and did this as I would still like a module where it goes to the side, however it seems to have changed both modules?

---

<div class="post-metadata">

**Author:** ![Anton](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/anton/32/103167_2.png) [@Anton](https://community.hubspot.com/u/Anton)\
**Post date:** [February 8, 2023, 11:09am UTC](https://community.hubspot.com/t/theme-cta-box-module-edit/74705/6 "2023-02-08T11:09:04Z")

</div>

Yes, because they both use the same class and therefore it will affect both modules.

If you want to seperate them you have to modify the code like this

HTML+Hubl:

search for

```lia-code-sample
<div id={{name}} class="lazy module-wrapper text--center cta-box">
...
</div>

```

and modify it like this

```lia-code-sample
<div id={{name}} class="lazy module-wrapper text--center cta-box vertical">
...
</div>

```

in module.css area search for the part you’ve already modified and change it like this

```lia-code-sample
@media (min-width: 800px){
.cta-box.vertical {
 align-items: center;
 display: flex;
 justify-content: space-between;
 flex-direction: column; 
}

```

best,

Anton
