Hallo. Ich bin neu hier und hoffe, dass ihr mir weiterhelfen könnt. Ich arbeite mit Wordpress aktuelle Version und zwar auf dieser Website.
https://annabanana-hostel.de
ich möchte nun den from Kasten im folgenden Border dargestellt haben #c1272d die Schrift im Kasten ebenso in dieser Farbe.
Hierzu der folgende Code:
<div class="RoomRaccoon-BookingEngine">
<center>
from: <input id="startDate-de" name="dateStart" type="date" value=""style= "border:c1272d">
<span style="margin-left:8px;"></span>
til: <input id="endDate-de" name="dateEnd" type="date" value=""><script>
var date = new Date();
var formatFixMonth, formatFixDay;
if( date.getMonth() < 9 ){ formatFixMonth = 0; }else{ formatFixMonth = ""; }
if( date.getDate() < 9 ){ formatFixDay = 0; }else{ formatFixDay = ""; }
var today = date.getFullYear() + "-" + formatFixMonth + (date.getMonth()+1) + "-" + formatFixDay + date.getDate();
date.setDate(date.getDate()+1);
if( date.getMonth() < 9 ){ formatFixMonth = 0; }else{ formatFixMonth = ""; }
if( date.getDate() < 9 ){ formatFixDay = 0; }else{ formatFixDay = ""; }
var tomorrow = date.getFullYear() + "-" + formatFixMonth + (date.getMonth()+1) + "-" + formatFixDay + date.getDate();
document.getElementById("startDate-de").value = today;
document.getElementById("endDate-de").value = tomorrow;
</script>
<a class="RoomRaccoonButton2 RoomRaccoonButton2-de" style="position:relative; display:inline-block; font-size:15px; line-height:30px; padding:0px 15px; border:none; border-radius:none; background:#072ECF; color:#FFFFFF; margin-left:8px; text-decoration:none;" onclick='window.open("https:\/\/booking.roomraccoon.de\/annabananahostelberlin\/de\/?dateStart="+document.getElementById("startDate-de").value+"&dateEnd="+document.getElementById("en dDate-de").value+"", "_blank");'>check availability</a>
</center>
</div>
Vielen lieben Dank im voraus.
Beste Grüße
perhaps-labs.com