Jump to content

How to remove underlines from links AND removing double up in drop down menu

Recommended Posts

Site URL: http://hen-koala-whbl.squarespace.com

Hi,

I have 3 questions about custom CSS that I am trying for this site 

hen-koala-whbl.squarespace.com

1. I would like to remove underlines from all hyperlinks (see around last section & footer). I have used the following and it is not working. Am I missing something???

p a{

 border-bottom: none !important;

 }

------------

2. I need to remove hyphens across the entire site. Just noticing it on headings on mobile. Code I have used with no success:


p, h1, h2, h3 {
  -webkit-hyphens: manual !important;
     -moz-hyphens: manual !important;
      -ms-hyphens: manual !important;
          hyphens: manual !important;
}

------------

3. Is there a way to stop the double up of 'Services' in the menu drop down?

I need the 'Services' link in the menu to go to a Services landing page, currently the first page in the menu. The services landing page is set up as an index page with a few pages within.

Link to comment

1. Add to Home > Design > Custom CSS

a {
    background-image: none !important;
    text-decoration: none !important;
    border: none !important;
}

2.

* {
  -webkit-hyphens: manual !important;
     -moz-hyphens: manual !important;
      -ms-hyphens: manual !important;
          hyphens: manual !important;
}

3.

a.Header-nav-folder-item[href="/services-index"] {
    display: none;
}

 

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
9 hours ago, tuanphan said:

1. Add to Home > Design > Custom CSS


a {
    background-image: none !important;
    text-decoration: none !important;
    border: none !important;
}

2.


* {
  -webkit-hyphens: manual !important;
     -moz-hyphens: manual !important;
      -ms-hyphens: manual !important;
          hyphens: manual !important;
}

3.


a.Header-nav-folder-item[href="/services-index"] {
    display: none;
}

 

Thank you for your reply. I have copied your code exactly, though nothing has changed. Do you have any idea why? 

 

Screen Shot 2020-05-05 at 10.22.46 am.png

Link to comment

Remove code I sent, and add this to Home > Settings > Advanced > Code Injection > Header

<style>
  a {
    background-image: none !important;
    text-decoration: none !important;
    border: none !important;
}
  * {
  -webkit-hyphens: manual !important;
     -moz-hyphens: manual !important;
      -ms-hyphens: manual !important;
          hyphens: manual !important;
}
  a.Header-nav-folder-item[href="/services-index"] {
    display: none;
}
</style>

 

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
12 minutes ago, tuanphan said:

Remove code I sent, and add this to Home > Settings > Advanced > Code Injection > Header


<style>
  a {
    background-image: none !important;
    text-decoration: none !important;
    border: none !important;
}
  * {
  -webkit-hyphens: manual !important;
     -moz-hyphens: manual !important;
      -ms-hyphens: manual !important;
          hyphens: manual !important;
}
  a.Header-nav-folder-item[href="/services-index"] {
    display: none;
}
</style>

 

Hi, I  just realised my buttons have also lost their border though 😞 any suggestions?

Link to comment
3 minutes ago, Ignacik said:

Hi, I  just realised my buttons have also lost their border though 😞 any suggestions?

Which buttons? Can you post all current code in Custom CSS?

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
1 minute ago, tuanphan said:

I mean code in Custom CSS box, not Code Injection Header

@import url('https://fonts.googleapis.com/css2?family=Encode+Sans:wght@800&display=swap');
@font-face{font-family: 'Encode Sans', sans-serif;}
h1{font-family: 'Encode Sans', sans-serif;wght@800}

 

I only have CSS for the font I imported in Custom CSS. All the rest is in Code Injection header

Link to comment
1 minute ago, Ignacik said:

@import url('https://fonts.googleapis.com/css2?family=Encode+Sans:wght@800&display=swap');
@font-face{font-family: 'Encode Sans', sans-serif;}
h1{font-family: 'Encode Sans', sans-serif;wght@800}

 

I only have CSS for the font I imported in Custom CSS. All the rest is in Code Injection header

Learn more button? You want to add border?

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
2 minutes ago, Ignacik said:

Yes 

Add to Home > Design > Custom CSS

body#collection-5e8bcdc840c6b7251f31692c .sqs-block-button-element {
    border: 1px solid currentColor !important;
}

 

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
1 minute ago, tuanphan said:

Add to Home > Design > Custom CSS


body#collection-5e8bcdc840c6b7251f31692c .sqs-block-button-element {
    border: 1px solid currentColor !important;
}

 

hmm no unfortunately no change. Should I have added any of your other code back here?

Link to comment
1 minute ago, Ignacik said:

hmm no unfortunately no change. Should I have added any of your other code back here?

Can you take screenshot your Custom CSS box?

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
2 minutes ago, tuanphan said:

Try edit Line 3 to


h1 {
	font-family: 'Encode Sans', sans-serif;
	font-weight: 800;
}

 

Unfortunately no change. The line flashes on for a second when I load the page but then disappears 

Screen Shot 2020-05-05 at 11.19.42 am.png

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.