Jump to content

Header Code Injection Adding Extra Padding

Recommended Posts

Site URL: https://theaboutherpodcast.squarespace.com/

Hi there! 

When I add a simple <div> tag to my header code, I'm getting some extra padding added to all my pages. When I remove the code, the padding is not there. It only happens in the first container/section on the page. Any thoughts? Here's my code I injected in the header:

<div class="logo-title-container">
  <div class="logo-title">
 <a href="/home"><h1>
   Abigail O’Neel
</h1>
<h4>
  <em>ministry wife, podcast host, &amp; bible teacher</em>
   </h4></a>
  </div>
    </div>

 

Link to comment
  • Replies 2
  • Views 246
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Your code is invalid. Try this new code

<div class="logo-title-container">
  <div class="logo-title">
    <h1><a href="/home">Abigail O’Neel</a></h1>
    <h4><em>ministry wife, podcast host, &amp; bible teacher</em></h4>
  </div>
</div>

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.