Guest Posted December 15, 2020 Share Posted December 15, 2020 Site URL: https://anastasiaisachsen.squarespace.com Hello! Is it possible to have a hover text and color on the portfolio page of my website? Tried using the code I have found here but the text isn't showing up. Thank you! Link to comment
Beyondspace Posted December 15, 2020 Share Posted December 15, 2020 1 hour ago, Alissa_ said: Site URL: https://anastasiaisachsen.squarespace.com Hello! Is it possible to have a hover text and color on the portfolio page of my website? Tried using the code I have found here but the text isn't showing up. Thank you! which code have you used and could you share the site wide password Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you Link to comment
Guest Posted December 16, 2020 Share Posted December 16, 2020 17 hours ago, bangank36 said: which code have you used and could you share the site wide password Password: anastasia For the code: I used the one I saw here on the forum: .portfolio-grid-basic { .grid-image:hover { img { -webkit-filter: brightness(0.4); -moz-filter: brightness(0.4); filter: brightness(0.4); } .portfolio-title { opacity: 1 !important; } .portfolio-title strong { opacity: 1 !important; } } img { -webkit-filter: brightness(0.9); -moz-filter: brightness(0.9); filter: brightness(0.9); transition: all ease-in-out 600ms !important; } .portfolio-title { p { max-width: 90% !important; } white-space: initial !important; text-overflow: initial !important; transform: translateY(-0.5em); -webkit-transform: translateY(-0.5em); -moz-transform: translateY(-0.5em); -ms-transform: translateY(-0.5em); } .portfolio-title { pointer-events:none !important; display: block !important; color: #fff !important; font-weight: 600; font-size: 20px; line-height: 25px; text-align: center !important; padding: 0px; position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); -moz-transform: translate(-50%, -50%); transform: translate(-50%, -50%); width: 80%; opacity: 0; transition: all ease-in-out 600ms !important; } .portfolio-title strong { display: block; font-weight: 200; font-size: 15px; opacity: 1; transition: all ease-in-out 600ms !important; } .portfolio-title strong:before { display: block; text-align: center; } .portfolio-title p { padding-left: 10px; padding-right: 10px; margin: 0px; opacity: 0 !important; transition: all ease-in-out 600ms !important; } @media (max-width : 870px) { .portfolio-title { opacity: 1 !important; font-size: 11px !important; } .portfolio-title strong { display: none !important; opacity: 0 !important; } .portfolio-title a { display: block !important; } } @media (max-width : 768px) { .portfolio-title { opacity: 1 !important; font-size: 11px !important; } .portfolio-title strong { display: none !important; opacity: 0 !important; } .portfolio-title a { display: block !important; } } }.portfolio-grid-basic { .grid-image:hover { img { -webkit-filter: brightness(0.4); -moz-filter: brightness(0.4); filter: brightness(0.4); } .portfolio-title { opacity: 1 !important; } .portfolio-title strong { opacity: 1 !important; } } img { -webkit-filter: brightness(0.9); -moz-filter: brightness(0.9); filter: brightness(0.9); transition: all ease-in-out 600ms !important; } .portfolio-title { p { max-width: 90% !important; } white-space: initial !important; text-overflow: initial !important; transform: translateY(-0.5em); -webkit-transform: translateY(-0.5em); -moz-transform: translateY(-0.5em); -ms-transform: translateY(-0.5em); } .portfolio-title { pointer-events:none !important; display: block !important; color: #fff !important; font-weight: 600; font-size: 20px; line-height: 25px; text-align: center !important; padding: 0px; position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); -moz-transform: translate(-50%, -50%); transform: translate(-50%, -50%); width: 80%; opacity: 0; transition: all ease-in-out 600ms !important; } .portfolio-title strong { display: block; font-weight: 200; font-size: 15px; opacity: 1; transition: all ease-in-out 600ms !important; } .portfolio-title strong:before { display: block; text-align: center; } .portfolio-title p { padding-left: 10px; padding-right: 10px; margin: 0px; opacity: 0 !important; transition: all ease-in-out 600ms !important; } @media (max-width : 870px) { .portfolio-title { opacity: 1 !important; font-size: 11px !important; } .portfolio-title strong { display: none !important; opacity: 0 !important; } .portfolio-title a { display: block !important; } } @media (max-width : 768px) { .portfolio-title { opacity: 1 !important; font-size: 11px !important; } .portfolio-title strong { display: none !important; opacity: 0 !important; } .portfolio-title a { display: block !important; } } } Link to comment
tuanphan Posted December 21, 2020 Share Posted December 21, 2020 On 12/16/2020 at 3:54 PM, Alissa_ said: Password: anastasia For the code: I used the one I saw here on the forum: .portfolio-grid-basic { .grid-image:hover { img { -webkit-filter: brightness(0.4); -moz-filter: brightness(0.4); filter: brightness(0.4); } .portfolio-title { opacity: 1 !important; } .portfolio-title strong { opacity: 1 !important; } } img { -webkit-filter: brightness(0.9); -moz-filter: brightness(0.9); filter: brightness(0.9); transition: all ease-in-out 600ms !important; } .portfolio-title { p { max-width: 90% !important; } white-space: initial !important; text-overflow: initial !important; transform: translateY(-0.5em); -webkit-transform: translateY(-0.5em); -moz-transform: translateY(-0.5em); -ms-transform: translateY(-0.5em); } .portfolio-title { pointer-events:none !important; display: block !important; color: #fff !important; font-weight: 600; font-size: 20px; line-height: 25px; text-align: center !important; padding: 0px; position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); -moz-transform: translate(-50%, -50%); transform: translate(-50%, -50%); width: 80%; opacity: 0; transition: all ease-in-out 600ms !important; } .portfolio-title strong { display: block; font-weight: 200; font-size: 15px; opacity: 1; transition: all ease-in-out 600ms !important; } .portfolio-title strong:before { display: block; text-align: center; } .portfolio-title p { padding-left: 10px; padding-right: 10px; margin: 0px; opacity: 0 !important; transition: all ease-in-out 600ms !important; } @media (max-width : 870px) { .portfolio-title { opacity: 1 !important; font-size: 11px !important; } .portfolio-title strong { display: none !important; opacity: 0 !important; } .portfolio-title a { display: block !important; } } @media (max-width : 768px) { .portfolio-title { opacity: 1 !important; font-size: 11px !important; } .portfolio-title strong { display: none !important; opacity: 0 !important; } .portfolio-title a { display: block !important; } } }.portfolio-grid-basic { .grid-image:hover { img { -webkit-filter: brightness(0.4); -moz-filter: brightness(0.4); filter: brightness(0.4); } .portfolio-title { opacity: 1 !important; } .portfolio-title strong { opacity: 1 !important; } } img { -webkit-filter: brightness(0.9); -moz-filter: brightness(0.9); filter: brightness(0.9); transition: all ease-in-out 600ms !important; } .portfolio-title { p { max-width: 90% !important; } white-space: initial !important; text-overflow: initial !important; transform: translateY(-0.5em); -webkit-transform: translateY(-0.5em); -moz-transform: translateY(-0.5em); -ms-transform: translateY(-0.5em); } .portfolio-title { pointer-events:none !important; display: block !important; color: #fff !important; font-weight: 600; font-size: 20px; line-height: 25px; text-align: center !important; padding: 0px; position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); -moz-transform: translate(-50%, -50%); transform: translate(-50%, -50%); width: 80%; opacity: 0; transition: all ease-in-out 600ms !important; } .portfolio-title strong { display: block; font-weight: 200; font-size: 15px; opacity: 1; transition: all ease-in-out 600ms !important; } .portfolio-title strong:before { display: block; text-align: center; } .portfolio-title p { padding-left: 10px; padding-right: 10px; margin: 0px; opacity: 0 !important; transition: all ease-in-out 600ms !important; } @media (max-width : 870px) { .portfolio-title { opacity: 1 !important; font-size: 11px !important; } .portfolio-title strong { display: none !important; opacity: 0 !important; } .portfolio-title a { display: block !important; } } @media (max-width : 768px) { .portfolio-title { opacity: 1 !important; font-size: 11px !important; } .portfolio-title strong { display: none !important; opacity: 0 !important; } .portfolio-title a { display: block !important; } } } It looks like you solved the problem? I see on mobile, footer logo looks huge. You can add this to Design > Custom CSS to resize it. /* resize footer logo */ @media screen and (max-width:767px) { div#block-yui_3_17_2_1_1608028488175_27619 { width: 50%; } } Some pages have long content on mobile. You can also consider adding a back to top button. 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment