ZERO the Margin on the Dawn theme for a Custom Liquid Section

DominantGraph
Tourist
6 0 1

Greetings Gurus, I'm using a Custom Liquid Section on my index page and simply want to ZERO the Margin to eliminate the gaps above and below.
Please advise

DominantGraph_0-1634573860581.png

 

{%- if template.name == 'index' -%}
  <h1 itemscope itemtype="http://schema.org/Organization">
{%- else -%}
  <div itemscope itemtype="http://schema.org/Organization">
{%- endif -%}

  <a href="/" itemprop="url">
    <img src="{{ "logo.svg" | asset_url }}"
      alt="{{ shop.name }}"
      itemprop="logo">
  </a>

{%- if template.name == 'index' -%}
  </h1>
{%- else -%}
  </div>
{%- endif -%}

  

Replies 11 (11)
Zworthkey
Shopify Partner
3429 405 789

Hii, @DominantGraph 
Paste this code on top of the base.css file.

section#shopify-section-template--15272167112939__1634552218f637ba57 {
    margin-top: -35px !important;
}

Thank You.


If helpful, please Like and Accept Solution.
if you Want to modify or Customize your theme ,
Hire us | Whatsapp. & Want to know more .Email us: sales@zworthkey.com

PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Designing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
DominantGraph
Tourist
6 0 1

That's not working either "-35" Breaks other things and removes the welcome section at the top.