AamAadmiParty / india-standalone-drupal

A drupal based website that currently powers http://aamaadmiparty.org/, the "main" site. It is different from other AAP websites in drupal for primarily large scale email sending capabilities, among many other small things. (This website is a contender for merging with 'regional-domainsite-drupal' reposiroty when the latter is ready)
GNU General Public License v2.0
0 stars 1 forks source link

Fix the sticky header. On wider screens it is really screwed up. #105

Closed sumeetpareek closed 10 years ago

sumeetpareek commented 10 years ago

Fix the sticky header. On wider screens it is really screwed up.

Most of developers are on smaller screens and never really noticed this.. but if we use FF and test the site on a really wide screen.. (using FF CTRL+SHIFT+M frame).. this is what we see..

screenshot__2014-01-30__007

screenshot__2014-01-30__008

sumeetpareek commented 10 years ago

Some of the reasons why the header is screwed up..

Steps for solving -

// Add the below
.panels-flexible-row-aap_layout-main-row {
  display: block;
  .panels-flexible-row-aap_layout-main-row-inside {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    margin: 0;
  }
  .top-header-region {
    width: 1000px;
    margin: 0px auto;
  }
}
// Remove the below
.top-header-row {
    padding: 0;
  width: 1000px !important;
  left: 0px;
  padding-left: 8em;
  padding-right: 10em;
  margin-left: 0em;
  z-index: 9990;
  background: white;
  border-bottom: 1px solid green;
  position: fixed;
  top: 0;
}
tkuldeep commented 10 years ago

@sumeetpareek Now on wider screen is showing like this wider_aap

and on normal screen normal_screen

I am changing width from 1000px to 1130px.

sumeetpareek commented 10 years ago

@tkuldeep This is not okay.. We want the content inside the header aligned just like the rest of the page.. the left edge of the logo with the the left edge of page text you see in below paragraphs.. the right edge of the donate/contact buttons with the right edge of the right sidebars..

sumeetpareek commented 10 years ago

Fixed here and in #120