
The main problem(repeated problem once again) was the background attachment. The background-attachment property sets whether a background image is fixed or scrolls with the rest of the page. In this case, relative did not work as it was not valid for a background attachment. I changed it from relative to scroll, so it would scroll when the user scrolls down the website.
When it comes to error no.2, I forgot to give a unit to the padding of the search bar, being 5px.
No comments:
Post a Comment