I’d like to change just the top header background in Mustang to an image. I can change everything but not just this part. This is the code I tried, but it hasn’t worked:
background: url(“images/grass.jpg”) repeat scroll 0 0 transparent;
@Cybersnaby: Your css looks fine but I doubt about the image URL. Where are you adding this custom CSS and where is you grass.jpg image. I hope you are not editing core theme files inside ‘catch-mustang’ directory. Please don’t edit those files inside core theme directory as these files will be reverted back to original when you update the theme.
So, the image url has to be in reference with the file path. For any css edits either you need to add custom css in “Appearance => Theme Options => Custom CSS” box or you need to add it by building child theme style.css file
@Cybersnaby: Can you send me your site URL and image URL. As when you have the following css in your child theme style.css. Make sure you have create ‘images’ directory in your child theme and added grass.jpg image inside images directory in your child theme.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.