Jump to content

#footer-sections Issue

Go to solution Solved by creedon,

Recommended Posts

Site URL: https://www.barriertoentrypac.com/

Hi there!

I'm having problems with some CSS in my footer. I have two logos in the footer that used to be centered but all of a sudden no longer are. The CSS has worked fine for months. 

This code snippet will no longer center the logos:

.btecircle {
    margin: 17px auto;
    padding: 17px 0 17px 0;
    display: block;
    width: 100px;
}

I dug into the CSS on Google Chrome and found that when I disable this line of code, everything works and looks fine:

#footer-sections a {
    display: inline-block;
}

I'm having problems with that line of code on a few sites. Does anyone have any solutions? I'm stuck and it's driving me up a wall.

Here's the website: barriertoentrypac.com

Thank you!

 

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

Top Posters In This Topic

Popular Days

  • Solution

You could override that footer CSS. Either by section or block id.

#footer-sections [data-section-id="604b65f37184797328463ab3"] a {

  display : unset;
  
  }

 

#footer-sections #block-yui_3_17_2_1_1616092381930_9548 a {

  display : unset;
  
  }

Let us know how it goes.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

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.