Opens in a new tab

Contact · Tabs with photo

A contact-by-office section for Bricks Builder, with a row of tabs for each city beside a form card, and that city's photo filling the right side of the section edge to edge. Switching tabs cross-fades in the new photo while the old form card fades out, and the library's thin indicator slides between tabs.

Dark mode readyNeeds Code execution

Copying for Fancy Framework · Desktop first

Needs a framework. Get Fancy Framework (free)

In the annual plan, $99/year. See plans

Uses a small script. Turn on Code execution in Bricks › Settings › Custom code. How to turn on Code execution

Preview

Template details

What’s inside

The components it’s built from. They come with the template when you paste it, and you edit them from the Bricks panel.

  • FBK Intro

    Eyebrow, title, lead and an actions slot for buttons.

Adjust it

Change these variables in Bricks to tune it; everything else follows your framework.

On the element Tabs, class fbk-tabcontact

Photo: where it starts (share of the container), its height on phones, and the length of the crossfade

--fbk-t-photo-start
40%
--fbk-t-photo-h
16em
--fbk-t-fade
0.8s

Widths of the intro (left of the photo) and of the tabs and the card (over the photo's edge)

--fbk-t-text-w
36%
--fbk-t-card-w
50%

Replaces

In Fancy Bricks 1.0 and 2.0 this was Tabs section background (2.0).