Hi,
Where can I find the Style Boxes' documentation and the code to use on my site?
3 replies · opened Feb 10, 2021
Hi,
Where can I find the Style Boxes' documentation and the code to use on my site?
Hello,
The Style Boxes are provided only as Demos and since there are no special settings or options required to configure this and just HTML Codes, you can simply Copy the Codes from the style-boxes.html Template and paste them on your Website. The HTML Codes are self-explanatory and easy to use.
For the Bootstrap Alert Boxes, you can use this Documentation: https://getbootstrap.com/docs/4.5/components/alerts/ .
Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.
Hi
Is there any way I could trigger them?
Hello,
You can consider using jQuery but this is not included out of the Box and you will need to add this manually using Customizations. Example:
[ch_pre]<script>
jQuery(document).ready( function(){
jQuery('#style-box-trigger').on( 'click', function(){
jQuery('.style-msg').slideToggle( 300 );
return false;
});
});
</script>[/ch_pre]
with this Button:
[ch_pre]<button id="style-box-trigger" class="btn btn-secondary">Open Style Box</button>[/ch_pre]
You can apply these on JS Callbacks or other events on the Page.
Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.
Have the same question, or something new?
Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.
Reply on the dashboard