RESPONSIVE PRODUCT DESCRIPTION PAGE
HELLO! I am creating a responsive e-commerce website, but unfortunately I am having some problems in creating it properly I tried to change the width, but no result, then I tried to change the font size in the description but failed. If anyone knows how to fix it, Please help!!
After 800px I am unable to change the size
https://codepen.io/Hamza-Nawaz-the-solid/pen/mdQRQqRthe
9 Replies
you codepen link is busted it gives 404 error 🙂
Ok i will change it
@mannix_ please check
on a
.single-product
selector you have set fixed width
of 1080px
if you want things to be responsive avoid setting fixed widthsOo thank you i finally understood what i did wrong
@mannix_ can you help me with how to make it properly responsive. I tried to edit the font size but failed it is not properly work please if you don't mind please tell me how to do it
https://codepen.io/Hamza-Nawaz-the-solid/pen/mdQRQqR
i set it to auto
anyone *
In the media query, you have the smaller font-size, but after that, you have another
li
selector that sets the font size.
We usually include media queries at the end, because we're overwriting things.
It's like if I did this, my color would be red:
the same applies if you are using media queries, so
my font-size of .example
will always be 2rem
Ok thank you