Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 34 additions & 2 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -360,14 +360,46 @@ a:hover{

/* Banner section */

.banner{
/*.banner{
background:url(../images/bannerbg.jpg) no-repeat;
position:relative;
background-size:cover;
}
.main_banner_area video{
position: relative;
z-index: -1;
}
*/
/*New Code Below */


video#bgVideo {
position: relative;
width: 1700;
height: auto;
z-index: -2; // Put the video behind all other elements
}

@media only screen and (max-width: 768px) {
video {
display:none;
}
body{
background-image:url("../images/bannerbg.jpg");
}
}

.single_banner_text,#new_text{
position: relative;
padding-left: 120px;
padding-top: 100px;
padding-bottom: 100px;
z-index: 4;
}

/*New Code Above*/
.main_banner_area{
padding:250px 0px;
padding:75px 0px;
overflow:hidden;
}

Expand Down