Skip to content

Commit 6a9cbf6

Browse files
committed
Makes sure the container is not wider than the header image
1 parent fc8efda commit 6a9cbf6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

css/custom.css

+3
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,13 @@ a:visited {
4646
height: auto;
4747
margin: 0 auto;
4848
width: 100%;
49+
max-width: 2239px;
4950
position: relative;
5051
padding: 50px 0px;
5152
color: #fff;
5253
}
5354

55+
/* max width of image can be 2239px; the header shouldn't be bigger than that */
5456
#background {
5557
background: url('../images/bregenz.jpg') rgba(255, 255, 255, 1) no-repeat 50% 0 fixed;
5658
height: auto;
@@ -92,6 +94,7 @@ a:visited {
9294
height: auto;
9395
margin: 0 auto;
9496
width: 100%;
97+
max-width: 2239px;
9598
position: relative;
9699
padding: 50px 0px;
97100
color: #fff;

0 commit comments

Comments
 (0)