Hi everyone! I am currently working on my portfolio page and I keep running into a couple issues. Any help or guidance is greatly appreciated!
-
I discovered that when i scale the browser window down, at one point the nav bar gets messed up. Buttons begin stacking beneath one another, as well as my name, which the height of the nav bar remains the same. Where am I going wrong?
-
How can I vertically center the text in the About Section?
Thank you for any feedback!
—Andrew
HTML:
<div class="container-fluid fixed-nav-bar">
<div class="row">
<div class="nav-content col-xs-6">
<a class="dark-text" href="#">andrew troche</a>
</div>
<div class="col-xs-6 text-right">
<button class="button" href="#about">.about</button>
<button class="button" href="#portfolio">.portfolio</button>
<button class="button" href="#contact">.contact</button>
</div>
</div>
</div>
<div class="container-fluid content1">
<img class="large-image" src="https://s5.postimg.org/qxwd2a05j/Coffee_Laptop.jpg">
<div class="content-about">
<p>Hi. I'm Andrew, and I design websites. Since the early days of the Internet, web design has been a secret passion of mine. Now, it's my life's work.<br/><br/>
I hope you enjoy!</p>
</div>
</div>
<div id="portfolio">
</div>
<div id="contact">
</div>
CSS:
body {
background-color: #F2F1ED;
background-color: rgba(242, 241, 237, 1);
color: #333333;
color: rgba(51, 51, 51, 1);
font-family: Veranda, Arial, Sans-serif;
padding-top: 56px;
}
/TOP NAVIGATION BAR/
.fixed-nav-bar {
position: fixed;
top: 0;
left: 0;
z-index: 9999;
width: 100%;
height: 56px;
background-color: #333333;
background-color: rgba(51, 51, 51, 1);
color: #F2F1ED;
color: rgba(242, 241, 237, 1);
font-family: “Raleway”, “Veranda”, “Arial”, “Sans-serif”;
}
.nav-content {
font-size: 35px;
color: #F2F1ED;
color: rgba(242, 241, 237, 1);
font-family: “Raleway”, “Veranda”, “Arial”, “Sans-serif”;
}
a:link {
color: inherit;
text-decoration: none;
}
a:visited {
color: inherit;
text-decoration: none;
}
a:hover {
color: inherit;
text-decoration: none;
}
a:active {
color: inherit;
text-decoration: none;
}
.button {
background-color: rgba(0, 0, 0, 0.0);
font-size: 20px;
color: #F2F1ED;
color: rgba(242, 241, 237, 1);
}
.button:hover {
background-color: ##ACAAA1;
background-color: rgba(172, 170, 161, 1);
color: #F2F1ED;
color: rgba(242, 241, 237, 1);
}
/ABOUT SECTION/
.large-image {
float: left;
width: 50%;
height: 50%;
background-color: #E6DFA9;
background-color: rgba(230, 223, 169, 1);
}
.content1 {
background-color: #E6DFA9;
background-color: rgba(230, 223, 169, 1);
text-align: center;
margin-left: -15px;
}
.content-about {
font-size: 23px;
text-align: center;
font-family: Gloria Hallelujah, cursive, sans-serif;
}