Click here to Skip to main content
15,882,113 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am working on website built using wordpress and a purchased theme.
The website url is www.ringgeorge.com
I would like to add a background image to the website navigation bar.

What I have tried:

I am using the customiser to add a custom code to the CSS.
This is code that I had inserted and published.

#noo-header.noo-header{background-image:url(“
https://ringgeorge.com/wp-content/uploads/2017/07/Handphone-7.jpg”;}

The image was already uploaded in the wordpress site's media library. The url was obtained from this library.

This did not work.Please advise.
Posted
Updated 2-Aug-17 5:10am

1 solution

in the custom.css file, add this code at the bottom of it:
.navbar {
   background-image: url("https://ringgeorge.com/wp-content/uploads/2017/07/Handphone-7.jpg")
}
 
Share this answer
 
Comments
Karthik_Mahalingam 7-Aug-17 0:06am    
5

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900