Skip to content

Fitness Studio Hero with Class Times

A dark fitness studio hero section with a bold uppercase headline, a free week trial button, a weekly class schedule card and a gym photo, built from core Gutenberg blocks.

Also known as: gym website hero, fitness studio header section, class schedule hero, personal trainer landing hero

Fitness Studio Hero with Class Times live demo

Open in new tab

WordPress block markup

This fitness studio hero is a WordPress block pattern with a dark background, a bold uppercase headline, a "Start your free week" button and a compact card listing this week's classes and times, next to a tall gym photo. Use it as a gym website hero, a fitness studio header section or a class schedule hero for a personal trainer or boutique studio; it is built from core Gutenberg blocks only.

How it works

The outer full-width Group has a #0a0a0a background, 104px vertical padding and a 1200px content width. A Columns block splits the section into a 55% text column and a 45% image column. The text column holds a lime eyebrow, an uppercase h1, an intro paragraph and two uppercase buttons: a solid lime trial button and an outlined timetable button. Below them, the class card is a Group with a #161616 background, a 1px #262626 border and 14px radius. Its header row is a flex Group with a small h2 and a note on class length. Each class row is a flex Group with a top border: on the left the day in lime and the class name, on the right the start time. The day label has a fixed width so the class names line up. The Image block on the right uses a 3:4 aspect ratio and 16px rounded corners. On phones the photo moves below the class card.

How to use it

  1. Copy the block markup with the copy button.
  2. In the block editor, click into an empty paragraph and paste; WordPress turns the markup into blocks.
  3. Replace the classes, times, button links and the photo with your own.

Customization

  • Background: select the outer Group, Color > Background #0a0a0a.
  • Accent color: the eyebrow, the day labels and the trial button use #a3e635; change Color > Text or Color > Background on each block. Keep dark button text #0a0a0a on light accents.
  • Headline: select the h1, Typography > Font size 60px, weight 800, Letter case uppercase.
  • Class rows: duplicate or delete a row Group to change the number of classes; each row has Border > Top 1px #262626 and 14px vertical padding.
  • Day label width: select a day paragraph, Dimensions > Width set to Fixed 44px.
  • Class card: select the card Group, Color > Background #161616, Border 1px #262626, Radius 14px.
  • Photo: select the Image, Aspect ratio 3/4 and Border > Radius 16px.

The photo comes from Unsplash; replace it with a picture of your own studio or coaches.

Use cases

  • Boutique fitness studios: show the next classes and push the free trial week.
  • CrossFit boxes and HIIT gyms: give visitors the weekly highlights before the full timetable.
  • Yoga and pilates studios: swap the class names and colors for a calmer schedule hero.
  • Personal trainers: list group session times next to a booking button.

Accessibility

The headline is the page h1 and the class card has its own h2. Text colors on #0a0a0a and #161616 (white, #d4d4d4, #a3a3a3 and lime) meet WCAG AA contrast, and the lime button uses near-black text. The photo has descriptive alt text. Replace the # links with your signup and timetable pages.

Fitness Studio Hero with Class Times at a glance

Framework
WordPress
Code
WordPress block markup (core blocks only)
JavaScript
Not needed
Dependencies
None, no plugin needed (WordPress 6.8+)
Layout
Responsive, works on mobile, dark design
Category
Hero Sections
License
Free for personal and commercial use

Questions about this pattern

Can I use the Fitness Studio Hero with Class Times code for free?

Yes. You can copy or download the block markup and use it in personal and commercial projects, including client work. No sign-up is needed. Reselling it as part of a component library or template collection is not allowed; see the license.

How do I add it to my WordPress site?

Copy the block markup, open a page in the block editor, click into an empty paragraph and paste. WordPress turns it into regular blocks that you can edit like any other content. You can also paste it in the Code editor view (Options menu > Code editor).

Does it need a page builder or plugin?

No. The pattern is built only from core blocks such as Group, Columns, Heading, Image and Buttons, so it works without Elementor, Spectra, Kadence or any other plugin. Colors and spacing are set on the blocks themselves; headings and text use your theme's fonts.

Will it look the same in my theme?

The layout, colors and spacing come with the blocks, so they carry over. Fonts, link styles and the content width follow your theme, so small differences are normal. The live demo shows the pattern in the default Twenty Twenty-Five theme. It works best with block themes; in classic themes the block editor still renders it, with your theme's styles.

Does it work on mobile?

Yes. The layout adapts to small screens. Use the Mobile and Tablet buttons above the live demo to check it at phone and tablet width.

How to install

  1. Copy the block markup above.
  2. Open a page or post in the WordPress block editor, click into an empty paragraph and paste. The editor turns the markup into blocks.
  3. Replace the sample text and images. To reuse it, select the blocks and choose Create pattern from the block toolbar menu.

Uses only core WordPress blocks, so no plugin is needed. Tested with WordPress 6.8 and later. Fonts come from your theme; the live demo uses the default Twenty Twenty-Five theme. WebDevSnippets is not affiliated with or endorsed by the WordPress Foundation.

Fitness Studio Hero with Class Times – free WordPress hero section template
Fitness Studio Hero with Class Times · free WordPress hero section template

More Hero Sections

Split Hero with Diagonal Photo Clip – free Pure CSS hero section template

Split Hero with Diagonal Photo Clip

Pure CSS split hero with headline, buttons and stats beside a full-height photo cut on a diagonal with clip-path, plus an accent stripe and rating badge.

Hero with Rotating Words – free Pure CSS hero section template

Hero with Rotating Words

Dark hero section whose headline cycles through words with a slide-and-fade animation, a pause button and decorative stat cards.

Split Hero with App Screenshot – free Tailwind CSS hero section template

Split Hero with App Screenshot

Dark Tailwind CSS split hero with gradient headline, two CTA buttons and an animated mock app dashboard built entirely from divs.

Dental Clinic Hero with Appointment Button – free WordPress hero section template

Dental Clinic Hero with Appointment Button

A dental clinic hero section with a booking button, a call button, three patient trust points and a rounded treatment room photo, built from core Gutenberg blocks.

Hero with Search Bar – free Bootstrap 6 hero section template

Hero with Search Bar

Bootstrap 6 directory hero on a photo background with a large pill search bar, a searchable area Combobox, popular search chips and category tiles.

Hero with Background Video Overlay – free Bootstrap 6 hero section template

Hero with Background Video Overlay

Full-width Bootstrap 6 hero with a muted background video or slow-zoom poster photo, dark gradient overlay, headline, two buttons, stats and a pause control.