Black Friday Sale! Save up to 50% off!

Photo and contact form CSS Template

A split contact section places a black-and-white portrait and overlapping purple rectangle on the left, with a vertically centered form on the right. The form collects a name, email address, date, and message, then presents one visible Submit action. Its white background keeps the image and form visually distinct, while light gray field fills and thin purple lower borders create a restrained input treatment. The first form row uses two columns before the date and message fields expand across the available form area.
ID : 92297   |   Category : Contact Form

Purple Accents Connect the Portrait and Form

The black-and-white portrait establishes the block’s strongest visual area, while the purple rectangular accent overlaps that image region and gives the left side a defined color marker. On the right, the vertically centered form uses light gray fills and thin purple lower borders, creating a quieter surface for the practical contact fields. The white background separates these two treatments without adding another competing panel.

From a CSS perspective, the block’s appearance depends on relationships rather than isolated decoration. The accent can echo the lower borders of the inputs, allowing the image and form to share a visual cue. The first row’s two-column arrangement also creates a natural styling boundary: name and email can remain paired, while the date and message fields occupy wider rows below. Alignment and spacing should preserve that progression so the form remains easy to scan.

The visible Submit action belongs at the end of this hierarchy, where its styling can distinguish the response point from the lighter input fields. Nicepage’s styling controls and Custom CSS can support targeted refinements to this section’s colors, borders, spacing, and alignment while keeping the portrait-form relationship intact.

Customize with Nicepage

Open this ready-made template in the CSS Template Builder and customize it visually in the Nicepage editor. Replace demo content, edit page sections, and adapt the design to your project without rebuilding the template from scratch.

Edit Template Offline

1. Download and Install the Nicepage application for Windows and Mac. Or WordPress and Joomla plugins from the download page
2. Create a new page or select existing
3. Click Add new block, search for id 92297 and click enter

Edit Template Online

Run Online Builder to edit this template on our hosting

Create Awesome Websites

WordPress Plugin WordPress
Windows Application Windows App
Joomla Plugin Joomla
Mac OS Application Mac OS App
HTML5 HTML5
Online Builder Online

Free Nicepage Builder

15,000+ Templates
Easy Drag-n-Drop
No Coding
Mobile-Friendly

Keywords


Customize This Block With CSS

Refine the Section Styling

Customize the visual appearance of the block in the Nicepage editor by adjusting typography, spacing, backgrounds, borders, colors, alignment, sizing, and other style properties. Because the block remains one section inside a larger page, styling can focus on the elements that define this particular content area without requiring the rest of the page to use the same treatment.

Add Targeted Custom CSS When Needed

For styling requirements beyond the standard editor controls, use Custom CSS to add targeted rules. CSS can be applied at different scopes, including individual elements, pages, or the website, while CSS classes can connect custom rules with selected elements. This makes it possible to extend the styling of a specific block while keeping its content structure intact.

Review the Block Across Screen Sizes

When spacing, alignment, image proportions, grids, or repeated items change significantly between desktop and mobile layouts, use Responsive Modes to review the same block at different screen widths. The goal is to preserve the visual hierarchy of the section while adapting its styling to the surrounding page.

This workflow keeps the block focused on its original content purpose while giving you visual control over how that section appears within the final page.

Custom CSS and element styling options in the Nicepage editor