bottom padding on custom css element

bottom padding on custom css element

joshmet
Visitor
1 0 0

I need some help with this bottom blue padding under a custom element i have. im finding them all over the webste so if somebody could give me a fix all script and how to install it that would be amazing. i have very little technical experience. 

 

the website is huntpackaging.com and the password is "websiteentry"

 

thank you

 

p.s. the custom liquid code: 

 

<video id="Mp4Video-template--16980886454486__165664170732e17dcf" class="video-div" data-type="mp4" src="https://cdn.shopify.com/videos/c/o/v/94e62540057e432ab797454250fc4063.mp4" loop="" muted="" playsinline="" autoplay=""

Replies 4 (4)

Dotsquares
Shopify Partner
47 1 3

Hi @joshmet,

 

I edited the CSS code, and it looks fine now.

Capture.PNG

added Display: Flex in the custom liquid code.

 

Hope it helps. Let me know if you need more help.

 

Regards,

Dotsquares Ltd


Problem Solved? ✔ Accept and Like solution to help future merchants.


Shopify Partner Directory | Trustpilot | Portfolio

Rahul_dhiman
Shopify Partner
740 143 150

Hello @joshmet 
Go to online store ----> themes ----> actions ----> edit code ---->base.css
add this code at the end of the file and save.

@media screen and (min-width: 750px) {
.section-template--18063071379503__custom_liquid_Kn78Rz-padding {
background: #1f1f21 !important;
}
}

result
178.png

If this was helpful, hit the like button and accept the solution.
Thanks

Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront

Contact here


BEST CUSTOMER ACCOUNTS APP WITH CUSTOM WISHLIST OPTION 
TRY OUR APP :

PWC: Customer Accounts & Pages

ZestardTech
Shopify Partner
6069 1087 1457

Hello @joshmet,

 

Here are the steps to apply the necessary changes in your Shopify store:

  1. In your Shopify Admin, navigate to Online Store > Themes > Actions > Edit Code.
  2. Locate Asset > base.css and paste the following code at the bottom of the file:

 

video#Mp4Video-template--16980886454486__165664170732e17dcf {
    width: 100% !important;
}
.section-template--18063071379503__custom_liquid_Kn78Rz-padding {
    display: flex;
    background-color: #1f1f21 !important;
}

 

ZestardTech_0-1737545746559.png

 


Let me know if you need further assistance!

Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Email: support@zestard.com
Shopify Apps URL :- https://apps.shopify.com/partners/zestard-technologies
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing

DaisyVo
Shopify Partner
3688 403 489

Hi @joshmet ,

You can follow the steps here:

 

Step 1: Shopify admin > Online store > Customize: https://prnt.sc/XQ6IDB99kUCd
Step 2: From the left menu > Theme settings > Open Custom CSS: https://prnt.sc/ypQ7nly2wv27
Step 3: Copy the code below and paste it there

 

Here is the code for step 3:

video.video-div {
    width: 100% !important;
}
section:has(.video-div) {
    margin-bottom: -10px !important;
}

Here is the result:

DaisyVo_0-1737619080183.png

Please let me know if it works!

Best,
Daisy

 

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution