Jump to content

Show Text Before Hover On Mobile Device

Go to solution Solved by tuanphan,

Recommended Posts

On 5/9/2021 at 7:40 AM, tuanphan said:

Hi. You mean blog, contact links? Change opacity on hover?

Thanks for reaching out.

I would like to see this text be on the bottom center of the photo when I hover or drag on both mobile and desktop.

How can I change opacity in the code?

image.thumb.png.3fc873149c00a8a443a58bf7275f4c04.png

Link to comment
On 5/11/2021 at 10:21 AM, doctorjaywest said:

Thanks for reaching out.

I would like to see this text be on the bottom center of the photo when I hover or drag on both mobile and desktop.

How can I change opacity in the code?

Add to Design > Custom CSS

/* change opacity */
.portfolio-grid-overlay .portfolio-overlay {
    background-color: rgb(119, 104, 64, 0.5) !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
  • 5 months later...

Hi there,

I'm looking to get the text before hover effect on my mobile site, but it's not working. I used both of the following codes from this thread. What am I doing wrong?

2125200296_ScreenShot2021-10-13at12_39_42PM.png.5d575d516351414d11deeda145a676db.png162751223_ScreenShot2021-10-13at12_39_51PM.png.8187fd03d7d0c33916084c7b2117a5bb.png

Here is the link to my site: https://www.dispatchshows.com/2022-cws-copy

I'd like to replicate the look of this site on mobile that you worked with above: https://www.wilhelmmoser.com/

Thank you!

Edited by a_leonard
Link to comment
On 10/13/2021 at 11:42 PM, a_leonard said:

Hi there,

I'm looking to get the text before hover effect on my mobile site, but it's not working. I used both of the following codes from this thread. What am I doing wrong?

2125200296_ScreenShot2021-10-13at12_39_42PM.png.5d575d516351414d11deeda145a676db.png162751223_ScreenShot2021-10-13at12_39_51PM.png.8187fd03d7d0c33916084c7b2117a5bb.png

Here is the link to my site: https://www.dispatchshows.com/2022-cws-copy

I'd like to replicate the look of this site on mobile that you worked with above: https://www.wilhelmmoser.com/

Thank you!

Add to Page Header. 

<style>
  @media screen and (max-width:767px) {
  	.slide a:after {
    opacity: 1 !important;
}
    .image-slide-title {
    opacity: 1 !important;
}
  }
</style>

 

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
  • 7 months later...
On 5/25/2022 at 1:16 AM, Jaypjp said:

Hello just need help adding the opacity to my mobile version. Thank You 

www.jaypjp.com

Use this code

@media screen and (max-width:767px) {
.portfolio-overlay {
    opacity: 0.42 !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
  • 7 months later...

Hello, I think my question was almost covered here, but I didn't see my exact problem. I currently love the hover state on desktop for my homepage thumbnails: https://www.3ringstudio.com/

It works similarly on non-android phones when you touch the thumbnail (white screen with text appears), but for some reason, it doesn't work on iphones and the thumbnail is text-less when you hover over it. Is there a way to fix this? 

Link to comment
On 1/3/2023 at 2:39 AM, donaldely said:

Hello, I think my question was almost covered here, but I didn't see my exact problem. I currently love the hover state on desktop for my homepage thumbnails: https://www.3ringstudio.com/

It works similarly on non-android phones when you touch the thumbnail (white screen with text appears), but for some reason, it doesn't work on iphones and the thumbnail is text-less when you hover over it. Is there a way to fix this? 

Try adding to Design > Custom CSS

@media screen and (max-width:767px) {
a.grid-item:hover .portfolio-overlay {
    opacity: 1 !important;
}
.grid-item:hover .portfolio-text {
    opacity: 1 !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
  • 4 months later...

Hey @tuanphan you are such a legend here, thank you for your help!

Unfortunately, none of the code snippets here have worked for me. I'm trying to get my portfolio project titles to show up on mobile. My current url is: www.kylestebbins.com

I'm hoping to have the thumbnails perform like they did on my old 7.0 site. Here is a link to that one: https://kylestebbins.squarespace.com/ -- so ideally it is: 1st tap shows project, 2nd tap opens link.

Also, I'm only on a personal account so do not have ability to inject code into the header. I didn't have this feature in my old site either, so hoping there is a solution.

Thanks so much for any help! Your suggestions throughout these forums have been indispensable for me!

Link to comment
On 5/25/2023 at 4:09 AM, kstebbs said:

Hey @tuanphan you are such a legend here, thank you for your help!

Unfortunately, none of the code snippets here have worked for me. I'm trying to get my portfolio project titles to show up on mobile. My current url is: www.kylestebbins.com

I'm hoping to have the thumbnails perform like they did on my old 7.0 site. Here is a link to that one: https://kylestebbins.squarespace.com/ -- so ideally it is: 1st tap shows project, 2nd tap opens link.

Also, I'm only on a personal account so do not have ability to inject code into the header. I didn't have this feature in my old site either, so hoping there is a solution.

Thanks so much for any help! Your suggestions throughout these forums have been indispensable for me!

so ideally it is: 1st tap shows project, 2nd tap opens link

Hi, this needs JavaScript code (require a Business Plan or higher)

If you want title appear under image on mobile only, we can give the code

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
  • 1 month later...

Hello! I also need help with this.

My portfolio images (screenshot attached) work fine with overlay on hover on desktop, but the colour overlay and title disappears when on mobile. Is it possible to have these appear with some custom code? 

I can upgrade to business plan if it requires Javascript.

Alternatively if this is not possible, please can I have the code for the title to appear under the image on mobile? 

My site is here: 

https://gopher-tomato-twpa.squarespace.com/portfolio

password: hello

Thanks. 

Screenshot 2023-07-13 at 09.43.46.png

Link to comment
On 7/13/2023 at 3:48 PM, Red_Dot_Design said:

Hello! I also need help with this.

My portfolio images (screenshot attached) work fine with overlay on hover on desktop, but the colour overlay and title disappears when on mobile. Is it possible to have these appear with some custom code? 

I can upgrade to business plan if it requires Javascript.

Alternatively if this is not possible, please can I have the code for the title to appear under the image on mobile? 

My site is here: 

https://gopher-tomato-twpa.squarespace.com/portfolio

password: hello

Thanks. 

Screenshot 2023-07-13 at 09.43.46.png

Add to Design > Custom CSS

/* Portfolio Overlay to grid mobile */
@media screen and (max-width:767px) {
a.grid-item {
    height: unset !important;
    padding-bottom: 0 !important;
}
.portfolio-text {
    position: relative !important;
    opacity: 1 !important;
}
    h3.portfolio-title {
    color: black !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
  • 3 months later...
On 10/27/2023 at 1:51 AM, Roseline said:

Hello please i need help with similar thing but i want my hover test to show after hover just like desktop

Can you share link to page on your site where you want to do this?

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

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.