Text like "🔥 CORE SYSTEMS" was running off the screen on mobile devices, showing only "CORE SYSTE" or "CORE SYS" due to:
1. white-space: nowrap preventing text wrapping
2. word-break: keep-all preventing word breaks
3. Large font sizes (2.5em) with wide letter-spacing
4. No mobile-specific overrides
mobile-responsive.css#### Added Global Heading Fix (Lines 229-236)
`css
/ Mobile: Force all headings to wrap properly /
@media (max-width: 768px) {
h1, h2, h3, h4, h5, h6 {
word-break: break-word !important;
white-space: normal !important;
overflow-wrap: break-word !important;
}
}
`
#### Enhanced .section-title Fix (Lines 300-320)
`css
@media (max-width: 768px) {
.section-title, h2.section-title, .page-title, .title {
word-break: break-word !important;
white-space: normal !important;
overflow-wrap: break-word !important;
max-width: 100% !important;
width: 100% !important;
overflow: visible !important;
text-overflow: clip !important;
font-size: 1.5em !important; / Smaller on mobile /
padding: 0 10px !important; / Prevent edge touch /
box-sizing: border-box !important;
}
}
`
#### Added Universal Overflow Prevention (Lines 331-345)
`css
@media (max-width: 768px) {
body, html {
overflow-x: hidden;
max-width: 100%;
width: 100%;
position: relative;
}
.container, .wrapper, main, section, article {
max-width: 100%;
overflow-x: hidden;
}
}
`
index.html Specific IssueBefore:
`css
.section-title {
font-size: 2.5em;
/ ... /
word-break: keep-all; / ❌ Prevented wrapping /
white-space: nowrap; / ❌ Prevented wrapping /
}
`
After:
`css
.section-title {
font-size: 2.5em;
/ ... removed problematic styles /
}
/ Desktop only: keep text on one line / @media (min-width: 769px) { .section-title { word-break: keep-all; white-space: nowrap; } }
/ Mobile: allow wrapping /
@media (max-width: 768px) {
.section-title {
font-size: 1.8em;
letter-spacing: 2px;
word-break: break-word;
white-space: normal;
overflow-wrap: break-word;
padding: 0 15px;
}
}
`
---
---
`
🔥 CORE SYSTE ← Cut off!
``
🔥 CORE
SYSTEMS ← Wraps properly!
`OR
`
🔥 CORE SYSTEMS ← Fits if screen wide enough
`
---
The fix now protects ALL pages across the site:
through headings.section-title class.page-title class .title class---
Test on mobile (or Chrome DevTools mobile view):
---
✅ DO:
`css
.section-title {
font-size: 2em;
/ ... /
}@media (max-width: 768px) {
.section-title {
font-size: 1.5em;
word-break: break-word;
white-space: normal;
}
}
`
❌ DON'T:
`css
.section-title {
white-space: nowrap; / ❌ Will break on mobile /
word-break: keep-all; / ❌ Will break on mobile /
overflow: hidden; / ❌ Will hide text /
text-overflow: ellipsis; / ❌ Will truncate /
}
`
@media (min-width) for desktop
4. Use @media (max-width) for mobile fixes---
If you create a new page, it's automatically protected because:
1. mobile-responsive.css is included globally
2. All headings are covered by default
3. Common title classes are handled
4. Overflow prevention is universal
Just make sure to:
`html
`
---
| Breakpoint | Description | |------------|-------------| | ≤768px | Mobile phones | | 769-1024px | Tablets | | ≥1025px | Desktop |
---
- Zero performance impact
---
FIXED GLOBALLY ✅
- ✅ mobile-responsive.css updated with universal fixes
index.html specific issue resolved---
1. Clear browser cache (Ctrl+Shift+Delete)
---
Author: Fixed 2025-10-15 Affects: All pages site-wide Status: ✅ Production Ready