Testing Guide - Mobile Menu & CTA Buttons (v2 - Fixed)

πŸ”§ What Was Wrong (Original Attempt)

The original implementation failed because:

  1. CSS wasn’t recompiling - Jekyll on GitHub Pages wasn’t rebuilding the SCSS files
  2. Styles were missing - The minified CSS file didn’t contain our new styles
  3. Mobile menu wasn’t appearing - Styles weren’t loading

βœ… What I Fixed

New Approach: Added all styles as inline CSS in the <head> section


πŸ“‹ Pre-Commit Checklist

Before you commit and push, verify these files are updated:

1. _includes/top.html

2. _includes/header.html

3. _layouts/default.html

4. index.html

5. contact/index.html


πŸ§ͺ Testing Steps (In Order)

Test 1: Desktop View

  1. Visit homepage in Chrome/Firefox
  2. Page should load normally
  3. CTA buttons should be centered and look like actual buttons (not plain text)
  4. Primary button should be teal/blue gradient
  5. Secondary button should be white with blue border
  6. Hover over buttons - they should lift up slightly
  7. No hamburger menu should be visible

Expected Result: βœ… Everything looks professional, buttons are centered


Test 2: Mobile View (Browser)

  1. Open Chrome DevTools (F12)
  2. Click β€œToggle Device Toolbar” (Ctrl+Shift+M)
  3. Select β€œiPhone SE” or similar small phone
  4. Look in top-right corner - you should see 3 horizontal lines (hamburger)
  5. Click the hamburger - menu should slide in from right
  6. Hamburger should animate to an X
  7. Dark overlay should appear behind menu
  8. Click overlay or a menu link - menu should close
  9. CTA buttons should stack vertically (one on top of the other)

Expected Result: βœ… Hamburger visible, menu works, buttons stacked


Test 3: Contact Page

  1. Click β€œSchedule Free Consultation” button
  2. Should go to Contact page
  3. Contact page should have:
    • βœ… Light blue/green info box at top
    • βœ… Two contact method boxes (phone and email) with icons
    • βœ… Phone number is clickable
    • βœ… Email is clickable
  4. On mobile, contact boxes should stack vertically

Expected Result: βœ… Professional-looking contact page with styled boxes


Test 4: Actual Mobile Device (If Possible)

  1. Push changes to GitHub
  2. Wait 2-3 minutes for GitHub Pages to rebuild
  3. Visit site on your actual phone
  4. Test hamburger menu
  5. Test CTA buttons (phone number should trigger phone dialer)

Expected Result: βœ… Everything works on real device


🚨 Troubleshooting

Problem: β€œI still don’t see the hamburger menu”

Solutions:

  1. Hard refresh: Ctrl+Shift+R (PC) or Cmd+Shift+R (Mac)
  2. Clear cache:
    • Chrome: Settings β†’ Privacy β†’ Clear browsing data
    • Firefox: Settings β†’ Privacy β†’ Clear Data
  3. Check file was saved: Look at _includes/top.html - should have <style> block
  4. Check mobile view: Make browser < 768px width
  5. Incognito mode: Try opening in private/incognito window

Solutions:

  1. Check inline styles loaded: Right-click button β†’ β€œInspect” β†’ Look for .cta-button styles
  2. Hard refresh: Ctrl+Shift+R
  3. Check class names: Button should have class="cta-button cta-primary"

Problem: β€œButtons are left-aligned, not centered”

Solutions:

  1. Check container: Buttons should be wrapped in <div class="cta-container">
  2. Check inline styles: .cta-container should have display: flex and align-items: center
  3. Hard refresh: Ctrl+Shift+R

Problem: β€œMenu slides in but hamburger doesn’t animate to X”

Solution:


🎯 What Success Looks Like

Desktop:

Mobile:

Contact Page:


πŸ“Έ Visual Reference

Desktop CTA Buttons Should Look Like:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                                 β”‚
β”‚   [Schedule Free Consultation]  β”‚  ← Teal gradient button
β”‚   [πŸ“ž Call (303) 731-6149]     β”‚  ← White button with blue border
β”‚                                 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Mobile Hamburger Should Look Like:

Desktop (> 768px):           Mobile (< 768px):
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”         β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Logo  About FAQ  β”‚         β”‚ Logo          ☰  β”‚  ← Hamburger visible
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜         β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Mobile Menu Open:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Logo          βœ•  β”‚  MENU  β”‚
β”‚                  β”‚  About β”‚
β”‚ [Dark Overlay]   β”‚  FAQ   β”‚
β”‚                  β”‚  Cont  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ“ Files Changed (v2)

  1. _includes/top.html - Added inline CSS (major change)
  2. _includes/header.html - Added hamburger button
  3. _includes/navigation.html - Added ID
  4. _layouts/default.html - Added overlay + JavaScript
  5. index.html - Added CTA buttons
  6. contact/index.html - Redesigned with info boxes

Note: We did NOT modify SCSS files this time to avoid compilation issues!


βœ… Final Check Before Pushing

Run through this quick checklist:

If all checked βœ… β†’ Ready to commit and push!


πŸš€ Commit Message Suggestion

git add .
git commit -m "Add mobile navigation and CTA buttons (v2 with inline styles)"
git push origin master

Good luck! Let me know if you encounter any issues. πŸŽ‰