Add Background Image To Minimum Pro Themes Tagline

This tutorial simply shows you how to add an image to the background of the site tagline area in the Minimum Pro child theme by StudioPress.

Here’s the default tagline without any customization to the taglines CSS:

default

Lets add this CSS to the very end of the child themes style.css file:

.site-tagline {
    background-image: url('images/bg.jpg');
}

And this is what the CSS produces:

add background image to minimum pro theme

Lets change the color of the font and add a semi transparent background to the text.

.site-tagline p {
    background-color: rgba(0, 0, 0, 0.8); 
	padding: 20px;
	color: #fff;
    font-weight: bolder;
}

You can play around with the 0.8 to change the background color.

minimum pro

Here’s what 0.6 produces:

background transparency

Related Tutorials

Join 5000+ Followers

Get The Latest Free & Premium Tutorials Delivered The Second They’re Published.