Re: I want to bring the text on my image banner a little down

Solved

I want to bring the text on my image banner a little down

swawestore
Explorer
114 0 18

text on my homepage https://swawe.store/ image banner should be a little down on phone screen which now is coming like this Screenshot 2024-08-01 at 19.58.00.jpeg

Accepted Solution (1)

niraj_patel
Shopify Partner
2378 514 511

This is an accepted solution.

Hello @swawestore 

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
@media (max-width: 749px) {
#Banner-template--15945048227930__image_banner_QRXCym .banner__heading {
margin-top: 84px !important;
}
}
</style>

niraj_patel_0-1722522740582.png

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com

View solution in original post

Replies 4 (4)

niraj_patel
Shopify Partner
2378 514 511

This is an accepted solution.

Hello @swawestore 

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
@media (max-width: 749px) {
#Banner-template--15945048227930__image_banner_QRXCym .banner__heading {
margin-top: 84px !important;
}
}
</style>

niraj_patel_0-1722522740582.png

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com

BSS-TekLabs
Shopify Partner
2144 634 737

- Here is the solution for you @swawestore 
- Please follow these steps:

z5686811214059_e66de1953f1db631f9134af5cdb796ad.jpg

- Then find the base.css or theme.css file.
- Then add the following code at the end of the file and press 'Save' to save it.

@media only screen and (max-width: 600px) {
.banner__media img {
 height: auto !important;
} 
}

- Here is the result you will achieve:

BSSTekLabs_0-1722522858269.png

 

 

- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

Made4uo-Ribe
Shopify Partner
7894 1905 2334

Hi @swawestore 

Check this one. 

  1. From you Admin page, go to Online Store > Themes
  1. Select the theme you want to edit
  2. Under the Asset folder, open the main.css(base.css, style.css or theme.css)
  3. Then place the code below at the very bottom of the file.

 

@media (max-width: 749px){
#shopify-section-template--15945048227930__image_banner_QRXCym .banner__box {
    top: unset;
    bottom: 0 !important;
}
}

 

  • And Save. 
  • result:
    Made4uoRibe_0-1722522987621.png

     

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

Acme
Shopify Partner
69 8 13

find base.css file.
@media (max-width: 749px) {
   #Banner-template--15945048227930__image_banner_QRXCym .banner__content {
     justify-content: unset;
     align-items: unset;
     top: 47%;
     transform: translateY(-50%);
     position: absolute;
  }
}