CSS on Tumblr - Space between header and navigation bar [closed] - html

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
I made some changes to my Tumblr so that it can match my Wordpress blog. I swapped the header out, but now I have a huge space between the header and the nav bar. Any ideas about how I can get rid of it?
You can see my Tumblr here.
I am trying to replicate my blog as much as possible.
Thanks for any tips.

You have an empty container div.
Either delete the container, or put the following in the CSS;
#container {
display: none;
}
or you could set the padding on the #container rule to 0.
Hope this helps.
EDIT: On closer look, you do need to delete your entire container. Delete all this code;
<div id="container">
<div class="blogtitle">
</div>
<div class="description"></div>
</div>
and then delete the styles for #container, .blogtitle, and .description (unless you think you might need them later).

After reviewing you web site I found the issue: Just you need to make following change in CSS:
div#page{
margin: 0px;
}
#masthead{
margin-top: -15px;
}
That's it.

Related

Blogger Soho Theme Main Page Width Between Columns [closed]

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
My Blogger Soho theme main page has two columns listing the posts complete with pictures. The gaps between the columns are too close. May I know if there is a css code to improve that?
Sorry if this question has been answered as I could not find one after searching and I am a newbie in css.
https://retireby50sg.blogspot.com
Thanks in advance for advice!
Actually your image width is going out of div so try to reduce the width of image. here is the css try this
.snippet-thumbnail img {
width: 95%;
}
If you don't post your code is so hard to give you a proper answer, but I could say you that you should open the CSS code about your theme and find the two columns tag or id or whatewer the theme uses, then you could use margin or padding property to make the gap between both bigger.
Use of margin and padding (Because you said you're a newbie hahahaha)
Margin: https://www.w3schools.com/css/css_margin.asp
Padding: https://www.w3schools.com/css/css_padding.asp

How to remove strange white space below the footer of the blog? [closed]

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 5 years ago.
Improve this question
I have just noticed a strange white space gap below the footer of the blog and about which I don't have any idea, as I haven't touched the CSS or any other part of the code of my blog.
Can anybody tell me how to remove that strange white space?
URL - http://examswatch.com
Let me know if I need to provide any more information?
Thanks in advance!
In your header There is margin-bottom:60px in your masthead id please remove it and bottom white space will gone. i am attaching screenshot as well for your help.
Hope it will help you.:)
Remove margin from line number #5577 (Following code)
#masthead {
margin-bottom: 60px;
}
Just a quick tip you should not put everything in header tag. header tag should contain navigation and logo etc not the entire content. I Think you have missed the closing tag for header.
You have to share the piece of code that you think is the problem, and you can not just put the website url here. But for your case I checked the style and here is the problem
#media only screen and (min-width: 959px)#masthead
{
margin-bottom: 60px;
}
You should remove that margin-bottom
The HTML markup is not correct. There are tags which are not closed properly (header tag on line 188) which then results in weird rendering of the HTML markup.
Just remove: margin-bottom: 60px;
that is in #masthead, in style.css file.
remove the below css from your code. I don't why are you using this. but this is the issue.
#media only screen and (min-width: 959px)
#masthead {
margin-bottom: 60px;
}

Wordpress: move sidebar menu to the bottom [closed]

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
Could anybody please suggest me a way to move the sidebar menu on this website to the bottom of the page: http://rencontresduvietnam.org/conferences/2016/search-for-life/ ?
I have played with CSS for a while but haven't got expected results :(
Thank you in advance!
Update
I tried the following as suggested by #Souljacker:
.sidebar-container {
position: static!important;
}
and as suggested by #c-travel:
.site-main .sidebar-container {
top: auto;
bottom: 0px!important;
}
The sidebar was moved to the bottom but it's ugly:
Is there a way to limit it to the end of the text?
Thanks.
You have couple of options.
Create the hook for the menu.
Change the menu in the template.
If you change it at your template files (the easiest) you have to go to your theme's folder and find for
sidebar.php
There must be the code that enables your menu to show up on your sidebar...
Mostly themes have the parts isolated, and the bottom should be on the file footer.php , if you are looking to insert it at the footer part, then you can just paste the code there... should work
.sidebar-container {
position: static;
}
This will get it back to the normal code flow.

How to get rid of hidden space HTML/CSS [closed]

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
I building a website with HTML and CSS as part of an exercise. However, I have stumbled across some odd space I need to get rid of. Inspecting the webpage, it seems like there is extra empty content being displayed above my images. This happened after I added navigation arrows.
If anyone have any suggestions on how to deal with this situation I'd be very happy.
The website is as following: http://folk.ntnu.no/nikolahe/gloshaugen/gloshaugen.html
html: http://pastebin.com/micJCBq1
css: http://pastebin.com/WW9i52qc
Suggestions towards layout and good practices are also much appreciated.
This happens because you use position:relative on the #previous and #next elements. Like this they are repositioned but still use up the space they would originally occupy.
Use the following css instead:
.block-wapper {
position:relative;
...
}
#previous {
position: absolute;
left: 10px;
...
}
#next {
position: absolute;
right: 10px;
...
}

How do I get rid of this space in my document [closed]

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
enter code herehttp://jsfiddle.net/rLP5V/
I have my document listed above, for some reason, even when I set margins to 0 the margin between the header1 and nav bar still shows and leaves an unnessecary blank between the both of them. Please let me know how to get rid of it. P.S. The page I am creating is for a project
Elements like h1 and ul have usually their margin set by the browser's (user agent) own stylesheet unless explicitly overwritten :
h1 {
margin: 0;
height: 50px; // SAME HEIGHT AS PROFILE PHOTO
}
ul {
margin: 0;
}
See Fiddle: http://jsfiddle.net/bonatoc/jhU85/1/
Look for the last lines added to the CSS.
The h1 element has a margin defined by the browser. You will have to override this in your CSS.