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

Make image flush to bottom edge in Hero 2 columns row

Solved

Make image flush to bottom edge in Hero 2 columns row

melanie-alex
Tourist
4 0 3

Hi, I'm trying to make the image flush to the bottom edge of the row in Hero 2 columns row. It looks like it's currently either cropping or adding color over it...All of these row in the home page show a bar of the background row color under the images.

 

I was going to attach a visual file but it only accepts CSV and Flow??? No png...thats weird...

 

https://www.hatleynaturals.com/

Accepted Solution (1)

theycallmemakka
Shopify Partner
1813 440 474

This is an accepted solution.

Hi @melanie-alex ,

 

I have written custom CSS for this solution. Please follow below steps and let me know your feedback.

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code just above tag </body>

 

 

<style>
.template-index div#shopify-section-1622958573cd44afd5 {
    padding-bottom: 0px!important;
}

.template-index  main#MainContent {
    padding-top: 0px!important;
}
.shopify-section.index-section:has(.feature-row.hero-column-container) {
    padding: 0;
}
</style>

 

 

theycallmemakka_1-1730994163250.png

 

If you require further help to optimize your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!

 

Best Regards,
Makka

 

Support Me: Buy me a Coffee


For quick response - Message Me


Ping me at: theycallmemakka@gmail.com

View solution in original post

Replies 2 (2)

theycallmemakka
Shopify Partner
1813 440 474

This is an accepted solution.

Hi @melanie-alex ,

 

I have written custom CSS for this solution. Please follow below steps and let me know your feedback.

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code just above tag </body>

 

 

<style>
.template-index div#shopify-section-1622958573cd44afd5 {
    padding-bottom: 0px!important;
}

.template-index  main#MainContent {
    padding-top: 0px!important;
}
.shopify-section.index-section:has(.feature-row.hero-column-container) {
    padding: 0;
}
</style>

 

 

theycallmemakka_1-1730994163250.png

 

If you require further help to optimize your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!

 

Best Regards,
Makka

 

Support Me: Buy me a Coffee


For quick response - Message Me


Ping me at: theycallmemakka@gmail.com

Made4uo-Ribe
Shopify Partner
10211 2427 3079

Hi @melanie-alex 

Do you mean removing the top and bottom padding of the hero column section? Like this?

Made4uoRibe_0-1730994186065.png

If it is check 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:

 

.shopify-section.index-section:has(.feature-row.hero-column-container) {
    padding: 0;
}

 

  • And Save.

 

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.