-3
I got a problem.
When I use any other Attachment the image becomes normal:
But when I use the Fixed to accompany the scroll it gives an absurd zoom:
CSS:
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800');
/* CSS Document */
body {
background-color: #eeeeee;
margin: 0; }
.background
{
overflow: hidden;
background: url(../images/fundo.png);
background-position: top center;
min-height:355px;
background-repeat: no-repeat;
color: #000000;
background-attachment: fixed;
background-size: cover;
}
.background .links ul {
padding:0;
list-style: none;
}
.background .links ul li {
float: right;
display: inline-block;
margin:0 20px 0 0;
}
.background .links ul li a {
display: block;
text-decoration:none;
padding-bottom: 30px;
font-family: 'Open Sans', sans-serif;
font-size: 12px;
font-weight: 600;
text-transform: uppercase;
color:#ffffff;
}
.background .links ul li a:hover {
color: #b0fafd;
}
What are the dimensions of the background image? I think the problem is not in Fixed.
– Sam
Opa these are the dimensions. width: 1800px; height: 358px;
– Aegis Dev
this is the background image of the top of the site and not the body background image .
– Aegis Dev
Try to use
auto
instead ofcover
– Sam
Mt thanks it worked, how can I compliment you around here?
– Aegis Dev
I’ll put an answer
– Sam
Quiet brother just for whom I vote .
– Aegis Dev