diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..2e81a07 --- /dev/null +++ b/.htaccess @@ -0,0 +1,6 @@ +RewriteEngine On +RewriteBase / + +# Remove .php extension from URLs +RewriteCond %{REQUEST_FILENAME}.php -f +RewriteRule ^(.*)$ $1.php [L,QSA] diff --git a/car-grid.php b/car-grid.php index 2dd57d9..fabef80 100644 --- a/car-grid.php +++ b/car-grid.php @@ -31,9 +31,9 @@ img
-
+
@@ -76,9 +76,9 @@ img
-
+
@@ -121,9 +121,9 @@ img
-
+
@@ -166,9 +166,9 @@ img
-
+
@@ -211,9 +211,9 @@ img
-
+
@@ -256,9 +256,9 @@ img
-
+
@@ -302,9 +302,9 @@ img
-
+
diff --git a/css/custom.css b/css/custom.css index 6e2e8ba..aacdaab 100644 --- a/css/custom.css +++ b/css/custom.css @@ -197,7 +197,12 @@ transform: scale(1.1); } } - +@media (max-width:768px) { + .header-1 .header-main .header-left{ + margin-left: 20px !important; + } + +} .header-1 .header-main .header-left { display: flex; align-items: center; @@ -216,7 +221,8 @@ @media (max-width: 768px) { .logo { position: absolute; /* Or fixed if you want it to stay while scrolling */ - + width: 100px !important; + height: 43px !important; right: 1px; /* Position it on the right side */ z-index: 10; /* Ensure it's on top of other content */ } diff --git a/css/main.css b/css/main.css index 9635538..037ffd1 100644 --- a/css/main.css +++ b/css/main.css @@ -6020,6 +6020,13 @@ input.main-search-input::placeholder { padding: 0 30px; } } +@media (max-width:768px) { + .car-slider-wrapper .car-slider-image{ + height: 220px !important; + + } + +} .car-slider-wrapper .car-slider-image{ height: 150px; object-fit: cover; @@ -6028,6 +6035,7 @@ input.main-search-input::placeholder { width: 100%; height: 100%; border-radius: 10px; + object-fit: cover; } .car-list-items { diff --git a/parts/CarRental.php b/parts/CarRental.php index f0a1a30..98525b5 100644 --- a/parts/CarRental.php +++ b/parts/CarRental.php @@ -25,9 +25,9 @@ img
-
+
@@ -70,9 +70,9 @@ img
-
+
@@ -115,9 +115,9 @@ img
-
+