JavaScript to render FitChef widgets.
To use the widget:
<div class="fc-widget1206" data-fc-widget="banner"></div>
<div class="fc-widget1206" data-fc-widget="featured"></div>
The widget code needs to be placed before:
<!-- HERE -->
<div id="page">...</div>
<head> of your website: <!-- Start FitChef widget -->
<script type="text/javascript">
(function(d,s){var e=d.createElement(s);e.type='text/javascript';e.async=true;e.src='https://cabaulifestyle.widget.fitchef.com/scripts/widget.js';e.className='fc-widget1206-script';var f=d.getElementsByTagName(s)[0];f.parentNode.insertBefore(e,f)})(document,'script');
</script>
<!-- End FitChef widget -->
Insert in this exact location
<header class="site-header header--logo_left_links_center header--standard header--is-standard">
::before
<div class="container">...</div>
<div id="CartPopoverCont" class="js-cartToggle header-cartPopover">...</div>
<script id="CartPopover" type="text/x-template">...</script>
<-- Place widget code here -->
<div class="fc-widget1206" data-fc-widget="banner"></div>
</header>
Insert the following HTML inside the content page.
<div style="
padding: 72px 0 100px;
border-top: 1px solid rgba(179, 144, 130, 0.2);
">
<div class="container">
<div class="fc-widget1206" data-fc-widget="featured"></div>
</div>
</div>
To use the customlink:
<style>
.fc-link-main-menu {
font-size: 15px;
font-family: 'Quincycf-bold';
color: rgb(106, 44, 45);
font-family: Nunito, sans-serif;
display: flex;
align-items: center;
text-decoration: none;
}
</style>
<style>
.fc-link-main-menu .fc-link-tag {
display: inline-block;
background: #FFCD68;
font-family: 'Quincycf-bold';
font-weight: 700;
font-size: 13px;
border-radius: 2px;
padding: 2px 5px;
margin-left: 8px;
}
</style>
<a href="https://maaltijdplan.cabaulifestyle.com/aanmelden?code=cabaulifestyle" class="fc-link fc-link-main-menu">
Eetschema's op maat
<span class="fc-link-tag">Nieuw</span>
</a>
If you need support with the implementation please contact us via support@fitchef.nl.
All rights reserved FitChef B.V.