0
I have this code to show the 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>
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;
}
Can anyone tell me how to do it? I will use it on a LADING PAGE as a banner on Magento
Man Thank you so much for the explanation, perfect.
– JVEUZEBIO