On this website http://www.modeheerenhuys.be/ i did added this style to the template:
Code: Select all
.centered {
position: fixed;
left: 50%;
transform: translate(-50%, 0);
}
Code: Select all
class="centered"
Now i'm working on a new website and wanne use this function again but now i try it with something different.
It is about this website: http://www.websitemaastricht.nl
Added this style to the template:
Code: Select all
.container {
position: fixed;
top: 0;
left: 0;
right: 0;
height: 58;
width: 100%;
background-image: url("<?=$pth['folder']['templateimages']?>menulr.png");
z-index: 100;
text-align: center;
}
.container > div {
display: inline-block;
text-align: left;
}
Code: Select all
<div class="container">
Second question (still regarding this website http://www.websitemaastricht.nl )
The logo in the header is in a table cell and it is óver the fotobox plugin, but in Safari it is on the left of the page.