How to add Button Label to Custom Content (Text) on DEBUT THEME

MiltonM
Excursionist
24 1 4

Hello,

How do I add a Button Label to Custom Content below Text  - I dont want to use image and text option cause I like how the Custom Content looks on mobile (photo and text condensed).

Screen Shot 2021-03-01 at 4.07.57 pm.png

Replies 8 (8)

renus
Shopify Partner
191 16 30

If you can add static html than place below code directly

<a href="#" class="btn"> Click here </a>

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on renusharma7@gmail.com regarding any help
Shopify Expert | Skype : renusharma99
MiltonM
Excursionist
24 1 4

Hello, 

 

Thanks for the reply, it doesn't seem to work - I cant add any HTML codes under the text. Is there another way?

renus
Shopify Partner
191 16 30

You can create button label and link under section and call is dynamically by suing

 

<a href="{{ section.settings.button_link }}">
{{ section.settings.button_label | escape }}
</a>

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on renusharma7@gmail.com regarding any help
Shopify Expert | Skype : renusharma99
renus
Shopify Partner
191 16 30

If you want i can setup this add me on skype i will guide you

my skype address :renusharma99

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on renusharma7@gmail.com regarding any help
Shopify Expert | Skype : renusharma99
MiltonM
Excursionist
24 1 4

It doesn't work! I want it to be under the text. 


renus
Shopify Partner
191 16 30

You can convert text to textarea in this way you can easily add HTML

Example:

from this

{
"type": "text",
"id": "title",

To

{
"type": "textarea",

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on renusharma7@gmail.com regarding any help
Shopify Expert | Skype : renusharma99
MiltonM
Excursionist
24 1 4

Sorry, I dont understand what youre trying to say.

 

What I want to do is have a button label under the Custom Content  (Text) on the DEBUT Theme - there is no option for that.

renus
Shopify Partner
191 16 30

There is no option by default You have to create option

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on renusharma7@gmail.com regarding any help
Shopify Expert | Skype : renusharma99