diff --git a/css/style.css b/css/style.css index 1c38597..e2ebac7 100644 --- a/css/style.css +++ b/css/style.css @@ -10990,4 +10990,21 @@ textarea.form-control { height: 100%; background: linear-gradient(90deg, rgba(0, 43, 73, 0.8) 0%, rgba(0, 43, 73, 0.2) 100%); z-index: 1; +} + + +@media only screen and (max-width: 768px) { + .button-container { + display: flex; + flex-direction: column; /* Stacks buttons vertically */ + gap: 15px; /* Creates uniform space between buttons */ + align-items: center; /* Centers them horizontally */ + height: auto; /* Ensures the container grows to fit them */ + } + + .button-container a, + .button-container button { + width: 100%; /* Optional: makes buttons full-width on mobile */ + max-width: 300px; /* Keeps them from getting too wide */ + } } \ No newline at end of file diff --git a/new-build-loft-boarding.php b/new-build-loft-boarding.php index fd83493..13c2e17 100644 --- a/new-build-loft-boarding.php +++ b/new-build-loft-boarding.php @@ -33,7 +33,7 @@ include_once $URLcorrection . 'includes/header.php';
-

We specialise in creating storage in new build lofts with our very own LOFT-E®

+

We specialise in creating storage in new build lofts with our very own LOFT-E®

@@ -169,7 +169,7 @@ include_once $URLcorrection . 'includes/header.php';
-

Will Professional Loft Boarding Void My NHBC Warranty?

+

Will Professional Loft Boarding Void My NHBC Warranty?

@@ -265,10 +265,10 @@ include_once $URLcorrection . 'includes/header.php';