Images disappear in Safari slider?

Asked

Viewed 30 times

0

The website is www.gogogostore.pt .

Images cut and on mobile everything is cut.

I don’t know if it’s a CSS problem but this is it:

/** ROLETA **/

.wrapper{
  width:100%;
  position:static;
  margin-top: -60px;
}

.wrapper1 {
  width:100%;
  position:relative;
  margin:5px auto 5px 0;
}


.carousel{
   width: 100%;
  position: relative;
  overflow: hidden;
  margin: 0 0 0 0 !important;
  padding-top: 55%;
}

.inner{
  width: 100%;
  height: 100%;
  top:0;
  left: 0;
  position: relative;
      margin: 50px 0 0 0;
}




.slide{
  width: 100%;
  height: 100%;
  position: absolute;
  top:0;
  right:0;
  left:0;
  opacity: 0;
}

.slide.active,
.slide.left,
.slide.right{
  z-index: 2;
  opacity: 1;
}



.js-reset-left{left:auto}


.slide.left{
  left:-100%;
  right:0;
}

.cash {
  text-transform: uppercase;
  margin-right: 10px;
}

.slide.right{
  right:-100%;
  left: auto;
}

.transition .slide.left{left:0%}
.transition .slide.right{right:0%}


.transition .slide.shift-right{right: 100%;left:auto}
.transition .slide.shift-left{left: 100%;right:auto}


.transition .slide{
  transition-property: right, left, margin;
}

/**
 * ==========================
 * Indicators
 *
 */
.indicators{
  width:100%;
  position: absolute;
  bottom:0;
  z-index: 4;
  padding:0;
  text-align: center;
  display: none;
}

.indicators li{
  width: 13px;
  height: 13px;
  display: inline-block;
  margin: 5px;
  background: #fff;
  list-style-type: none;
  border-radius: 50%;
  cursor:pointer;
  transition:background 0.3s ease-out;
}

.indicators li.active{background:#909090}

.indicators li:hover{background-color:#909090}

/**
 * ==========================
 * Arrows 
 *
 */
.arrow{
  width: 20px;
  height: 20px;
  position:absolute;
  top:50%;
  z-index: -2;
  border-top:3px solid #fff;
  border-right:3px solid #fff;
  cursor:pointer;
  transition:border-color 0.3s ease-out;
}

.arrow:hover{border-color:#909090}

.arrow-left{
  left:20px;
  transform:rotate(225deg);
    z-index: 2;
}

.arrow-right{
  right:20px;
  transform:rotate(45deg);
  z-index: 2;
}



 */
.slide{
  text-align:center;
  padding-top:60%;
  background-size:cover;
}

.displayprod {
  display: flex;
  justify-content: center;
}

.slide:nth-child(1){
  background-image:url(/assets/images/slidegogogo.jpg);
  background-repeat:no-repeat;
background-size:contain;
 }

.slide:nth-child(2){
  background-image:url(/assets/images/slide2gogogo.jpg);
    background-repeat:no-repeat;
background-size:contain;
}

.slide:nth-child(3){
  background-image:url(/assets/images/slide3gogogo.jpg);
  background-repeat:no-repeat;
  background-size:auto 1000px;
  background-position: center top;
}

the HTML

<div class="wrapper">
  <div class="carousel">
    <div class="inner">
<a href="{{ site.url }}/tshirts" class="slide active"><p class="newcl" style="font-family: 'Montserrat', sans-serif;
  font-weight: thin !important;
    height: 100vh;
    position: absolute;
    top: -50px;
    color: white;
    width: 100%;
    display: flex;
    text-align: center;
    align-items: center;font-size: 30px;justify-content: center;text-shadow: 2px 2px black;">NEW COLLECTION</p><br><p class="bottext" style="font-family: 'Playfair Display', serif;
    height: 100vh;
    position: absolute;
    top: 0;
    color: white;
    width: 100%;
    display: flex;
    text-align: center;
    align-items: center;font-size: 60px;justify-content: center;text-shadow: 2px 2px black;">T-SHIRTS SS19</p></a>
<a href="{{ site.url }}/camisas" class="slide">
  <p class="newcl" style="font-family: 'Montserrat', sans-serif;
    height: 100vh;
    position: absolute;
    top: -50px;
    color: white;
    width: 100%;
    display: flex;
    text-align: center;
    align-items: center;font-size: 30px;justify-content: center;text-shadow: 2px 2px black;">NEW COLLECTION</p>
<p class="bottext" style="font-family: 'Playfair Display', serif;
    height: 100vh;
    position: absolute;
    top: 0;
    color: white;
    width: 100%;
    display: flex;
    text-align: center;
    align-items: center;font-size: 60px;justify-content: center;text-shadow: 2px 2px black;">SHIRTS SS19</p></a>
    <a href="{{ site.url }}/camisas" class="slide">
  <p class="newcl" style="font-family: 'Montserrat', sans-serif;
  font-weight: thin !important;
    height: 100vh;
    position: absolute;
    top: -50px;
    color: white;
    width: 100%;
    display: flex;
    text-align: center;
    align-items: center;font-size: 30px;justify-content: center;">NEW COLLECTION</p>
<p class="bottext" style="font-family: 'Playfair Display', serif;
    height: 100vh;
    position: absolute;
    top: 0;
    color: white;
    width: 100%;
    display: flex;
    text-align: center;
    align-items: center;font-size: 60px;justify-content: center;">SUMMER VIBES</p></a>
    </div>
    <div class="arrow arrow-left"></div>
    <div class="arrow arrow-right"></div>
  </div>
</div>

Somebody help me, man :(

  • Face only CSS does not help much, edit the question and put also HTML

  • put HTML if you can help reply pf

  • Pedro actually html is to see if it helps someone to answer you, but I don’t have mac here to test on safari, so I can’t properly test... I noticed that in CSS you declare from top: in the elements, but do not declare the left, try putting left:0 in them to see if you solve

  • 1

    tried and didn’t work. but thanks anyway.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.