damian128888 Posted August 1, 2016 Share Posted August 1, 2016 Witam Serdecznie Posiadam problem z obrazkami, które są w opisie produktu. Mój szablon to default. Nie są responsywne. Znalazłem na to rozwiązanie (na stronie użytkownika Vekia), aczkolwiek te rozwiązanie niezbyt mi pomaga. Zamierzam mieć dość dużą ofertę produktów w moim sklepie i czy jest możliwość, żeby presta automatycznie zmieniała wszystkie obrazki w opisie na responsywne?Pozdrawiam! Link to comment Share on other sites More sharing options...
atomek Posted August 1, 2016 Share Posted August 1, 2016 dodaj do arkusza styli: .rte img { max-width: 100%; height: auto !important;} 1 Link to comment Share on other sites More sharing options...
e_com Posted August 1, 2016 Share Posted August 1, 2016 Żeby na dużych monitorach obrazek nie zajmował całego ekranu, to lepiej coś w tym stylu dodać do product.css: @media only screen and (min-width : 320px) { .rte img { width: 100%; height: auto; } } @media only screen and (min-width : 480px) { .rte img { width: 100%; height: auto; } } @media only screen and (min-width : 768px) { .rte img { width: 60%; height: auto; } } @media only screen and (min-width : 992px) { .rte img { width: 50%; height: auto; } } @media only screen and (min-width : 1200px) { .rte img { width: 40%; height: auto; } } 1 Link to comment Share on other sites More sharing options...
damian128888 Posted August 1, 2016 Author Share Posted August 1, 2016 Wielkie dzięki panowie! Wszystko działa jak należy Pozdrawiam! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now