Style your Backlight contact form success message

Change the styling of the success message.

You may have noticed that the success message you see after sending an email from a Backlight contact form has a blue background. There is nowhere in the Backlight Designer to change this, but with a teeny, weeny bit of css you can style it to match your site’s color scheme.

Just add this to your custom css to control the message background color:

#message.success {
	background-color: #008000;	
}

And for the text:

#message.success h1 {
	color: black;
}

Of course, set the background-color and color (text) to what you require.

You can also add things like drop shadows to the #message.success selector and change the font in the #message.success h1 selector.

This code works with Backlight 1.1.1 as well as Backlight 1.2 (Pangolin).

Leave a Reply

Your email address will not be published. Required fields are marked *

About this site

This site is: a repository of time-savers and best practices from a user's perspective, picked up from several years of using TTG plugins.
This site is not: a support site.
Read more here.

Tip Jar

If this site has saved you some time, kept your hair attached, or otherwise prevented you from tossing the mouse through the monitor, feel free to donate.

Categories


Highly recommended. This is my go-to Lightroom book. Click on the book image. (affiliate link)

Affiliate link!

Current TTG versions

Backlight Versions

Backlight 1.2.2
Pages module 1.2.1
Cart Add-on 4.1.3
Client Response Add-on 7.1.2
Theater Add-on 1.2.1
WordPress Add-on 1.2.1
Publisher 3.2.2

CE4 Versions

TTG-BE: 2.0.5a
Autoindex: 7.0.8
Cart: 3.1.4a
CRG: 6.1.3a
Gallery: 6.1.9
Pages: 7.0.15
Publisher: 2.3.3
Stage: 6.1.6
Theme for WordPress: 3.1.2

Subscribe to new posts