slider buttons displaying wrong on phone

slider buttons displaying wrong on phone

TrendBlend
Trailblazer
357 0 40

Hello, when I open Glow Curtain: 400 LED Lights for a Magical Ambiance – InteriorGlows on phone, my slider buttons display weirdly, the left one is bigger than the right one, and there is no < or > to show direction. On desktop when I shrink the screen to mobile size, they do show correctly. Why does this happen and how can I always show it like on desktop with a shrinked screen? Thanks in advance 🙂

Phone:

IMG_4227.jpeg

Desktop with smaller screen

TrendBlend_0-1745405244920.png

 

Reply 1 (1)

Small_Task_Help
Shopify Partner
1054 45 102

Hi,

Hope this will help

- Find CSS (Style) File
- Add or Fix the Slider Button Styles

Code example:

/* Fix slider buttons on mobile */
.slider-button {
  width: 40px;
  height: 40px;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider-button::before {
  content: attr(data-arrow);
  color: #000;
}

@media only screen and (max-width: 768px) {
  .slider-button {
    width: 40px !important;
    height: 40px !important;
    font-size: 24px !important;
  }
}


- Make Sure Arrows Are Visible
- Clear cache

To Get Shopify Experts Help, Click Here or E-mail - hi@ecommercesmalltask.com
About Us - We are Shopify Expert India
At Google My Business - Ecommerce Small Task - Hire Shopify Developers Ahmedabad