How do I add a button on top an image? I need to do this for 3 separate images in a section with 3 columns.
I can’t figure out how to do this in cornerstone. It should look like the attached photo.
How do I add a button on top an image? I need to do this for 3 separate images in a section with 3 columns.
I can’t figure out how to do this in cornerstone. It should look like the attached photo.
Hello There,
Thanks for writing in!
To achieve what you have in mind, you will need to do this:
my-fix-button
class.x-btn.my-fix-button {
position: absolute;
top: 35%;
left: 50%;
margin-left: -100px;
}
where in the -100px
is the negative value of the half width of your button assuming your button width is 200px. You will need a negative left margin value so that the button will always stays at the center.
Hope this helps. Please let us know if this works out for you.
This worked! Thank you!