I have this code to show this date
<script language="javascript" type="text/javascript">// <![CDATA[
now = new Date
document.write ("Esquenta Black Friday Somente Hoje " + now.getDate() + " do " + now.getMonth() + 1, )
// ]]></script>
I needed it inside a div to use these CSS settings
.promocoes-kit {
background: #fff1dc;
width: 80%;
height: 50%;
margin: auto;
border-radius: 10px;
border: solid 4px white;
box-shadow: 3px 3px #bdbcbc5e;
}
.promocoes-kit{
font-size: initial;
text-align: center;
font-weight: 600;
color: #ea9b2a;
width: fit-content;
padding: 10px 30px;
}
.promocoes-label{
padding: 0;
margin: 0;
text-align: center;
font-size: large;
color: #ea9b2a;
font-weight: 600;
}
Does anyone know how to do this? I'll use it on a LADING PAGE as a banner in Magento