Remove White Space on Template Page Above Footer - Prestige Theme

Solved

Remove White Space on Template Page Above Footer - Prestige Theme

Riig
Tourist
9 0 5

Hello-

I'm trying to remove a white space directly above the footer on a custom page template I created within the Prestige theme.  I've seen many (most I believe) of the similar posts related to this issue, however none of the suggested code solutions have worked for me.  To be clear, I'm only seeing this white space on a brand new page template I created myself....nowhere else.

 

Here's a screenshot:

2023-01-12_16-05-32.jpg

 

Thanks for any assistance.

Accepted Solution (1)
BSS-Commerce
Shopify Partner
3477 464 554

This is an accepted solution.

Hi @Riig 

You can try adding the above code to one of the JS files until it works, for example, the following files:

view - 2023-01-16T140022.430.png

Please check if the path is the same as the one in the URL bar:

view - 2023-01-16T140032.110.png

view - 2023-01-16T140035.884.png

I hope that it will work for your site.

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


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency

View solution in original post

Replies 8 (8)

GemPages
Shopify Partner
5625 1262 1279

Hello @Riig 

Can you give me your Store URL( with pass if your store password is enabled) so I can check it for you?

Kind & Best regards,
GemPages Support Team

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center
Riig
Tourist
9 0 5
BSS-Commerce
Shopify Partner
3477 464 554

Hi @Riig 

 

You can go to Online store > Themes > Edit code. Then, find in the assets folder the JS files and paste the code below. Usually, the file is named global.js or theme.js, you can try in several files until the code snippet work:

if(window.location.pathname === '/pages/template-test-page') {
    document.querySelector('.Footer.Footer--withMargin').className = 'Footer'
}

You can replace the path '/pages/template-test-page' with a link to a page with the same problem.

I hope that it will work for you.

 

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


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency
Riig
Tourist
9 0 5

(Sorry reposting to correct place in thread)

 

Hi- that didn't seem to work.  I added your code to the bottom of my theme.js file.  Adding screenshots of code implementation and also our Asset files in case you think a different .js file would work.  Thanks very much.

 

code1.jpgassets.jpg

BSS-Commerce
Shopify Partner
3477 464 554

This is an accepted solution.

Hi @Riig 

You can try adding the above code to one of the JS files until it works, for example, the following files:

view - 2023-01-16T140022.430.png

Please check if the path is the same as the one in the URL bar:

view - 2023-01-16T140032.110.png

view - 2023-01-16T140035.884.png

I hope that it will work for your site.

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


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency
Riig
Tourist
9 0 5

This worked when adding your suggested to code our libs.min.js file.  Thanks very much!

Riig
Tourist
9 0 5

Hi- that didn't seem to work.  I added your code to the bottom of my theme.js file.  Adding screenshots of code implementation and also our Asset files in case you think a different .js file would work.  Thanks very much.

code1.jpgassets.jpg

BSS-Commerce
Shopify Partner
3477 464 554

Hi @Riig 

Can you kindly share your store link (with the password, if any) with us? We will check it and suggest you a solution if possible.

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


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency