Jump to content

Syntax Error

Recommended Posts

Site URL: http://www.lifeandtimesofayorkshirelad.com

Hi,

I have been trying to put in a new code for my site to change the text in the gallery page so that when you over offer it, it displays itself.

I have already created new codes for other parts of my site, however, whenever I try and create a new code all off my other codings stop working. Why is this?

Also I have a syntax error!

Help please!

 

Link to comment
  • Replies 5
  • Views 803
  • Created
  • Last Reply

.entry-date{display:none;}
.header-actions .icon--fill svg {fill:!important}
.header-actions .icon--fill svg:hover {fill:orange!important}
.header-actions .btn:hover {background-color:#f69477; color:#555; opacity:1!important}
.header-nav *:hover {
    color: orange !important;
}
.sqs-svg-icon--wrapper:hover .sqs-use--icon {fill: orange!important;}
.sqs-svg-icon--list a:nth-of-type(3) {
  svg {      
    display:none;   
  }   
  background-image: url(https://static1.squarespace.com/static/5e2dc708f41c5763cb342fb6/t/6012d2a1117962334bebbdfe/1611846305490/iconfinder_323_Strava_logo_4375097.png);   
  background-size: 100%;   
  background-repeat: no-repeat;   
}
.sqs-svg-icon--list a:nth-of-type(1) {
  svg {      
    display:none;   
  }   
  background-image: url(https://static1.squarespace.com/static/5e2dc708f41c5763cb342fb6/t/6012d44105ac0514f98b7efd/1611846724151/580b57fcd9996e24bc43c521.png);   
  background-size: 100%;   
  background-repeat: no-repeat;   
}
.sqs-svg-icon--list a:nth-of-type(2) {
  svg {      
    display:none;   
  }   
  background-image: url(https://static1.squarespace.com/static/5e2dc708f41c5763cb342fb6/t/6012d501b5177e39f8b7d259/1611846913799/facebook-logo-png-transparent-background.png);   
  background-size: 100%;   
  background-repeat: no-repeat;   
}
.sqs-svg-icon--list a:nth-of-type(4) {
  svg {      
    display:none;   
  }   
  background-image: url(https://static1.squarespace.com/static/5e2dc708f41c5763cb342fb6/t/6012d554d802bd379c2264b5/1611846996787/16066.png);   
  background-size: 100%;   
  background-repeat: no-repeat;   
}

Link to comment
On 3/4/2021 at 10:47 PM, Rjoseph said:

.entry-date{display:none;}
.header-actions .icon--fill svg {fill:!important}
.header-actions .icon--fill svg:hover {fill:orange!important}
.header-actions .btn:hover {background-color:#f69477; color:#555; opacity:1!important}
.header-nav *:hover {
    color: orange !important;
}
.sqs-svg-icon--wrapper:hover .sqs-use--icon {fill: orange!important;}
.sqs-svg-icon--list a:nth-of-type(3) {
  svg {      
    display:none;   
  }   
  background-image: url(https://static1.squarespace.com/static/5e2dc708f41c5763cb342fb6/t/6012d2a1117962334bebbdfe/1611846305490/iconfinder_323_Strava_logo_4375097.png);   
  background-size: 100%;   
  background-repeat: no-repeat;   
}
.sqs-svg-icon--list a:nth-of-type(1) {
  svg {      
    display:none;   
  }   
  background-image: url(https://static1.squarespace.com/static/5e2dc708f41c5763cb342fb6/t/6012d44105ac0514f98b7efd/1611846724151/580b57fcd9996e24bc43c521.png);   
  background-size: 100%;   
  background-repeat: no-repeat;   
}
.sqs-svg-icon--list a:nth-of-type(2) {
  svg {      
    display:none;   
  }   
  background-image: url(https://static1.squarespace.com/static/5e2dc708f41c5763cb342fb6/t/6012d501b5177e39f8b7d259/1611846913799/facebook-logo-png-transparent-background.png);   
  background-size: 100%;   
  background-repeat: no-repeat;   
}
.sqs-svg-icon--list a:nth-of-type(4) {
  svg {      
    display:none;   
  }   
  background-image: url(https://static1.squarespace.com/static/5e2dc708f41c5763cb342fb6/t/6012d554d802bd379c2264b5/1611846996787/16066.png);   
  background-size: 100%;   
  background-repeat: no-repeat;   
}

Remove this code

.header-actions .icon--fill svg {fill:!important}

 

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
  • 2 weeks later...
On 3/10/2021 at 6:10 PM, Rjoseph said:

Thank you! This worked 🙂

On tablet, page content has no left/right margin...

Add this to Design > Custom CSS

/* Contact page margin tablet */
@media screen and (max-width:991px) and (min-width:768px) {
body#collection-5e80bbce63d7965a88ab6787 article .content-wrapper {
    padding-left: 5vw;
    padding-right: 5vw;
}
}

image.thumb.png.290a5f7d01bf3acbee61b83c75e48328.png

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

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.