Miva Merchant Development by Scot's Scripts

JQUERY: Add CSS Class to Body Tag

Miva Knowledge Base
JQUERY: Add CSS Class to Body Tag
Important Notice: This information is for internal reference only. Use at your own risk.
Does Google actually understand your Miva Merchant store? Our JSON-LD schema generator makes sure it does. Contact us to get started. (more info)

JQUERY: Add CSS Class to Body Tag

Scot Ranney • December 22, 2023


<mvt:comment>
#
# single-column may be Levels, but the idea is the same for all
#
</mvt:comment>

<script>
	$(document.body).addClass('single-column');
</script>

Also used for the tinted background for modals and other things.


https://www.scotsscripts.com/mvblog/jquery-add-css-class-to-body-tag.html

mvkb_css mvkb_jquery