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 Template With CSS

Control Page-Specific Styling

Customize the visual appearance of this ready-made template directly in the Nicepage editor. Adjust typography, spacing, backgrounds, borders, colors, positioning, and other style properties using visual controls while keeping the page layout easy to manage without writing CSS manually.

Add Custom CSS When Needed

For styling requirements that go beyond the standard editor options, use Custom CSS to add targeted rules. CSS can be applied to individual elements, specific pages, or the entire website depending on the scope of the customization, while CSS classes can be used to connect custom rules with selected elements.

Export Minimal CSS Per Page

For projects where CSS size and page performance matter, Nicepage can export minimal CSS for each page. Instead of relying on one larger common stylesheet, each page can use a separate CSS file containing only the style rules required for that particular page. According to Nicepage documentation, these page-specific CSS files can be about ten times more compact, helping reduce unnecessary CSS and improve page loading performance.

This workflow combines visual styling with optional custom CSS and optimized page-specific CSS output, giving you additional control when a project requires it without making manual CSS editing the primary way to customize the template.

Custom CSS and element styling options in the Nicepage editor