I am currently working on the website . I am facing an issue where the left arrow is not appearing in the same position as the right arrow. When I try to mirror the same adjustment I made for the left arrow by using margin-left: -75px
, it seems to 'wrap' it to the top.
It was functioning properly before, but then something went wrong.
The Buttons:
<div class="controls">
<a class="back" href="?page=<?php echo($_SESSION['page']-1) ?>"><i class="fui-arrow-left"></i></a>
<a class="next" style="float: right; margin-right: -75px;" href="?page=<?php echo($_SESSION['page']+1) ?>"><i class="fui-arrow-right"></i></a>
</div>
The relevant css:
.controls {
top: 50%;
transform: translateY(-50%);
z-index: 99;
font-size: 50px;
}
.container {
width: 970px !important;
padding-top: 25px;
margin-top: 25px;
z-index: -1;
}