End of Support for Joomla 3 - Forum closed

Background Image wird nicht skaliert

  • Petra38
  • Petra38's Avatar Offline Topic Author
  • Junior Boarder
  • Junior Boarder
  • Posts: 34
  • Thank you received: 0

Background Image wird nicht skaliert was created by Petra38

Posted 6 years 11 months ago #17501
KAZUMI
www.brillenwichmann.de

Sorry, noch eine Farge. Die hatte ich schon einmal gestellt und Ihr Tipp hat damals nicht geholfen. Das schob ich darauf, dass ich selber Background Sections hinzugefügt hatte. Habe ich nun aber nicht, ich habe bisher keine css Dateien geändert.
Sowohl auf der Smartphone als auch auf der Tablett Ansicht wird das Bild, das in der Background Section Bottom D liegt nicht skaliert.
Ich habe bereits in der Custim.css einen Code eingefügt:
@media (max-width: 768px) {
#bottom-a,
#bottom-b,
#bottom-c,
#bottom-d,
#top-a,
#top-b,
#top-c,
#top-d
}
Hilft aber nicht!
Eine Idee?
Beste Grüße
Petra
by Petra38

Please Log in or Create an account to join the conversation.

Replied by joomlaplates on topic Background Image wird nicht skaliert

Posted 6 years 11 months ago #17505
Hallo, ihr Code hat keine CSS Style.
Probieren sie mal folgenden Code:

@media (max-width: 768px) {
#bottom-a,
#bottom-b,
#bottom-c,
#bottom-d,
#top-a,
#top-b,
#top-c,
#top-d
background-attachment: scroll;
}

Please Log in or Create an account to join the conversation.

  • Petra38
  • Petra38's Avatar Offline Topic Author
  • Junior Boarder
  • Junior Boarder
  • Posts: 34
  • Thank you received: 0

Replied by Petra38 on topic Background Image wird nicht skaliert

Posted 6 years 11 months ago #17506
Guten Morgen!
Danke für die schnelle Hilfe. Leider funktiioniert es aber nicht. Haben Sie noch eine Idee?
Der Custom css Code sieht jetzt so aus:

@media (max-width: 768px) {
#bottom-a,
#bottom-b,
#bottom-c,
#bottom-d,
#top-a,
#top-b,
#top-c,
#top-d
background-attachment: scroll;
}

.uk-navbar-center {
max-width: 100%;
}
by Petra38

Please Log in or Create an account to join the conversation.

Replied by joomlaplates on topic Background Image wird nicht skaliert

Posted 6 years 11 months ago #17510
Sorry unser Code war ebenfalls falsch:
Hier der richtige Code:

@media (max-width: 768px) {
#bottom-a,
#bottom-b,
#bottom-c,
#bottom-d,
#top-a,
#top-b,
#top-c,
#top-d
background-attachment: scroll;
}
}

.uk-navbar-center {
max-width: 100%;
}

Please Log in or Create an account to join the conversation.

  • Petra38
  • Petra38's Avatar Offline Topic Author
  • Junior Boarder
  • Junior Boarder
  • Posts: 34
  • Thank you received: 0

Replied by Petra38 on topic Background Image wird nicht skaliert

Posted 6 years 11 months ago #17511
Hallo, sorry, Ihr Code funktionierte immernoch nicht. Aber es fehlte auch eine geschweifte Klammer, oder? Die habe ich hinter "#top-d" eingefügt. Leider funktioniert es aber immenoch nicht.
Der Code sieht nun so aus:
@media (max-width: 768px) {
#bottom-a,
#bottom-b,
#bottom-c,
#bottom-d,
#top-a,
#top-b,
#top-c,
#top-d{
background-attachment: scroll;
}
}

.uk-navbar-center {
max-width: 100%;
}
Ich verstehe das nicht. Sie?
by Petra38

Please Log in or Create an account to join the conversation.

Replied by joomlaplates on topic Background Image wird nicht skaliert

Posted 6 years 11 months ago #17513
Schwere Geburt!
Nun sollte der Code gehen:

@media (max-width: 768px) {
#bottom-a, #bottom-b, #bottom-c, #bottom-d, #top-a, #top-b, #top-c, #top-d {
background-attachment: scroll !important;
}
}
.uk-navbar-center {
max-width: 100%;
}

Please Log in or Create an account to join the conversation.

Moderators: joomlaplates

Installations-Service

Don´t waste your time, we install your purchased Template
with the "Demo Content" within the next 24 hours.

Buy Now - 59€

Joomlaplates/Theme-Point is not affiliated with or endorsed by Open Source Matters or the Joomla! Project

Copyright © 2022 JoomlaPlates | Professional Joomla Templates with Uikit 3

Disclaimer & Privacy | License