CSS Code does not work

Hi,

I inserted the mentioned CSS code in Snippets and got an error message. I also tried it in the CSS Customize section and there was also an error.

This was the code from the topic:
Button Text

How can I change the website hyperlink into a button?

Best regards,
Sabine

Continuing the discussion from Display URL attribute as a button:

Hi,

Please check this doc on how to add snippets: How to add custom code snippets - HivePress Help Center

Please also provide us with more details:
What error do you get?
What code are you trying to add?

Let us know.

Hi,

thanks for your reply.

I added the snippet as “continuing the discussion” below my question.
The snippet is
Button Text

I added the code in plugin Snippets.

Please find error attached.

Hi,

Unfortunately, it won’t work that way because you are not adding PHP code but HTML code. You can add a button using the attributes; please check this doc as a sample How to add a WhatsApp button - HivePress Help Center

Hi,
I thank you so much! It did work and my customers are happy.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.