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
2563 308 641

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. and we also help you to guide how to reach to your potential customers to increase brand presence, engagements and sales for your business or Want to know more. Read our Shopify Blogs.Email us: sales@zworthkey.com
DominantGraph
Tourist
6 0 1

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