I need to make this into a clickable HTML button/link

I want to make a HTML button like this (attached) - with the ability to change the text within the html. The entire image has to be clickable.

The text needs to be centered as shown in the example attached image.

I've tried making a html button with the image as the background, but the problem is that SharePoint strips out a piece of that code when I upload to that platform.

Thanks a million.

Exampleofcentertext.jpg
concern_supportAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Paul MacDonaldDirector, Information SystemsCommented:
"...SharePoint strips out a piece of that code when I upload to that platform."
What piece?
Patrick CronerCommented:
this video may help. Best of luck!

https://www.youtube.com/watch?v=dx-unTiyxEY
sajayj2009Commented:
.button a {
  display:inline-block
  width:281px;
  height:210px;
  vertical-align:middle;
  text-align:center;
  font-family:'Rockwell';
  font-size:26px;
  /*Add bg image url below without text in it */
  background: url(pathtoimage.png or jpg) center center no-repeat;
}

Open in new window


Hope it will work... You need to call Rockwell font from google fonts.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Walter CurtisSharePoint AEDCommented:
If you would like to use an OOB method, try a promoted link list. Even for one item, this would do what you want. Might be overkill in this situation, so just give it a try and see if it helps out.

Just an idea!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.