Skip to content

Commit 9f3be03

Browse files
committed
update partner us responsiveness
1 parent 6ff82d9 commit 9f3be03

File tree

2 files changed

+17
-12
lines changed

2 files changed

+17
-12
lines changed

partner-us.css

+6-1
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,12 @@ footer {
434434
margin-right: 0;
435435
}
436436
}
437+
@media (max-width: 600px){
438+
.partner_img {
439+
height: 100%;
440+
width: 100%;
441+
}
442+
}
437443

438444
/*----------------------final footer styling---------------------*/
439445

@@ -449,7 +455,6 @@ footer {
449455
.registration-form {
450456
position: relative;
451457
background: #fff;
452-
padding: 2rem;
453458
border-radius: 6px;
454459
display: flex;
455460
flex-direction: column;

partner-us.html

+11-11
Original file line numberDiff line numberDiff line change
@@ -290,9 +290,9 @@ <h2>BENEFITS OF BECOMING A FARMER VENDOR</h2>
290290
<section
291291
class="parter_content bg-light py-lg-5 d-flex w-100 justify-content-center"
292292
>
293-
<div class="container px-md-5 d-flex w-75 flex-column gap-md-5">
294-
<div class="d-flex flex-column flex-md-row align-items-end gap-5">
295-
<div class="d-block">
293+
<div class="container-md container-fluid px-md-5 d-flex w-100 flex-column gap-md-5">
294+
<div class="d-flex justify-content-center align-items-center flex-column flex-md-row align-items-md-end gap-5">
295+
<div class="d-flex w-100 justify-content-center align-items-center">
296296
<div class="partner_img position-relative">
297297
<img src="assets/direct-access.jpeg" alt="business" />
298298
</div>
@@ -311,7 +311,7 @@ <h3 class="" style="font-weight: 500">
311311
</div>
312312

313313
<div
314-
class="d-flex flex-column-reverse flex-md-row align-items-end gap-5"
314+
class="d-flex flex-column-reverse flex-md-row align-items-md-end justify-content-center align-items-center gap-5"
315315
>
316316
<div class="d-flex flex-column gap-md-2">
317317
<h3 class="" style="font-weight: 500">Higher Profit Margins</h3>
@@ -329,7 +329,7 @@ <h3 class="" style="font-weight: 500">Higher Profit Margins</h3>
329329
</div>
330330
</div>
331331

332-
<div class="d-flex flex-column flex-md-row align-items-end gap-5">
332+
<div class="d-flex flex-column flex-md-row align-items-md-end justify-content-center align-items-center gap-5">
333333
<div class="d-block">
334334
<div class="partner_img position-relative">
335335
<img src="assets/price control.webp" alt="business" />
@@ -347,7 +347,7 @@ <h3 class="" style="font-weight: 500">Control over Pricing</h3>
347347
</div>
348348

349349
<div
350-
class="d-flex flex-column-reverse flex-md-row align-items-end gap-5"
350+
class="d-flex flex-column-reverse flex-md-row align-items-md-end justify-content-center align-items-center gap-5"
351351
>
352352
<div class="d-flex flex-column gap-md-2">
353353
<h3 class="" style="font-weight: 500">Flexibility</h3>
@@ -366,7 +366,7 @@ <h3 class="" style="font-weight: 500">Flexibility</h3>
366366
</div>
367367
</div>
368368

369-
<div class="d-flex flex-column flex-md-row align-items-end gap-5">
369+
<div class="d-flex flex-column flex-md-row align-items-md-end justify-content-center align-items-center gap-5">
370370
<div class="d-block">
371371
<div class="partner_img position-relative">
372372
<img src="assets/New-market-opportunities.jpg" alt="business" />
@@ -387,15 +387,15 @@ <h3 class="" style="font-weight: 500">Marketing Opportunities</h3>
387387

388388
<!------------------FORM------------->
389389

390-
<section id="reg-form" class="my-5">
391-
<div class="container my-5 text-center">
390+
<section id="reg-form" class="my-5 position-relative">
391+
<div class="container-md container-fluid my-5 text-center">
392392
<h1>Be Part of our Growing Community!</h1>
393393
<h3>
394394
Show your intent to be a Farmer Vendor. Fill out the form below.
395395
</h3>
396396
</div>
397397

398-
<div class="container registration-form">
398+
<div class="registration-form container-fluid">
399399
<h2>Registration Form</h2>
400400

401401
<form name="submit-to-google-sheet">
@@ -508,7 +508,7 @@ <h2>Registration Form</h2>
508508

509509
<!-------------------------footer section area-------------------->
510510

511-
<footer class="py-5 bg-light">
511+
<footer class="pt-5 bg-light">
512512
<div class="footer-container px-3">
513513
<div class="quick-links">
514514
<h5 class="" style="font-weight: 500">Quick Links</h5>

0 commit comments

Comments
 (0)