During the creation of the page, I decided to put a "title" which will have the site name and some tabs for the user to be forwarded; however, it always overlaps the first post:
Sinceeachpostislikethis:
Using PHP, CSS, or HTML, how can I make only the first page of the site have an indentation to not overlap by default?
[EDIT] My problem was solved, but I wanted to make it responsive. When I accessed the IP (the site) on my cell phone, as I zoomed in, the navigation bar took up more space (ie there was no way to read anything). How can I do that?
Code:
html {
background: url(images/bg.png) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
.navigationbar
{
width: 100%;
height: 5em;
margin: 0 auto;
background-image: linear-gradient(to right, black, darkgrey);
position: fixed;
top: 0%;
}
.navigationbar img
{
margin: 0 auto;
max-height: 100%;
max-width: 100%
}
.navigationbar_spacer
{
opacity: 100%;
width: 100%;
height: 5em;
}
.postagem
{
padding: 1%;
border-radius: 12px;
width: 33%;
margin: auto auto;
background-color:#edebed;
margin-top: 1%;
}
.postagem div
{
border-radius: 12px;
background-color: #95bcf0;
width: 75%;
margin: auto auto;
}
.postagem h1
{
font-family: "arial";
font-size: 150%;
font-weight: lighter;
text-align: center;
background-color:
}
.postagem p
{
font-family: "book antiqua";
font-size: 100%;
text-align: justify;
text-indent: 2em;
}