Jump to content

code for anchor links is not working

Recommended Posts

Hello guys,

I entered this code but it's conflicting with the anchor links i added to the site, is there anything i can do to the code to be able to use it and also have the anchor links work properly.

/* 768 for tablet - desktop - 992 for desktop */ @media screen and (min-width:768px) {   /* hide navigation */     .header-nav {     display: none; }   /* Hide header button */     .header-actions {     display: none; }     /* show burger */     .header-burger {       display: flex; }    .header-menu-bg {background: #36353A!important;}   .header-menu-nav-item > a {color: white!important;}   .header-menu-nav-item {line-height: 40px!important;}     .header-menu-nav {text-align: centre!important; margin-left: -3%!important;}
      /* Show overlay mobile menu */ .header--menu-open .header-menu { opacity: 1; visibility: visible;   } }
@media screen and (min-width:992px) { div.container.header-menu-nav-item a {     margin-top: 5px !important;     margin-bottom: 20px !important; } }
/* Colour of Hamburger Button */ .burger-inner > div {   background-color: #D3075E !important; }

Link to comment
  • Replies 1
  • Views 868
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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.