How do I add a contact us button to RTF page?

Solved
Olaf2
New Member
12 0 0

Hello,

 

I'd like to add a 'contact us' button to a RTF page that I am building and would like to button to look in line with the rest of buy buttons in our store.

I have tried to create the button in an online button generator, but when I copy the code it doesn't work (see screenshot).

What do I need to do?

Thank you.

Naamloos2.jpg

Accepted Solution (1)
BSS-Commerce
Shopify Expert
2853 383 407

This is an accepted solution.

You may have not placed the attributes used to style your button within the style tag.

Here is an example of valid code:

 

<div class="myButton">
 <a href="./contact" class="button">Contact us</a>
</div>


<style>
.myButton{
display:flex;
align-items:center;
justify-content:center
}
</style>

 

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.

For B2B solutions and custom pricing, check out B2B Solution & Custom Pricing |
For adding product labels/badges, visit Product Labels by BSS

BSS Commerce - Shopify Apps & Store Development Service Provider

Hire a Shopify expert | Shopify Plus Store Development

View solution in original post

Replies 3 (3)
BSS-Commerce
Shopify Expert
2853 383 407

Hi @Olaf2 
Can you kindly share your store link (with the password, if any) with us? We will check it and suggest you a solution if possible.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.

For B2B solutions and custom pricing, check out B2B Solution & Custom Pricing |
For adding product labels/badges, visit Product Labels by BSS

BSS Commerce - Shopify Apps & Store Development Service Provider

Hire a Shopify expert | Shopify Plus Store Development

Olaf2
New Member
12 0 0
BSS-Commerce
Shopify Expert
2853 383 407

This is an accepted solution.

You may have not placed the attributes used to style your button within the style tag.

Here is an example of valid code:

 

<div class="myButton">
 <a href="./contact" class="button">Contact us</a>
</div>


<style>
.myButton{
display:flex;
align-items:center;
justify-content:center
}
</style>

 

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.

For B2B solutions and custom pricing, check out B2B Solution & Custom Pricing |
For adding product labels/badges, visit Product Labels by BSS

BSS Commerce - Shopify Apps & Store Development Service Provider

Hire a Shopify expert | Shopify Plus Store Development