Support » Theme: Etrigan » Tip: how to change the colour in 3D Cube Products Slider

  • Touda

    (@touda)


    I want to contribute a tip in case someone else has the same problem: having white background around your products images, causes the buttons to previous and next product to become invisible.

    You just have to add this to the custom CSS:

    .swiper-button-next.swiper-button-white {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23e48d48'%2F%3E%3C%2Fsvg%3E");
    }
    
    .swiper-button-prev.swiper-button-white {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23e48d48'%2F%3E%3C%2Fsvg%3E");
    }

    Here they are rendered in some orange color (#e48d48). Please locate that numbers in the url of both styles and change accordingly with your CSS preferences.

    (And be careful not to copy the # sign!!)

    Hope this helps!

    • This topic was modified 6 months ago by  Touda.
  • The topic ‘Tip: how to change the colour in 3D Cube Products Slider’ is closed to new replies.