Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Responsive ecommerce product page (Next/Tailwind)

P

@anna-dominguez

Desktop design screenshot for the E-commerce product page coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
3intermediate
View challenge

Design comparison


SolutionDesign

Solution retrospective


Hi ! I have some issues with the modal on the desktop view. If someone has an idea to fix it I would love some help 😁

Community feedback

@wealthygiftdev

Posted

I just Concluded this same project, using Basic CSS JS and HTML, did u give the modal z-index> 500? u can check my code out

1

P

@anna-dominguez

Posted

@wealthygiftdev Yes, I thought giving the modal z-index 50 and the all page and components z-index 0 would do the trick but it doesn't 🥲

0
Dipu 430

@immdipu

Posted

@Vesta-nna just give z-index 1 to the div below main tag. but there is still one issue the modal is overflowing and there is no close button to close the modal.

0

@wealthygiftdev

Posted

@Vesta-nna when u give it z-index, write "!important" beside it......make sure the z-index is greater than all other z-index in your code.

something like this

z-index: 500 !important;

try this i hope it works for the situation. if else we might have to try something more deep. That's the way i fixed mine. and truly as @immdipu said your modal is overflowing . we'd also need to fix that too.But first we have to make sure the modal is well sitted above the main page.

thanks

0

Please log in to post a comment

Log in with GitHub
Discord logo

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord