Bird
0
0

A WordPress theme's responsive menu stops working on mobile. Which CSS mistake could cause this?

medium📝 Debug Q6 of 15
Wordpress - Custom Theme Development
A WordPress theme's responsive menu stops working on mobile. Which CSS mistake could cause this?
AMissing viewport meta tag
BUsing max-width instead of min-width in media query
CSetting display: block on menu always
DUsing fixed pixel widths for container
Step-by-Step Solution
Solution:
  1. Step 1: Identify viewport meta tag role

    Viewport meta tag ensures proper scaling on mobile devices.
  2. Step 2: Understand effect of missing tag

    Without it, responsive CSS may not apply correctly, breaking menu behavior.
  3. Final Answer:

    Missing viewport meta tag -> Option A
  4. Quick Check:

    Viewport tag required for mobile responsiveness [OK]
Quick Trick: Always include viewport meta for mobile responsiveness [OK]
Common Mistakes:
  • Confusing max-width and min-width effects
  • Ignoring viewport meta importance
  • Assuming display:block breaks menu

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Wordpress Quizzes