Jump to content

SupaJ

Member
  • Posts

    18
  • Joined

  • Last visited

Everything posted by SupaJ

  1. @creedon, for what it's worth, I just tried taking this bit of code out, because I think that's what was causing the individual lines of text to change color on hover (including scrolling over text in the footer). when i remove it, the only issue seems to be how slowly the text transitions colors even though i have it set to 0s. 😕 /* apply the hover effect to h4 elements within .sqs-block-content */.sqs-block-content:hover .sqsrte-text-color--lightAccent:hover{ color: #444441 !important; /* change text color to black on hover */ transition: color 0.05s ease; /* add transition for smooth effect */}
  2. Thanks for the reply. Actually, all the block ids I'm concentrating on are listed in the code (6 of them). The others were meant to show overlay colors to my client. Sorry for any confusion. So, it's just the first set of 6 images/text blocks that I'm trying to get the effect to work for. You should be able to see that it's transitioning correctly colorwise but the transition is super slow and disjointed. Like, you hover and the background changes and then the text color fades in after that. Hope that makes sense.
  3. ok. after playing around with this for far too long, the color transitions are correct. but...it still transitions too slowly. if i set the transitions to 0s though, each line of text changes immediately only when scrolling over them and THEN all the text fades into the correct color which makes it look glitchy. so, if anyone can figure out a way to make this seem a little smoother, i'm all ears. otherwise, i think it's the best fix i'll be able to get. /* set the initial background color and text color */ #block-4d9159bed5c68c86d676, #block-5fe23bf021cbdac4b243, #block-58052db15bcb402167b3, #block-362f90c2afaf8844ec0c, #block-75ac13840ab92eacc286, #block-569f7648aaa626926741 { background: rgba(68, 68, 65, 0.5); /* set a dark grey color with 50% opacity */ padding: 1px; text-align: center; color: #f8f0e2; transition: background-color 0.05s ease, color 0.05s ease; /* add transition for smooth effect */ } /* apply the hover effect to all the blocks */ #block-4d9159bed5c68c86d676:hover, #block-5fe23bf021cbdac4b243:hover, #block-58052db15bcb402167b3:hover, #block-362f90c2afaf8844ec0c:hover, #block-75ac13840ab92eacc286:hover, #block-569f7648aaa626926741:hover { background: rgba(248, 240, 226, .5); /* change background color to transparent beige on hover */ color: #444441 !important; /* change text color to #444441 on hover */ } /* apply the hover effect to all the text within the blocks */ #block-4d9159bed5c68c86d676 *, #block-5fe23bf021cbdac4b243 *, #block-58052db15bcb402167b3 *, #block-362f90c2afaf8844ec0c *, #block-75ac13840ab92eacc286 *, #block-569f7648aaa626926741 * { color: inherit; transition: color 0.05s ease; /* add transition for smooth effect */ } /* apply the hover effect to h4 elements within .sqs-block-content */ .sqs-block-content:hover .sqsrte-text-color--lightAccent:hover{ color: #444441 !important; /* change text color to black on hover */ transition: color 0.05s ease; /* add transition for smooth effect */ }
  4. @tuanphan you're good with these things. 😁 any idea why I can't get the text to transition from dark to light on hover? everything other part of the effect is perfect!
  5. Hi @abibacon. I have a text block with a transparent background over an image block. So, it's the text block background and text colors I want to change on hover (and I want to keep the background transparency).
  6. Hello. I am using the color codes and css below to make certain homepage images have a transparent dark grey overlay with beige text change to a transparent beige background with dark grey text on hover (basically just switching colors on hover). However, the text is staying beige, even when adding "important" to the code. Not sure what the issue is. If someone could figure out how to make the hover text grey, I'd be so grateful. Thanks! website: www.quadrant25.com pw: Quadrant25 Cream color codes: RGB: 248, 240, 226, HEX: #f8f0e2, HSL: 38, 61, 92 Grey color codes: RGB: 68, 68, 65, HEX: #444441, HSL: 60, 2, 26 /* set the initial background color and text color */ #block-4d9159bed5c68c86d676, #block-5fe23bf021cbdac4b243, #block-58052db15bcb402167b3, #block-362f90c2afaf8844ec0c, #block-75ac13840ab92eacc286, #block-569f7648aaa626926741 { background: rgba(68, 68, 65, 0.5); /* set a dark grey color with 50% opacity */ padding: 1px; text-align: center; color: #f8f0e2; transition: background-color 0.3s ease; /* add transition for smooth effect */ } /* apply the hover effect to all the blocks */ #block-4d9159bed5c68c86d676:hover, #block-5fe23bf021cbdac4b243:hover, #block-58052db15bcb402167b3:hover, #block-362f90c2afaf8844ec0c:hover, #block-75ac13840ab92eacc286:hover, #block-569f7648aaa626926741:hover { background: rgba(248, 240, 226, 0.5); /* change background color to transparent beige on hover */ color: #444441 !important; /* change text color to #444441 on hover */ }
  7. Hi, actually, I didn't solve it. I had a client meeting and was showing them an option for the logo. This is just one image edited to be on top of the other and then saved as one image. We'd still like to do what I mentioned in the initial post. Thanks!
  8. Thanks for the info. You can disregard. I decided to try something else.
  9. Thanks for replying! Sorry I missed it earlier. It's www.quadrant25.com. PW: Quadrant25
  10. Hi. I'm looking for a way to add a logo on top of a gallery slideshow but to also make it dissolve after a few seconds. We want the logo to be front and center when people come to the site but we also want the images to be easily seen as the slideshow progresses. I know nothing about code but I'm hoping someone is able to help me do this. If I could also get the code to only have the logo overlay on the slideshow (no disappearing needed), that would be helpful too. I'd like the option to do one or the other as needed. I had looked up code to do this but couldn't get it to work on my site. Not sure what I was doing wrong. Thank you! Site: www.quadrant25.com Site Password: Quadrant25
  11. @tuanphan would you be able to help me do this with my site: www.quadrant25.com (pw: Quadrant25)? I don't know what I'm doing wrong with the code/id/image url but nothing shows up for me when I insert the CSS. This is the most recent url for the photo: https://photos.google.com/u/2/photo/AF1QipOwczZd2LTkuejU7-FwrDR9UQoDFcW4piCBIAFg. I had to remove the background on a black image which is why it looks all black when you use the link. Thanks for any help.
×
×
  • 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.