Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
Improve this question
I have set the header image to not repeat. However, I'm trying to make the website responsive. When in a smaller browser the image begins to repeat.
screen snip of website header background
header css
media query
The property is no-repeat not none, e.g. :
.bg-image {
background-repeat: no-repeat;
}
Related
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 3 months ago.
Improve this question
Hello im an very beginner of html/css i made an navigation bar and an footer till yet. So i wanted an background image now but its bugged idk why. I tested a couple of random images but its for every image. Can someone help me pls? Code and Screenshot of the Problem below
I tried background-repeat: no-repeat;
But i am a very beginer so i dont know what to do. I just want an normal background. The details are already described
* {
background-image: url(ttt.png);
}
The above code means you put every element a background image.
If you just want body with the background image, use below code
body {
background-image: url(ttt.png);
}
You also should set something like background-size to make the size you want.
The doc
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
Improve this question
enter image description here
enter image description here
When I change the background color of the entire page it's working but when I change the specific div container background color it's not working
The reason the backgtround color doesn't change is because you don't have any content in your <div>. If you add some html to your <div>, you will see the background color that you set in your css.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
Improve this question
I want to change the background color of the "Contact" button in the mobile navbar of this website https://originmedia.at with Wordpress to the same orange color like the other buttons on the website. Does anyone know how I can change it?
Try adding this code to Customize > Additional CSS:
#menu-2-5279cfc li:last-child a {
background: cornflowerblue;
color: #fff;
}
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
When my site loads the view is correct but if you scroll right there is a gap. All div's have 100% width set and no padding on right... I went through each element to putting display:none trying to single the problamatic element but this didn't help either. A test version of the site is available at www.emma-cooper.co.uk
Take width:100%; out of the #logo CSS definition, and the right and left padding off the
div#hmenu definition (make it padding:0.8em 0;)
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
I'm trying to give my search bar a background, using css. But chrome keeps giving the error "invalid property value". Which is weird because my navigation bar is the exact same code but doesn't give the error?
http://ispiked.net/tests/
This is because you've also specified "no-repeat" along with your background image. Alter your code to:
background: url(images/searchbar.png) no-repeat;
Another way to do that is to use background-repeat property.
background-image: url('images/searchbar.png');
background-repeat: no-repeat;