CMS Development

FORCINGMETO
Member

How do I create a button that is not a CTA?

I just want to enter a button on a page, not a CTA. Why is it so hard to insert a button? 

3 Replies 3
DBellamy
Contributor

How do I create a button that is not a CTA?

I use this code in my CSS.  It turns every regular link in the hero section into a button.

 

.hero a {
  display: inline-block;
  line-height: 40px;
  border: 2px solid #fff;
  color: #fff;
  margin: 10px 5px;
  padding: 5px 5px;
  font-weight: 500;
  width: 200px;
}

.hero a:hover {
background: #c3582e;
}
0 Upvotes
dennisedson
HubSpot Product Team
HubSpot Product Team

How do I create a button that is not a CTA?

@FORCINGMETO, i would recommend creating a custom module for it.  that way the code will not change from page to page 

0 Upvotes
YuktaNigam
Contributor

How do I create a button that is not a CTA?

Hi,

 

On your design manager add "Rich Text" module to the page you are building. Then in  "Rich Text Content" field write the text that you want on your button. Select the text and add properties(color, padding, text-size, etc.) from the style bar above. You can add link to your buttom using "Insert Link" from there.

 

Thanks!