Old code, need help
I built this site many years ago and have been asked to add a donate button. In looking at the code I see an issue which I've been unable to resolve. And out of practice I can barely remember where to start. The site is live so I don't want to damage what is already working and in place.
1 )My FB and IG icons float outside of the container when viewed on an iPad.
2) When that is resolved I'd like to add the GoFundMe donate button to the left of these social icons.
I'd appreciate if someone can help me clean up the code and fix the issue as well as a little guidance as to how to code this to position the GFM button properly.
Many thanks. HTML and CSS attached.
http://basso56.com
<div class="gridContainer clearfix">
<header class="fluid header">
<section class="fluid logo">
<a href="index.html"><img alt="Basso56 Italian Cuisine" src="/images/logo.png"></a>
</section>
<section class="fluid address">
<h3>234 West 56th Street • New York, NY 10019 • <a href=
"tel:+12122652610">T. 212.265.2610</a> • F.
212.265.2612<br></h3>
<h4><a href="https://www.opentable.com/r/basso-56-reservations-new-york?restref=225301&lang=en">RESERVATIONS</a>
</h4>
</section>
<section class="fluid MobileAddress">
<h3>234 West 56th Street<br>New York, NY 10019<br><a href=
"tel:+12122652610">
T. 212.265.2610</a> • F. 212.265.2612<br></h3>
<h4><a href="https://www.opentable.com/r/basso-56-reservations-new-york?restref=225301&lang=en">RESERVATIONS</a>
</h4>
</section>
</header>
<ul class="fluid fluidList MobileNav hide_desktop">
<li class="fluid navItem"><a href="about.html">About</a>
</li>
<li class="fluid navItem"><a href>Menu</a>
<ul class="fluid fluidList subNav">
<li class="fluid subNavItem"><a href="lunch.html">lunch</a></li>
<li class="fluid subNavItem"><a href="dinner.html">dinner</a></li>
<li class="fluid subNavItem"><a href="dolci.html">dolci</a></li>
</ul>
</li>
<li class="fluid navItem"><a href>Wine list</a>
<ul class="fluid fluidList subNav">
<li class="fluid subNavItem"><a href="wine.html">wine list</a></li>
<li class="fluid subNavItem"><a href="spirits.html">spirits</a></li>
<li class="fluid subNavItem"><a href="digestivi.html">digestivi</a></li>
</ul>
</li>
<li class="fluid navItem"><a href="reviews.html">Reviews</a>
<ul class="fluid fluidList subNav">
<li class="fluid subNavItem"><a href="reviews.html">press/media</a></li>
</ul>
</li>
<li class="fluid navItem"><a href="contact.html">Contact</a>
<ul class="fluid fluidList subNav">
<li class="fluid subNavItem"><a href="reservations.html">reservations</a></li>
</ul>
</li>
</ul>
<div class="fluid" id="navbar">
<ul>
<li>
<a href="about.html">about</a>
</li>
<li>
<a href>MENU</a>
<ul>
<li><a href="lunch.html">lunch</a></li>
<li><a href="dinner.html">dinner</a></li>
<li><a href="dolci.html">dolci</a></li>
</ul>
</li>
<li>
<a href>WINE LIST</a>
<ul>
<li><a href="wine.html">wine list</a></li>
<li><a href="spirits.html">spirits</a></li>
<li><a href="digestivi.html">digestivi</a></li>
</ul>
</li>
<li>
<a href="reviews.html">REVIEWS</a>
<ul>
<li><a href="reviews.html">press/media</a></li>
</ul>
</li>
<li>
<a href="contact.html">CONTACT/HOURS</a>
<ul>
<li><a href="reservations.html">reservations</a></li>
</ul>
</li>
</ul>
</div>
<section class="fluid Content"><!-- TemplateBeginEditable name="Content" -->
<!-- TemplateEndEditable --></section>
<footer class="fluid footer">
<section class="fluid footerL">
<img alt="" src="/images/quote2.png">
</section>
<section class="fluid footerSocial zeroMargin_desktop">
<a href="https://www.facebook.com/basso56NYC/"><img alt="facebook" border="0" src="/images/facebook-basso56.png"></a><a href="https://www.instagram.com/basso56_nyc/"><img alt="instagram" border="0" src="/images/instagram-basso56.png"></a>
</section>
</footer>
<footer class="fluid copyright zeroMargin_desktop">
<section class="fluid copyrightL">
<h5>Basso56 ©2020 All Rights Reserved.</h5>
</section>
<section class="fluid copyrightR zeroMargin_desktop">
<h5>Site created by <a href=
"http://www.clementinebranding.com/main/">clementine
branding</a></h5>
</section>
</footer>
</div>
@charset "UTF-8";
/* Simple fluid media
Note: Fluid media requires that you remove the media's height and width attributes from the HTML
http://www.alistapart.com/articles/fluid-images/
*/
img, object, embed, video {
max-width: 100%;
}
/* IE 6 does not support max-width so default to width 100% */
.ie6 img {
width:100%;
}
/*
Dreamweaver Fluid Grid Properties
----------------------------------
dw-num-cols-mobile: 4;
dw-num-cols-tablet: 8;
dw-num-cols-desktop: 12;
dw-gutter-percentage: 25;
Inspiration from "Responsive Web Design" by Ethan Marcotte
http://www.alistapart.com/articles/responsive-web-design
and Golden Grid System by Joni Korpi
http://goldengridsystem.com/
*/
.fluid {
clear: both;
margin-left: 0;
width: 100%;
float: left;
display: block;
}
.fluidList {
list-style:none;
list-style-image:none;
margin:0;
padding:0;
}
/* Mobile Layout: 480px and below. */
.gridContainer {
margin-left: auto;
margin-right: auto;
width: 86.45%;
padding-left: 2.275%;
padding-right: 2.275%;
clear: none;
float: none;
background-image: url(/images/background_body.jpg);
}
p { font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
font-style: normal;
font-weight: 400;
font-size: .9em;
line-height:1.25em;
}
h1 {
}
h2 {color: #676027;
font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
font-style: italic;
font-weight: 400;
font-size: 1.1em;
margin: 0;
line-height: 1em;
vertical-align: bottom;
}
h3 {
color: #676027;
font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
font-style: normal;
font-weight: 400;
text-transform: uppercase;
font-size: .7em;
letter-spacing: .1em;
margin: 0;
line-height: 2em;
vertical-align: bottom;
}
h4 {
font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #676027;
font-style: normal;
font-weight: 500;
line-height: 1em;
letter-spacing: .25em;
font-size: 12px;
}
h5 {
font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #676027;
font-style: normal;
font-weight: 400;
letter-spacing: .2em;
font-size: 8px;
/* [disabled]text-align: left; */
text-transform: uppercase;
}
.menu h4{
line-height: 0em;
letter-spacing: .0em;
margin-top:1%;
margin-bottom:1%;
}
.Text {
width: 94%;
display: block;
margin-top: 2%;
margin-right: 2%;
margin-bottom: 2%;
margin-left: 2%;
}
a:link, a:visited {
text-decoration: none;
text-transform: none;
color: #676027;
}
a:hover{
color: #000;
}
.header {
width: 100%;
margin-top: 2em;
border-bottom: 2pt solid #ECAA9D;
border-spacing: 0 0;
margin-bottom: 2em;
}
.logo {
width: 100%;
margin: 0;
}
.logo img {
max-width: 90%;
display: block;
margin-top: 0;
margin-right: auto;
margin-left: auto;
margin-bottom: 2em;
padding-bottom: 10px;
}
.address {display:none;
width: 60%;
margin-left: 1.6949%;
clear: none;
text-align: right;
float: right;
}
.MobileAddress h3 {
text-align: center;
font-size: .8em;
}
.MobileAddress h4 {
text-align: center;
}
/*vertical nav */
#navbar {
display:none;
font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size:90%;
margin-left: auto;
margin-right: auto;
width: 675px;
float:none;
}
#navbar ul { list-style-type: none; margin: 0; padding: 0; }
#navbar li { float: left; }
#navbar li li { clear: left; display: none; }
#navbar li:hover li { display: block; }
#navbar li:hover a {}
#navbar li a { padding: 10px; display: block; text-decoration: none; }
#navbar li a:hover {}
#navbar li {
list-style: none;
float: left;
letter-spacing:1px}
#navbar li a {
display: block;
padding: 0 1.75em 0 1.75em;
text-transform: uppercase;
text-decoration: none;
color: #676027;
}
#navbar li a:hover {
color: #000; }
#navbar li ul {
display: none; }
#navbar li:hover ul, #navbar li.hover ul {
position:absolute;
display:block;
width: 100%;
margin: 0;
padding-left: 3px;
font-size:90%;
letter-spacing: 0px;
}
#navbar li:hover li, #navbar li.hover li {
float: left; }
#navbar li:hover li a, #navbar li.hover li a {
color: #676027;
text-transform: none;
}
#navbar li li a:hover {
color: #000;
}
#navbar li li ul a {
display: none; }
#navbar li li ul a:hover {
position: absolute;
display: block;
width: 100%;
margin: 0;
padding: 0;
}
/* horizontal nav
#navbar {
display:none;
font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size:90%;
margin-left: auto;
margin-right: auto;
width: 550px;
float:none;
}
#navbar li {
list-style: none;
float: left;
letter-spacing:1px}
#navbar li a {
display: block;
padding: 0 2em 0 2em;
text-transform: uppercase;
text-decoration: none;
color: #676027;
}
#navbar li a:hover {
color: #000; }
#navbar li ul {
display: none; }
#navbar li:hover ul, #navbar li.hover ul {
position:absolute;
display:block;
width: 100%;
margin: 0;
padding: 0;
font-size:90%;
letter-spacing: 0px;
}
#navbar li:hover li, #navbar li.hover li {
float: left; }
#navbar li:hover li a, #navbar li.hover li a {
color: #676027;
text-transform: none;
}
#navbar li li a:hover {
color: #000;
}
#navbar li li ul a {
display: none; }
#navbar li li ul a:hover {
position: absolute;
display: block;
width: 100%;
margin: 0;
padding: 0;
}*/
.menu{width: 94%;
margin-left: 2%;}
.menu p{margin-top: 0;}
.menu h2{
color: #676027;
font-weight: 400;
text-transform: uppercase;
font-size: 1.2em;
letter-spacing: .1em;
line-height: 2em;
font-style:normal;
}
.menu h3{
color: #676027;
font-weight: 400;
text-transform: uppercase;
font-size: 1em;
letter-spacing: .1em;
line-height: 2em;
text-align:left;
padding-top:1em;
}
.menu h4{
color: #676027;
font-weight: 400;
text-transform: uppercase;
font-size: .9em;
letter-spacing: .1em;
text-align:left;
}
.wine{width: 94%;
margin-left: 2%;}
.wine p{margin-top: 0; line-height:1.2em;}
.wine h2{
color: #676027;
font-weight: 400;
text-transform: uppercase;
font-size: 1.2em;
letter-spacing: .1em;
line-height: 2em;
font-style:normal;
}
.wine h3{
color: #676027;
font-weight: 400;
text-transform: uppercase;
font-size: 1em;
letter-spacing: .1em;
line-height: 1em;
text-align:left;
padding-top:1em;
}
.wine h4{
color: #676027;
font-weight: 400;
text-transform: uppercase;
font-size: .9em;
letter-spacing: .1em;
line-height:1em;
text-align:left;
}
/* Slideshow */
#slideshow {
margin: 0 auto;
width: 275px;
}
.slideshowR {
height: 370px;
width: 250px;
margin: auto;
}
.slideshowR img {
}
.slideshowCT {
height: 180px;
width: 150px;
margin: auto;
padding-bottom: 10px;
}
.slideshowCT img {
}
.slideshowCB {
height: 180px;
width: 150px;
margin: auto;
}
.slideshowCB img {
}
.slideshowTL {
height: 130px;
width: 205px;
margin: auto;
padding-bottom: 10px;
}
.slideshowTL img {
}
.slideshowBL {
height: 230px;
width: 205px;
margin: auto;
}
.slideshowBL img {
}
#leftCol, #centerCol, #rightCol {
display: none;
}
#leftCol {
width: 205px;
float: left;
margin: 0;
padding: 0;
}
#centerCol {
width: 150px;
/* Account for margins + border values */
float: left;
margin: 0;
padding-left: 10px;
}
#rightCol {
width: 250px;
float: left;
margin: 0;
padding-left: 10px;
}
#rightCol2 {
width: 250px;
float: left;
margin: 0;
padding-left: 10px;
}
#mobSlide {display: block;
width: 100%;
}
.footer {
padding-top: 2em;
padding-bottom: 2em;
margin-top: 2em;
border-top: 2pt solid #ECAA9D;
}
.footerL {
width: 100%;
}
.footerL img {
display: block;
max-width: 90%;
margin: 0 auto;
text-align: center;
}
.footerR {
width: 80%;
clear: both;
margin: 0 auto;
float: right;
padding-top: 1em;
}
.footerR img {
max-width: 60%;
}
.footerSocial {
width: 100%;
margin: 0 auto;
text-align:center;
padding-top: 1em;
}
.footerSocial img {
max-width: 10%;
}
.copyright {
clear: both;
}
.copyright a:link {
text-transform: uppercase;
color: #676027;
}
.copyrightR a:hover {
font-weight: 500;
color: #000;
}
.copyrightR {
text-align: center;
width: 100%;
}
.copyrightL {
width: 100%;
text-align: center;
}
.Content {
padding-top: 4em;
padding-bottom: 2em;
width: 100%;
}
#reservationBox {
display: block;
margin: 0 auto;
position: relative;
width: 170px;
}
.MobileNav {
display: block;
width: 100%;
}
.navItem {
display: block;
font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
font-style: normal;
letter-spacing: .2em;
font-variant: 400;
font-size: medium;
text-align: center;
color: #676027;
padding: .5em 0;
}
.navItem a {
text-transform: uppercase;
}
.navItem a:hover {
display: block;
text-align: center;
color: #000;
}
.subNav ul{
display: none;
}
.subNavItem {
font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: small;
}
.subNavItem a{text-transform: none;}
#contentImgMobile {display:block;}
#contentImgDesktop {
display: none;
width: 50%;
float: left;
}
#contactInfo {
display:none;
float: right;
width: 45%;
}
#contactInfoMobile {
display: block;
width: 100%;
text-align: left;
}
#contactInfoMobile h2 {margin:0; padding:0;line-height:1em;}
#contactInfoMobile p {margin:0; padding:0;}
#contactInfo p{margin:0; padding:0;}
#contactInfo h2{margin:0; padding:0; line-height:2em;}
#wrap {
width: 96%;
margin: 0 auto;
}
.zeroMargin_mobile {
margin-left: 0;
}
.hide_mobile {
display: none;
}
.menu h6 {
text-align: left;
text-decoration: none;
font-weight: normal;
font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 0px;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
line-height: 1.5em;
font-style: italic;
font-size: 0.75em;
}
.menu p {
line-height: 1.5em;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 0px;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
font-style: normal;
font-size: 1em;
}
.Text img {
padding-right: 75px;
padding-bottom: 75px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 0px;
}
/* Tablet Layout: 481px to 768px. Inherits styles from: Mobile Layout. */
@media only screen and (min-width: 481px) {
.gridContainer {
width: 90.675%;
padding-left: 1.1625%;
padding-right: 1.1625%;
clear: none;
float: none;
margin-left: auto;
}
/* Slideshow */
#slideshow {
}
.footerL img {
max-width: 70%;
}
.footerR {
width: 100%;
margin: 0 auto;
text-align: center;
}
.footerR img {
max-width: 35%;
}
.copyright {
width: 100%;
clear: both;
margin-left: 0;
}
.mobileNav {
}
.MobileNav {
display: block;
}
.navItem {
display: block;
}
.subNav {
}
.subNavItem {
}
#contentImgMobile {display:none;}
#contentImgDesktop {display:block;}
#contactInfo {
display:block;
}
#contactInfoMobile {
display:none;
}
#mobSlide {
}
.hide_tablet {
display: none;
}
.zeroMargin_tablet {
margin-left: 0;
}
#contactInfo h2 {
}
}
/* Desktop Layout: 769px to a max of 1232px. Inherits styles from: Mobile Layout and Tablet Layout. */
@media only screen and (min-width: 769px) {
.gridContainer {
width: 88.5%;
max-width: 1232px;
padding-left: 0.75%;
padding-right: 0.75%;
margin: auto;
clear: none;
float: none;
margin-left: auto;
}
h3 {
text-align: right;
}
h4 {
text-align: right;
}
h5 {
font-size: 9px;
}
.header {
height: 100%;
}
.logo {
float: left;
width: 35%;
}
.logo img {
display: block;
max-width: 90%;
margin: 0;
height: auto;
}
.address {
display: block;
}
.MobileAddress {
display: none;
}
.footer {
padding-top: 2em;
padding-bottom: 2em;
margin-top: 2em;
border-top: 2pt solid #ECAA9D;
}
.footerL {
width: 57.6271%;
float: left;
}
.footerL img {
max-width: 70%;
margin: 0;
text-align: center;
color: undefined;
}
.footerSocial {
width: 64px;
text-align:right;
position:relative;
right:-462px;
clear: none;
padding-top: 10px;
}
.footerSocial img {
max-width: 50%;
}
.footerR {
width: 40.6779%;
margin-left: 35.5932%;
clear: none;
padding-top: 0;
}
.footerR img {
max-width: 45%;
}
.copyright {
width: 100%;
margin-left: 1.6949%;
clear: both;
}
.copyrightR {
float: right;
clear: right;
text-align: right;
width: 50%;
}
.copyrightL {
float: left;
width: 40%;
clear: both;
text-align: left;
}
#navbar {
display: block;
font-size:84%;
width: 660px;
}
.menu{width: 70%;
margin-left:15%;}
.wine{width: 70%;
margin-left:15%;}
.wine p{margin-top: 0; line-height:.4em;}
#slideshow {
width: 625px;
}
#leftCol {
display: block;
}
#centerCol {
display: block;
}
#rightCol {
display:block;
}
#rightCol2 {display: block;
}
#mobSlide { display:none;
}
.mobileNav {
}
.MobileNav {
}
.navItem {
display: block;
}
.subNav {
}
.subNavItem {
}
#contentImgMobile {
display:none;
}
#contentImgDesktop {
display:block;
}
#contactInfo {
display: block;
text-align: left;
}
#contactInfoMobile {
display:none;
}
.zeroMargin_desktop {
margin-left: 0;
}
.hide_desktop {
display: none;
}
}
