I'm working with the following code on my squarepace Pacific template via the html code injection (the code creates a white double lined border around the page):
<head>
<style>
body {
margin:0px;
background-image: url(http://static1.squarespace.com/static/56df76e4356fb0e00c7e94da/t/5703667a27d4bdaccf43195e/1459840646163/paper_box_texture+CMYK.jpg);
}
.top, .left, .right, .bottom {
display: block;
position: absolute;
width:100%;
height:180%;
}
.top {
border-top: 1em double #fff; top: 40px; z-index:100;
}
.left {
border-left: 1em double #fff; left: 40px; z-index:200;
}
.right {
border-right: 1em double #fff; right: 40px; z-index:300;
}
.bottom {
border-bottom: 1em none #fff; bottom: 200px; z-index:400;
}
</style>
</head>
<body>
<div class="top"></div>
<div class="left"></div>
<div class="right"></div>
<div class="bottom"></div>
</body>
</html>
It works on the desktop mode but for mobile it cuts off the copy:
Does anyone know how to enable this border on desktop but remove it for mobile device?
Thanks!