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.
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 1 year ago.
Improve this question
After checking examples and trying one of them for myself, I have realized that there's a blank hole that appears under the sidenav. It's probably not related with sidenav, but after you click the menu icon on the top-left most corner, (after sidenav opens) there's huge blank hole appears at the bottom of the page and I couldn't find the reason for that behaviour.
Here's the stackblitz link for that:
https://stackblitz.com/edit/angular-material-sidenav-generate-nav
Thanks for any explanation, have a good day.
you missed to add css to your <mat-sidenav-container> like in Material example :
.example-container {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: #eee;
}
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
I've a page and in a particular section I'm seeing and extrange white space beneth the footer.
I was wondering what could be possible be happeing as it only happens in this seccion of the website:
https://stickersgallito.pe/carrito_de_compras/
Selected it says it is outside the HTML tags:
It's happening because the content of the page is not enough to fill the viewport/screen-size.
So If you add a few more contents to this page, it will solve your problem.
If you don't have more content & want to show footer at the bottom of the page, here is the solution:
#footer-navbar {
background-color: rgb(239, 239, 239);
position: absolute;
width: 100%;
bottom: 0;
}
Use this CSS only on this page.
Thanks
Take a look at your footer-navbar selector. You have an odd margin applied to it that is forcing that section rather than letting it flow properly.
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 working in a CMS based project where I have a left side navigation and content area.
While I click on the menu for first time, it works as expected i.e clickable but If I click for the second time,it(i.e the link) did not work as expected.
Let me give you the link ,
visit sandbox
Note: In index2.html there is a class called main-wrapper, now when I remove that class , the navigation works perfectly.
Please tell me how to fix this problem.
Include the below css in your css file or in inside head tag and your sidebar will now work.
.main-wrapper-dashboard .sidebar {
z-index: 9999;
}
Your main sidebar had been overlapped by the secondary sidebar in index2.html thats why you were not able to click the links.
By looking at your page I observed that main-wrapper main-wrapper-pages come over main-wrapper main-wrapper-dashboard so you can not click on main-wrapper main-wrapper-dashboard so try to add z-index to that:
.main-wrapper.main-wrapper-dashboard {
z-index: 100; //any value more than 10
}
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;
...
}
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.