What's your biggest current challenge? Have your say in Community Polls along the right column.

Re: Need help with remove the blank line

Solved

How can I eliminate blank lines from my web pages?

Code2018
Excursionist
20 1 1

Hi folks,


I have found there is a blank line on every page, and here is the screenshot of it and the code it shows:

Code2018_0-1713773671333.png

 

Please help me with how to remove it, I didn't find where is it.

 

Thanks for any help!

 

PS: My theme is Taste and the site is: shengliroadmarket.com

 

 

Esson

Accepted Solution (1)

dmwwebartisan
Shopify Partner
12323 2552 3732

This is an accepted solution.

@Code2018 ,

Please check the code of header file or theme.liquid file. Find the special character or text there that you shown in your screenshot.

I am sure there is some code typing mistake.

 

 

If helpful then please Like and Accept Solution | Email: dmw.webartisan@gmail.com |  Instagram: @dmw.webartisan
Check here PageFly App to customize your pages | #1 Product Filter & Search app on Shopify | The most powerful Shopify page builder app

View solution in original post

Replies 6 (6)

PageFly-Amelia
Shopify Partner
626 165 237

Hello @Code2018 

This is Amelia at PageFly - Shopify Advanced Page Builder app.

 

You can try the following steps I have provided to help you solve the problem you are facing:

Step 1: Online Stores > Themes > Edit code

Step 2: Choose file base.css or theme.css

Step 3: Add code

.shopify-section-header-sticky {
   margin-top: -30px;
}

 

Hoping my solution helps you solve your problem.

Best regards,

Amelia | 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) 
➜ Weekly updated Shopify tutorials on YouTube 


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

Code2018
Excursionist
20 1 1

Thanks, Amelia, but that's not the best way to solve this problem, always adding new codes will decrease the speed of the site. 
If you need more to locate the key code, please tell me. I would like to add it.

dmwwebartisan
Shopify Partner
12323 2552 3732

This is an accepted solution.

@Code2018 ,

Please check the code of header file or theme.liquid file. Find the special character or text there that you shown in your screenshot.

I am sure there is some code typing mistake.

 

 

If helpful then please Like and Accept Solution | Email: dmw.webartisan@gmail.com |  Instagram: @dmw.webartisan
Check here PageFly App to customize your pages | #1 Product Filter & Search app on Shopify | The most powerful Shopify page builder app
Code2018
Excursionist
20 1 1

@dmwwebartisan
Thanks, I found that it's in the header file, thanks for your help!

Raj-WebDesigne
Shopify Partner
60 16 14

Add This css in your Edit Code > base.css File 

 

.section-header.shopify-section-group-header-group {
    grid-column: 1 / 1;
    grid-row: 3 / 4;
}
body {
    display: grid;
    grid-template-rows: auto auto auto 0px !important;
}
@media screen and (max-width:990px){
  body{
    grid-template-rows: auto auto auto 0px !important;
  }
  .section-header.shopify-section-group-header-group {
    grid-column: 1 / 1;
    grid-row: 3 / 3;
  }
}

 

If you require further help to optimize your store, please don’t hesitate to reach out.


This contribution will always benefit you and you will get my full help easily and you can contact me easily.


Your Willpower Contribution Link

:- Contribution

Contect On My Mail :-Mail@gmail.com


Code2018
Excursionist
20 1 1

Thanks, but as I said, add codes is not the best way to solve this problem.