nav#top-menu,
nav#primary-menu {
background: #fafafa;
font-size: 0.9em;
z-index: 100;
width: 50%; /* Need to set this via a variable */
margin: 0 auto;
}
Changed this in style.css:
```
nav#top-menu,
nav#primary-menu {
background: #fafafa;
font-size: 0.9em;
z-index: 100;
}
```
to this:
```
nav#top-menu,
nav#primary-menu {
background: #fafafa;
font-size: 0.9em;
z-index: 100;
width: 50%; /* Need to set this via a variable */
margin: 0 auto;
}
```
nav#top-menu,
nav#primary-menu {
background: #fafafa;
font-size: 0.9em;
z-index: 100;
width: 50%; /* Need to set this via a variable */
margin: 0 auto;
}
to this:
nav#top-menu,
nav#primary-menu {
font-size: 0.9em;
z-index: 100;
width: 50%; /* Need to set this via a variable */
margin: 0 auto;
}
This took care of the background color issue.
Changed this in style.css:
```
nav#top-menu,
nav#primary-menu {
background: #fafafa;
font-size: 0.9em;
z-index: 100;
width: 50%; /* Need to set this via a variable */
margin: 0 auto;
}
```
to this:
```
nav#top-menu,
nav#primary-menu {
font-size: 0.9em;
z-index: 100;
width: 50%; /* Need to set this via a variable */
margin: 0 auto;
}
```
This took care of the background color issue.
Changed this in style.css:
```
nav#top-menu,
nav#primary-menu {
font-size: 0.9em;
z-index: 100;
width: 50%; /* Need to set this via a variable */
margin: 0 auto;
}
```
to this:
```
nav#top-menu,
nav#primary-menu {
font-size: 0.9em;
z-index: 100;
margin: 0 auto;
}
```
Changed this in menus.css:
```
#footermenu {
font-family: sans-serif;
background: #333333;
}
```
to this:
```
#footermenu {
font-family: sans-serif;
background: #333333;
width: max-content;
margin: 0 auto;
}
```
We will still need to adjust colors.
This makes the primary menu the same effective width as the #container div, which means the top and bottom borders on the primary menu will match the width of the container.
Changed this in menus.css:
```
#belowheadermenu {
font-family: serif;
background: #fff;
border-top: solid 0.15em #ddd;
border-bottom: solid 0.15em #ddd;
width: 50%;
margin: 0 auto;
}
```
to this:
```
#belowheadermenu {
font-family: serif;
background: #fff;
border-top: solid 0.15em #ddd;
border-bottom: solid 0.15em #ddd;
max-width: 1000px;
min-width: 700px;
width: 80%; margin: 0 auto;
}
```
This makes the primary menu the same effective width as the `#container` div, which means the top and bottom borders on the primary menu will match the width of the container.
Also changed this in style.css:
```
#container {
margin: 0px auto;
max-width: 1000px;
min-width: 700px;
width: 80%;
background: #ffffff;
padding: 20px;
border-bottom: solid 0.15em #ddd;
}
```
to this
```
#container {
margin: 0px auto;
max-width: 1000px;
min-width: 700px;
width: 80%;
background: #ffffff;
padding: 1.5em 0;
border-bottom: solid 0.15em #ddd;
}
```
This eliminates the entra container padding on the sides.
Also changed this in style.css:
```
#content {
float: right;
padding: 0 2%;
width: 74%;
margin-bottom: 2em;
}
```
to this:
```
#content {
float: right;
padding: 0 0 0 2%;
width: 74%;
margin-bottom: 2em;
}
```
This eliminates the padding on the right side to bring text out in line with the right side of the primary menu borders.
Also changed this in style.css:
```
#sidebar {
float: left;
padding-right: 6%;
/* text-align: right; */
width: 26%;
}
```
to this:
```#sidebar {
float: left;
padding-right: 6%;
/* text-align: right; */
width: 26%;
}
```
I'm not sure if I'll keep that, though.
Changed this in style.css:
to this:
Changed this in menus.css:
to this:
That seems to have done the trick. Now just need to work on border and background issues.
Changed this in style.css:
to this:
This took care of the background color issue.
Changed this in style.css:
to this:
Changed this in menus.css:
to this:
Changed this in style.css:
to this:
Changed this in menus.css:
to this:
Top-end borders are now looking good.
Change this in style.css:
to this:
And delete this from style.css:
Centering, color, and border issues should be resolved now.
Changed this in menus.css:
to this:
We will still need to adjust colors.
Changed this in menus.css:
to this:
This makes the primary menu the same effective width as the
#container
div, which means the top and bottom borders on the primary menu will match the width of the container.Also changed this in style.css:
to this
This eliminates the entra container padding on the sides.
Also changed this in style.css:
to this:
This eliminates the padding on the right side to bring text out in line with the right side of the primary menu borders.
Also changed this in style.css:
to this:
I'm not sure if I'll keep that, though.
This is working now, but we still need to figure out a variable percentage that will work in mobile devices.
Let's close this for now.