WebsiteBaker 2.13.9 R22 is now available!
R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WBhttps://forum.websitebaker.org/index.php/topic,32355.0.html
.minihero { background-position: center; background-repeat: no-repeat; background-size: cover; position: relative; overflow: hidden;}
.parallax { background-image: url("../img/parallax.jpg"); background-image: url("../img/EN_parallax.jpg"); max-height: 40vw; background-attachment: fixed; background-position: top left; background-repeat: no-repeat; background-size: contain; height: 30vw;
Hast du mal einen Link für uns?
If it looks like this...https://gyazo.com/9c888887f654e6558b3680a1a39e867a
The CSS statement looks like thisCode: [Select].parallax { background-image: url("../img/parallax.jpg"); background-image: url("../img/EN_parallax.jpg"); max-height: 40vw; background-attachment: fixed; background-position: top left; background-repeat: no-repeat; background-size: contain; height: 30vw;
Ist es das was du erreichen willst?Ich habe nur die 2 Zeilen (rot) ergänzthttps://gyazo.com/45630895779180ac60218e62b019122aDeepLIs that what you want to achieve?I just added the 2 lines (red).minihero { background-position: center; background-repeat: no-repeat; background-size: cover; position: relative; overflow: hidden; max-height: 40vw; height: 30vw;
Smaller Screens@media screen and (max-width: 800px) { .minihero-text h1 { color: #fff; border: 0px solid #fff; padding: 10px 0; /*font-size: 72px;*/ font-size: 5vw; font-weight: 700; letter-spacing: 1px; text-shadow: 1px 1px 1px #cc0000; font-family: inherit; }}
Im Firefox auf deiner Seite wird die Höhe von MH immer kleiner, wenn der Browser in der Breite schmaler wird.Also wie gewünscht. Klappt bei dir nicht?
@media (max-width: 600px) { .minihero-text h1 {font-size: 6vw}}