The modal’s appearance is organized around a deliberate contrast between the decorative left region and the information-led right region. Bright pink and magenta artwork, including hearts and a gift motif, establishes the seasonal emphasis before the visitor reaches the offer text. On the opposite side, white typography gives the SPECIAL OFFER heading, Valentine's Day and Discount labels, and the 50% value a consistent reading color. The outlined rounded controls continue that treatment around the direct-action button and help distinguish the close control from the surrounding artwork.
The darkened backdrop is also part of the block’s visual styling. It reduces competition from the underlying page and makes the centered rectangle read as one contained promotional layer. Spacing and alignment can therefore be considered in relation to the split: the artwork needs room to remain expressive, while the text side needs enough separation for the discount value and button to retain emphasis. The section’s styling can be adjusted while preserving this relationship between atmosphere, offer information, action, and dismissal. Nicepage’s Custom CSS can provide targeted styling when the standard visual properties do not cover a project-specific treatment, without changing the modal’s underlying content purpose.
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.
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.
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.
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.