Link StylingBrowser Info Environment
So if it's not possible to specify the class using your block is there an alternative where I could hardcode something in an HTML block?
You could try this:
1. Edit the block and select "SPAN" as the formatting style. Then save the block.
2. Click on the block and choose "Design & Custom template". Click on the "Gear icon" and enter the classes in the "Custom class" box. For instance, try entering the following classes: btn btn-default
Hope this helps
Yes I tried that and it created a button spanning the width of the block. What I wanted was a button sized to the width of the text centered in the area where I placed the block. I was able to hack the view.php file as I explain below. It's working now to my satisfaction but I am curious about what is the proper C5 way of implementing my solution. This could be an opportunity to learn more about C5 development.
glad you got it working!
The recommended way would be to copy the hacked view.php file under the following path:
If you edit the original files, the changes will be lost if you ever update the add-on. So the proper way is to override the file by placing a copy under /application.