timmykel Posted April 19, 2023 Share Posted April 19, 2023 I add this custom code for adding a background image for header but its not working. can anybody help me to resolve the issue. .header .header-announcement-bar-wrapper { background-image: url(https://static1.squarespace.com/static/5e5d8db…/t/6438b10…/1681436993567/header+background.jpg); background-repeat: no-repeat; background-size: cover; background-position: center; } Link to comment
Solution VisualNotes Posted April 20, 2023 Solution Share Posted April 20, 2023 (edited) You have entered an incorrect URL: url(https://static1.squarespace.com/static/5e5d8db…/t/6438b10…/1681436993567/header+background.jpg) won't work. Note the three dots in two places of the image URL in your CSS - in their place should be digits that form the URL of the background image. Copy & paste the correct URL of the image, and it should show up as background for the header. Edited April 20, 2023 by VisualNotes Link to comment
timmykel Posted April 21, 2023 Author Share Posted April 21, 2023 On 4/20/2023 at 1:30 PM, VisualNotes said: You have entered an incorrect URL: url(https://static1.squarespace.com/static/5e5d8db…/t/6438b10…/1681436993567/header+background.jpg) won't work. Note the three dots in two places of the image URL in your CSS - in their place should be digits that form the URL of the background image. Copy & paste the correct URL of the image, and it should show up as background for the header. Thanks this solve the issue Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment