Remove News Letter from specific page

New Member
4 0 0

Hello guys,

 

I am stuck on trying to hide the news letter from this page, also how can I remove the white gaps between the sections ?

 

Page Link 

 

Thank you so much for the help

0 Likes
Shopify Partner
435 83 94

Hello 

You can use this 

{% unless page.handle == 'konnected-vs-ring-retrofit-alarm' %}
  // Your news letter code goes here
{% endunless  %}

For section gap, use css like this

div#shopify-section-newsletter-bar {
    margin-bottom: 14px;
}

For top gap you have to use above section class


Thanks

Want to modify or custom changes on store hire me.
My Email: guleriathakur43@gmail.com
Skype: navrocks1
If helpful then please Like and Accept Solution.
If you are happy and want to donate small Click here (Its my paypal)
0 Likes
New Member
4 0 0
{% unless page.handle == 'konnected-vs-ring-retrofit-alarm' %}
  // newsletter-bar
{% endunless  %}

hmm not sure I did it right, the news letter is called "newsletter-bar" 

0 Likes
Shopify Partner
435 83 94

This is right, you have to  just wrap your news letter section code in it

Want to modify or custom changes on store hire me.
My Email: guleriathakur43@gmail.com
Skype: navrocks1
If helpful then please Like and Accept Solution.
If you are happy and want to donate small Click here (Its my paypal)
0 Likes
New Member
4 0 0

still a bit confused. the code inside of the "newsletter-bar.liquid" ? I tried to copy and paste the code inside of it but I get an error

 

Screen Shot 2019-12-02 at 2.25.22 PM.png

 

 

also how can I hide the nav bar on this page ? 

0 Likes
Shopify Partner
435 83 94

You are on wrong file also this file also as i check in screen-shot this file also have error.
I suggest hire someone to do this. About hide nav bar on this page, Use same code i shared and wrap nav inside it.
Thanks

Want to modify or custom changes on store hire me.
My Email: guleriathakur43@gmail.com
Skype: navrocks1
If helpful then please Like and Accept Solution.
If you are happy and want to donate small Click here (Its my paypal)
0 Likes