We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Custom CSS Code to control the top and bottom padding of the footer

Custom CSS Code to control the top and bottom padding of the footer

outdoorarmory
Excursionist
32 0 12

Hi everyone,

I hope you're having a great day. Could you kindly send me a CSS code for which I can tweak the top and bottom padding of my footer section? Please see below for a better understanding of the matter.

 

Link is: https://theoutdoorarmory.com

 

outdoorarmory_0-1736679940927.png

 

 

Thank you,

Outdoor Armory

Replies 3 (3)

Asad-Mahmood
Shopify Partner
452 80 92

Hi,

You can adjust the top and bottom padding using this css

.shopify-section-footer > nav {
    padding-top: 51px !important;
    padding-bottom: 16px !important;
}
If my solution has been helpful, you can consider supporting me via Buy Me a Coffee.
Hire me: asadmahmood8470@gmail.com
WhatsApp
Fiver




DaisyVo
Shopify Partner
4469 501 598

Hi @outdoorarmory 

 

To complete your requests, please follow these steps:
  1. Go to Shopify Admin > Online Store > Theme > Customize > Theme Settings > Custom CSS https://prnt.sc/i8ljAMlHJUKl
  2. Paste the code provided into the Custom CSS section.

 

nav#shopify-section-footer {
    padding-top: 20px !important;
}
nav#shopify-section-footer > div {
    padding-bottom: 0 !important;
}

 

Here is the result: image_720.png

 

I hope this helps

 

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

Made4uo-Ribe
Shopify Partner
10211 2427 3079

Hi @outdoorarmory 

Try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

nav#shopify-section-footer {
    padding-top: 20px;
}
.shopify-section-footer > nav > * {
    padding-bottom: 0px !important;
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1736705781470.png

     

 

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.