Your First Theme
Follow this step-by-step guide to build your first WordPress theme with TheDock.
Overview
In this tutorial, you'll:
- Explore the TheDock interface
- Customize your color palette
- Adjust typography settings
- Modify a page template
- Configure your header and footer
- Export and preview your theme
Estimated time: 15-20 minutes
Step 1: Explore the Dashboard
When you open TheDock, you'll land on the Design > Dashboard.
The Dashboard shows a preview of your homepage template. This is where you can see the overall effect of your design changes.
Take a moment to:
- Scroll through the preview
- Notice the current color scheme
- Observe the typography styles
Step 3: Customize Colors
Click on Colors in the left sidebar (under Design).
Understanding the Color Palette
TheDock uses a 5-color palette system:
| Color | Purpose |
|---|---|
| Base | Background color (usually light) |
| Contrast | Text color (usually dark) |
| Primary | Main brand color |
| Secondary | Supporting brand color |
| Accent | Highlight/CTA color |
Each color automatically generates tints (lighter) and shades (darker) for flexibility.
Change a Color
- Click on any color swatch (e.g., Primary)
- Use the color picker or enter a HEX value
- Watch the preview update in real-time
Try a Preset
Want quick inspiration? Click Presets to try pre-made palettes, or Randomize for a surprise.
Tip: Use Undo (Ctrl/Cmd + Z) to revert any changes you don't like.
Step 4: Adjust Typography
Click on Typography in the left sidebar.
Base Size
The Base Size is the foundation of all typography. It affects:
- Body text size
- Heading proportions
- Spacing calculations
Try changing the base size and watch how everything scales proportionally.
Typographic Scale
TheDock provides 5 text styles:
| Style | Typical Use |
|---|---|
| Huge | Hero headlines, main titles |
| Large | Section headings |
| Medium | Subheadings |
| Normal | Body text, paragraphs |
| Small | Labels, captions, metadata |
Customize a Style
- Click on any style (e.g., Huge)
- Adjust:
- Font Family - Choose from available fonts
- Font Weight - Light to Bold
- Line Height - Spacing between lines
- Letter Spacing - Space between characters
- Size - Relative size multiplier
Step 5: Modify a Template
Now let's edit an actual page template.
- Click B. Layout in the navigation tabs
- Click Templates in the left sidebar
- Find your frontpage template
- Click Edit to open the template builder
The Template Builder
You'll see:
- Left Panel - Tree view of your template structure
- Center - Live preview
- Right Panel - Settings for selected element
Select an Element
Click on any element in the preview (or in the tree view) to select it.
The right panel will show its properties.
Try These Edits
- Change a heading: Click on a heading block, then edit the text
- Adjust spacing: Select a section, adjust padding in the settings
- Change background: Select a section, choose a background color
Add a New Section
- In the tree view, click the + button on a section
- Choose "Add Section Below"
- Select a blueprint (pre-made section) or start empty
- Customize as needed
Step 6: Configure Header & Footer
Edit the Header
- In B. Layout, click Header
- The header editor opens
- Customize:
- Logo placement
- Navigation style
- Colors and spacing
Edit the Footer
- Click Footer in the left sidebar
- Assign a footer module or create a new one
- Customize content and styling
Step 7: Export Your Theme
You've made changes - now let's see them live!
Export Process
- Click Export Theme in the top header bar
- Wait for the export to complete
- Click Back to WordPress to return to your site
View Your Theme
- In WordPress, go to Appearance > Themes
- Make sure "TheDock" theme is active
- Visit your site's frontend to see your changes!
What You've Learned
Congratulations! You've just:
- Explored the TheDock interface
- Customized colors using the palette system
- Adjusted typography with the scale system
- Edited a page template in the visual builder
- Configured header and footer
- Exported and previewed your theme
Next Steps
Continue learning with these guides:
Design Deep Dives
- Colors in Depth - Swatches, gradients, and accessibility
- Typography Mastery - Advanced font controls
- Spacing System - Master the grid
Layout Building
- Working with Templates - Create page layouts
- Building Modules - Reusable components
- The Grid System - Responsive layouts
Going Further
- WordPress Integration - Posts, pages, and menus
- Custom Fields - ACF integration
Tips for Success
- Save often - Though auto-save is enabled, manual saves ensure nothing is lost
- Use undo - Experiment freely knowing you can always go back
- Preview on devices - Check desktop, tablet, and mobile regularly
- Keep it simple - Start with small changes, build complexity gradually
- Export to test - Regular exports help catch issues early