i've seen lot of questions this, want extend 1 div in wordpress beyond page content.
i have contact page, , want google map take of bottom of browser above footer. want able (if possible) within cms , not creating specific page template.
current code simply: <div id='gmap_canvas' style='height:440px;width:100%;'></div>
i'm using theme (sydney) built in bootstrap if helps.
something this?
.gmaps { background: url(https://www.somersethouse.org.uk/images/mi/visit/map.jpg); height: 200px; /*might not needed you*/ position: absolute; bottom: 0; left: 0; right: 0; }
<!doctype html> <html> <head> <script src="https://code.jquery.com/jquery.min.js"></script> <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet" type="text/css" /> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script> <meta charset="utf-8"> <meta name="viewport" content="width=device-width"> <title>js bin</title> </head> <body> <div class="container"> content <div class="gmaps"> </div> </div> </body> </html>
note: assumes parent in gmaps div gonna placed in, doesn't have positioning context applied. it's position
static
.