# Black & White Article Designer Professional article styling with clean black/white theme and WCAG AAA compliant contrast ratios. ## When to Use Use this skill when: - Creating or styling WordPress articles with professional appearance - Fixing contrast and readability issues on blog posts - Applying consistent dark/white theme to article content - Need high-contrast, accessible article design ## Color Scheme ### Backgrounds - **Black**: `#000000` - Hero sections, CTAs - **White**: `#ffffff` - Cards, features, main content - **Light Gray**: `#fafafa` - Section backgrounds ### Text Colors - **White**: `#ffffff` - On dark backgrounds - **Very Dark Gray**: `#1a1a1a` - Headings on light backgrounds - **Medium-Dark Gray**: `#333333` - Body text on light backgrounds - **Dark Purple**: `#5b21b6` - Stat numbers, accent elements ## CSS Template ```css ``` ## HTML Structure Template ```html
✨ Badge Text

Article Title

Article subtitle or description...

281
Custom Skills
43
AI Agents

Feature Title

Section Title

Card Title

Subtitle

Card description...

Another Card

Card content...

code here

Call to Action Title

Description text...

Primary Button Secondary Button
``` ## WordPress Theme Stylesheet Method When WordPress filters `HTML_HERE' WHERE ID=POST_ID" ``` ### Method 2: WordPress Admin 1. Edit post in WordPress admin 2. Switch to "Code Editor" mode 3. Add `` ### Issue: Text not visible **Cause:** Wrong color combination **Fix:** Check background vs text color, ensure proper contrast ### Issue: Inline styles overriding CSS **Cause:** WordPress editor adding inline styles **Fix:** Use `!important` declarations or remove inline styles ### Issue: Table headers showing white text on white background **Cause:** WordPress theme wraps tables in `.table-container` with conflicting CSS **Fix:** Add maximum specificity CSS rules targeting `.table-container thead th` with both background and color: ```css .table-container thead th, .daw-section .table-container thead th, .daw-feature .table-container thead th, .daw-card .table-container thead th, table thead th[style*=color], .table-container table thead th[style*=color] { background: #000000 !important; color: #ffffff !important; -webkit-text-fill-color: #ffffff !important; } ``` ### Issue: CTA button text invisible (e.g., "Visit Z.AI Platform") **Cause:** Theme CSS classes like `.cta-button`, `.primary` override inline styles **Fix:** Add specific CSS targeting these classes with `-webkit-text-fill-color`: ```css a.cta-button.primary, a.cta-button.primary:link, a.cta-button.primary:visited, a.cta-button[style*="background: #000"], a.cta-button[style*="background: #000000"] { background: #000000 !important; color: #ffffff !important; -webkit-text-fill-color: #ffffff !important; } ``` ### Issue: WordPress filters `