WordPress Tutorial Videos by WP101®

175+ WordPress tutorial videos for non-techies.

  • About Us
    • Top WordPress Products
    • Testimonials
  • WordPress Tutorials
    • Intro to WordPress
    • WordPress 101
    • AIOSEO 101
    • WP Mail SMTP 101
    • Easy Digital Downloads 101
    • WPCode 101
    • WP Simple Pay 101
    • RafflePress 101
    • Elementor 101
    • WPForms 101
    • Spectra 101
    • How to Blog Better
    • WooCommerce 101
    • Beaver Builder 101
    • Ninja Forms 101
    • WP Rocket 101
  • Help Forum
    • Hire a WordPress Expert
  • Blog
  • Contact
  • Sign In

How do I modify the header to display my site title and menu on top of a faint image of my art?

Get answers to your WordPress questions!

Tired of wasting time scouring Google for answers to your WordPress questions? Since 2008, we've helped countless WordPress site owners just like you get unstuck. Get answers to your WordPress questions — plus unlimited access to our entire library of 150+ WordPress tutorial videos. Why not join us today?

View Membership Options
WordPress Questions and Answers › How do I modify the header to display my site title and menu on top of a faint image of my art?
0 Vote Up Vote Down
Gwyned Trefethen asked 5 years ago
I am swapping out my twenty sixteen theme for the latest twenty twenty-one theme. The twenty twenty-one theme has a clean crisp appearance that suits my site. However, I would like to be able to modify the banner/header by overlaying it on top of a faint image of my art. Is this possible? If so, as an artist and not a tech whiz how do I go about doing this?
2 Answers
0 Vote Up Vote Down
Shawn Hesketh answered 5 years ago
Happy to hear that Twenty Twenty-One is a fit for your site. While it doesn't include an interface for adding a background image to your header, that can be accomplished by adding some CSS in Customizer > Additional CSS. First, go to your Media Library and upload the image you wish to use for your header background. Then, copy the URL to the image file. You'll need it in the next step. Now, go to: Appearance > Customizer and open then Additional CSS module at the bottom. In the Twenty Twenty-One theme, the header is identified by the ID #masthead. So, here's an example of some CSS that will add a background image, but also ensure that it's full-width, and that the title and menu are still positioned correctly: #masthead { background-image: url("https://yourdomain.com/wp-content/uploads/example/path/to/image.png"); background-position-x: 50%; background-size: fill; max-width: 100%; margin-left: 0; margin-right: 0; padding-left: 10%; padding-right: 10%; } If you're not comfortable editing CSS, or you want further customizations, you can hire a WordPress coder to knock out simple tasks like this at Codeable. Get a free, no-obligation quote right here on our site. Hope this helps!
0 Vote Up Vote Down
Gwyned Trefethen answered 5 years ago
Wish I had the CSS chops to handle this. I followed your directions to the best of my ability, made sure to publish the CSS I thought you recommended but nothing happens. Here is what I entered.: #masthead { background-image: url ("https://wp.me/aaOkpP-eS"); background-position-x: 50%; background-size: fill; max-width: 100%; margin-left: 0; margin-right: 0; padding-left: 10%; padding-right: 10%; } Is there something I added that shouldn't be included or didn't know to add that is missing? Currently I am running a blog vs site, but the blog has a couple of pages, such as About and Contact. Could this be the problem. I know I could hire someone to help me, but since this is a portfolio site vs. a business, I really don't want to spend the money. Hence the free theme and joining WP101. 
Shawn Hesketh replied 5 years ago

Hi Gwyned,

There appears to be a syntax error in your code snippet above.

background-image: url (“https://wp.me/aaOkpP-eS&”);

Should be:

background-image: url ("http://blog.gwynedtrefethen.com/wp-content/uploads/2021/01/Sunrise-Over-Gulf-River-FV-scaled-e1609852105307.jpg");

Note the straight quote marks. Your snippet included curly quotation marks, which won’t work in CSS.

I also swapped out the URL for the actual path to your background image. You could shorten that to:

background-image: url ("/wp-content/uploads/2021/01/Sunrise-Over-Gulf-River-FV-scaled-e1609852105307.jpg");

See if those changes work for you.

Please login or register to join the conversation!

Share this with someone?

FacebookTweetLinkedIn

Most Recent Questions

  • I took the Sprectra 101 course. Now I’m building my won web site but I still have the Specra Style Guide and I think it’s causing an issue with Sprectra One. How do I get rid of the Style guide? asked by Mallis01, 2 years ago
  • Can you offer any tips, or best practices, on how to redesign and upgrade an old website? asked by FSAuthor, 2 years ago
  • How to create a blog in Spectra? asked by TJ, 2 years ago
  • How do I make all the words show Uppercase? asked by iLoveToLiveWell.com, 2 years ago
  • Why does my right side dashboard top look different than course. asked by Blues1947, 2 years ago

Site Links

  • About Us
  • Your Account
  • Products We ❤️
  • Affiliates
  • Testimonials
  • Blog
  • Contact Us

Courses

  • WordPress 101
  • WooCommerce
  • Elementor
  • Spectra
  • WPForms
  • Ninja Forms
  • View All →

Products

  • WP101.com
  • WP101 Plugin
  • Embed our videos on your site!

Recent Posts

  • I Tested the Best One Page WordPress Themes (Here’s My Top 9)
  • How to Create a Yes/No Optin for Your WordPress Site
  • 9 Best WordPress Conversion Tools (Skyrocket Sales & Signups)
  • How to Track Affiliate Links in WordPress (Full GA4 Guide)
  • I Tested 9 Lightweight WordPress Themes (Which is the Fastest?)

Connect with Us

  • Email
  • Facebook
  • Twitter

WordPress Tutorials by WP101© 2008-2025 WP101® LLC. All rights reserved.
WP101® is a registered trademark with the U.S. Patent and Trademark Office.
WP101® is hosted by SiteGround.
Privacy Policy | Terms of Use | Disclosure | WP101 Coupon