Our Style Single Listing Blocks for MyListing guide shows how to easily make your blocks unique, and for this guide, we will be working with merely CSS to accomplish our styling.
Example 1: Two Blocks of Equal Width
In this example, the goal is to have two blocks appear at the top of the Listing, with both having a unique style compared to all other blocks.
The Listing Type we are working with is configured to have a single column layout, so our two blocks will appear with a 50/50 layout above the other blocks.

Listing Type Set Up
- Listing Types > Edit Listing Type > Single Page > Content & Tabs
- Add a Tab if you haven’t already done so
- Edit your Tab
- Set the Tab layout to Single column
Add Blocks
- Add two blocks to your Tab
- Edit each block
- For the Custom Block ID, add “color-block-id” for the value
- For the Custom Block Class, add “color-block-class” for the value
Note: Anytime you set an ID or Class within WordPress, you can name it whatever you want, as long as it is unique.
Add CSS
In short, our CSS Package applies the following style to these blocks.
- Background set to a purple gradient
- Heading text set to white
- Icons set to match the overall branding
- Only apply the style on devices with a viewport of at least 1024 pixels (e.g. iPad Landscape)
Example 2: Contact Form Block
In this example, we are styling the Listing Contact Form block so it stands out from the other blocks.
These steps apply, whether you are using the default MyLisitng contact form field (Contact Form 7), Elementor Pro, or using another forms plugin.

Listing Type Set Up
- Listing Types > Edit Listing Type > Single Page > Content & Tabs
- Add a Tab if you haven’t already done so
- Edit your Tab
Add Blocks
For these steps, we are assuming that like us, you are Replacing Contact Form 7 with Elementor Pro. If you are sticking with Contact Form 7, simply added the Contac Form block.
- Add the Shortcode block to your Tab
- Edit the block
- Paste in the shortcode from your Elementor Pro form
- For the Custom Block Class, add “contact-form-block” for the value
Note: Anytime you set an ID or Class within WordPress, you can name it whatever you want, as long as it is unique.
Add CSS
In short, our CSS Package applies the following style to these blocks.
- Background set to a teal gradient
- Heading text set to white
- Fields set with transparency to allow the gradient to show through
- Button set to match the overall branding