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 4 years ago.
Improve this question
I am having some trouble trying to figure out what's happening with my page. As you can see below on the mobile version, it appears right next to the top part of the logo.
My current code for nav (the element in blue) is:
nav {
top: 0;
left: 0;
text-align: center;
font-style: italic;
font-weight: 700;
font-size: 25px;
}
Since it maybe hard to tell just by the picture, you can find the code to this page in https://jsfiddle.net/bg5srnj8/1/
nav > img {
vertical-align: middle;
margin: 0px 25px 10px 25px;
}
you had a 10px margin top in the image.
I hope it works.
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 2 years ago.
Improve this question
I am working in HTML and CSS and I am trying to make a button. However, the button has a border that deviates from the website prototype. I have tried Googling around to no prevail.
This is the button.
This is the code I used (CSS)
height: 50px;
width: 132px;
right: 874px;
top: 610px;
background-color: rgba(0,0,0,0);
color: #FFF;
font-family: Noto Sans JP;
font-size: 15px;
border-radius: 5px;
align-content: center;
vertical-align: middle;
outline: none;
}```
Add border: none; to your CSS class/id like this:
.my-btn-class {
border: none;
}
It will remove all of your button borders.
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 years ago.
Improve this question
How to remove white space from the top of this website
I had added
*{
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: 100%;
vertical-align: baseline;
background: transparent;
}
on my css but still i am getting that white space
Developer tools shows some characters at the beginning of your body tag. Remove them.
You have . (dot) right above in body, remove it
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 years ago.
Improve this question
Good morning,
I need some help removing the whitespace on a hover. The code is as following and i added a screenshot.
div.show_sizes_onhover {
background: rgba(255,255,255,.9);
bottom: -1px;
color: #a1a1a1;
left: 0;
padding: 5px;
position: absolute;
text-align: center;
width: 95%;
z-index: 9999;
I tried to play around with margin/height a bit, but it's not working properly. Thanks in advance.
image
try using
white-space: nowrap;
it should remove the whitespace,
you can also use
white-space: normal;
the difrences are written here
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 7 years ago.
Improve this question
Hi,
I have managed a blog(wordpress) for a company and pasted their header footer code to make the site look uniform. But the social icons in header are not clickable whereas they are clickable in rest of the website. Link to the blog is: Blog
Thank you.
Try this -
.social > li > a
{
padding:5px 3px;
}
.top-bar a
{
background:#0091EA none repeat scroll 0 0;
z-index:9999;
position:relative;
}
This is the solution:
.top-bar {
background: #0091ea none repeat scroll 0 0;
clear: both;
color: #ffffff;
float: left;
font-size: 12px;
padding: 5px 0;
width: 100%;
z-index: 99;
position: relative;
}
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 7 years ago.
Improve this question
I want to remove white space which is colored black on image from both side
to remove this white space from header i add margin-left:-10px
.site-header-main {
float: left;
width: 100%;
margin-left: -10px;
padding: 44px 0 22px;
padding: 4.4rem 0 2.2rem;
background-color: #fff;
}
After adding this I successfully removed white space from the left side but a grey color space comes on right side image here
Please remove the margin: -10; you put in the css and add this to it.
.site-header-main .container {
padding: 0px;
}
The container class is having a margin of 3.3em from both left and right. so this will fix this glitch.
if You want to remove this from the whole site try this
body .container {
padding: 0px;
}