How can I create a bit of space between the text and button in my banner? Sahara theme

How can I create a bit of space between the text and button in my banner? Sahara theme

mayatranquila
Excursionist
42 0 14

Screen Shot 2024-12-03 at 11.53.01 AM.png

Replies 2 (2)

dmitry
Shopify Partner
11 1 2

Hi @mayatranquila 

 

If you can't find the necessary settings in the theme (or if they don't exist) to achieve this, you can always do it manually by using custom CSS in your theme ( Online Store -> Current Theme -> Customize -> Theme Settings ( on the left side ) -> Custom CSS ).

 

Add the following CSS code ( You can adjust the margin as you like (e.g., 2.5rem, 3rem, 20px, etc.)) :

 

 

.template--index .hero-banner .hero__title {
  margin-bottom: 2rem;
}

 

 

 

PageFly-Richard
Shopify Partner
5011 1120 1803

Hi @mayatranquila 

 

This is Richard from PageFly - Shopify Page Builder App

 

Please add this code to your theme.liquid above the </head> to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the </head>

<style>
.hero__content.align-center.text-center.justify-center.text-colors-inverse.background-colors-accent-2 {
gap: 20px;
}
</style>

PageFlyRichard_0-1733277731275.png

 

Hope this can help you solve the issue 

 

Best regards,

Richard | PageFly 

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 


All features are available from Free plan. Live Chat Support is available 24/7.