Jump to content

Custom CSS not showing up on my site

Recommended Posts

Hello! I have set the following CSS to apply to buttons on hover. Currently, it works as it should when the editor is open, but stops working when I view the page. I've checked all of the code in a validator. Here's all the custom CSS, and bolded the custom CSS that's not working.

 

/*button hover outline*/
.sqs-block-button-element:hover {
  border:2px solid rgb(46, 148, 144);
  background-color:transparent;
  color: rgb(46, 148, 144);
  /*hex:#2e9490*/
}

/*Links color and underline -- nav and body*/

/*nav links*/
.header-nav *, .header-menu-nav * {
  text-decoration:underline !important;
  text-decoration-style:dotted !important;
}

.header-nav-item--active a {
  background-image: none !important;
}

/*nav links hover*/
.header-nav *:hover, .header-menu-nav *:hover {
  text-decoration:underline !important;
  color: #2e9490 !important;
  text-decoration-style: dotted !important;
  transition: opacity 100s;
}

/*body links*/
.sqs-block-html a, .summary-metadata-item a, .summary-title a, .twitter-block a, .image-title a, .blog-item-wrapper a {
      background-image:none !important;
    text-decoration:underline !important;
  text-decoration-style:dotted !important;
}
.sqs-block-html a:hover, .sqs-block-summary-v2 a:hover, .summary-title a:hover, .twitter-block a:hover, .image-title a:hover, .blog-item-wrapper a:hover {
      text-decoration:underline !important;
  color: #1C355E !important;
      text-decoration-style: dotted !important;
  transition: opacity 100s;
}

/*making clipart on front page all 150px tall*/
#block-yui_3_17_2_1_1627938337544_19186, #block-yui_3_17_2_1_1627938337544_21119, #block-yui_3_17_2_1_1627938337544_17959 {
  height: 150px;
}

Unfortunately can't share the URL since this is for work, not a personal account.

 

1789528887_ScreenShot2021-08-26at10_05_10AM.png.515d3bcb7dad6d4b8d088a7d134a34e6.png

Screen Shot 2021-08-26 at 9.43.02 AM.png

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

Archived

This topic is now archived and is closed to further replies.


×
×
  • 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.