In media query @media screen and (max-width: 980px)
you are giving width:535px
to bx-wrapper
. Remove that line & it will work.
CSS slider width issue at max-width: 980px
-
30-06-2023 - |
Question
I think i have some css problem.
At fullpage width the slider width is ok.
But at @media screen and (max-width: 980px) the slider is missing on each side.
Any one got a clue?
URL: removed.
Solution
OTHER TIPS
Try changing line 79 in your responsive.css
To 600px width.
.bx-wrapper{width:600px !important; margin-left:auto; margin-right:auto;}
The sides are missing because there is a width:535px !important
set for the .bx-wrapper
in the media query for @media screen and (max-width: 980px)
. Try overriding this in your style sheet with this
.bx-wrapper{
width:100% !important;
}
Add this in your style-sheet to the media query @media screen and (max-width: 980px)
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow