Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

sebgraus

Members
  • Joined

  • Last visited

  1.    sebgraus reacted to a post in a topic: Sidebar not taking up 100% of height
  2. Hey there, I've been trying to build a wordpress site from scratch with a simple grid taken from treehouse. I want to have a vertical "header", so a sidebar that contains the nav-bar and so on. Yet I'm not successful in achieving the "header" to get 100% of the height of the site. I've put the container to 100% height and also the grid-3 class, which both hold the "header" Here's the css for the "header" or "sidebar". header { width: 23.5%; /*235px*/ max-width: 235px; height: 100%; background-color: #f7d846; padding-top:80px; padding-left:0px; float: left; } Here's also a link to the page, http://marielaveau.se/wordpress/testar/ . As you se the yellow header stops after a few 100% and the content (#contentwrapper) with the text just continuos below. I want the #header to take up 23.5% of the width but 100% in height of the whole browser window. Then I want the #contentwrapper to take up 70% of the width, to the RIGHT of the "header"/"sidebar". It works to put the #header div to position:fixed; The problem is that this results in that the contentwrapper appears underneath the #header, aligned to the very left of the page. Could it have anything to do with the way of wordpress pages? Do I have to include the sidebar in every single page for it to work? Is the header.php in wordpress not including 100% of the browser-window? Help anyone?

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.