🐳 10/02 - 03:40 - in template-usedcarbuyers.php you have this at the top and bottom: ```phpI've been deleting it because i got an error. is that right?
Browse files- style-usedcarbuyers.css +28 -1
- template-usedcarbuyers.php +4 -0
style-usedcarbuyers.css
CHANGED
|
@@ -1,4 +1,31 @@
|
|
| 1 |
-
/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
#usedcarbuyers-ai * {
|
| 3 |
margin: 0;
|
| 4 |
padding: 0;
|
|
|
|
| 1 |
+
/* Section Spacing - ensure proper gaps between sections with high specificity */
|
| 2 |
+
#usedcarbuyers-ai section,
|
| 3 |
+
#usedcarbuyers-ai .section-padding {
|
| 4 |
+
padding-top: 8rem !important;
|
| 5 |
+
padding-bottom: 8rem !important;
|
| 6 |
+
position: relative;
|
| 7 |
+
width: 100%;
|
| 8 |
+
}
|
| 9 |
+
|
| 10 |
+
/* First section (hero) needs less top padding due to header */
|
| 11 |
+
#usedcarbuyers-ai section:first-of-type {
|
| 12 |
+
padding-top: 4rem !important;
|
| 13 |
+
}
|
| 14 |
+
|
| 15 |
+
/* Ensure Astra doesn't override */
|
| 16 |
+
#usedcarbuyers-ai .ast-container,
|
| 17 |
+
#usedcarbuyers-ai .ast-row,
|
| 18 |
+
#usedcarbuyers-ai .site-content {
|
| 19 |
+
padding: 0 !important;
|
| 20 |
+
margin: 0 !important;
|
| 21 |
+
max-width: 100% !important;
|
| 22 |
+
}
|
| 23 |
+
|
| 24 |
+
/* Force proper gaps even if Tailwind fails */
|
| 25 |
+
#usedcarbuyers-ai .py-32 {
|
| 26 |
+
padding-top: 8rem !important;
|
| 27 |
+
padding-bottom: 8rem !important;
|
| 28 |
+
}/* Reset and Base Styles */
|
| 29 |
#usedcarbuyers-ai * {
|
| 30 |
margin: 0;
|
| 31 |
padding: 0;
|
template-usedcarbuyers.php
CHANGED
|
@@ -9,6 +9,10 @@ get_header('usedcarbuyers');
|
|
| 9 |
?>
|
| 10 |
|
| 11 |
<div id="usedcarbuyers-ai" class="usedcarbuyers-ai-template">
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
<!-- Enhanced Background with Modern Design -->
|
| 13 |
<div class="fixed inset-0 -z-10 overflow-hidden gradient-bg">
|
| 14 |
<!-- Animated Grid Pattern -->
|
|
|
|
| 9 |
?>
|
| 10 |
|
| 11 |
<div id="usedcarbuyers-ai" class="usedcarbuyers-ai-template">
|
| 12 |
+
|
| 13 |
+
<!-- Spacer for fixed header -->
|
| 14 |
+
<div class="h-20"></div>
|
| 15 |
+
|
| 16 |
<!-- Enhanced Background with Modern Design -->
|
| 17 |
<div class="fixed inset-0 -z-10 overflow-hidden gradient-bg">
|
| 18 |
<!-- Animated Grid Pattern -->
|