Hi,
i have set my page to 1460px but the #main content should be 1040px and center (only main not header).
#main .avia-section {width:1040px;
display: block;
float: none;
clear: both;
text-align: center;
}
…but it stuck always left .. any ideas?
Thx MIke .. i found a solution that set it to the middle
#main .avia-section {width:1080px; display: block; float: none;
margin: 0 auto; }
But now, the mobile view does not work, when i delete the float:none .. it jumps again to the left
Hi,
I checked the six pages from your backend but still don’t see it, if the above works try adding a media query so it will only work on tablets and desktop, like this:
@media only screen and (min-width: 768px) {
#main .avia-section {width:1080px; display: block; float: none;
margin: 0 auto; }
}
or adjust the min-width larger to suit.
Best regards,
Mike
oh man .. as simple as it is :)
Thx for the hint
so, we can close here