Title: Sticky Hover effect
Last modified: October 11, 2021

---

# Sticky Hover effect

 *  Resolved [Tim_Carpenter](https://wordpress.org/support/users/tim_carpenter/)
 * (@tim_carpenter)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/sticky-hover-effect/)
 * The sticky hover effect style is exactly what I’m looking for, except that I 
   only want it to display on hover/mouse over. Is there anyway to do this?

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [beatrice12](https://wordpress.org/support/users/beatrice12/)
 * (@beatrice12)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/sticky-hover-effect/#post-14957606)
 * Hello [@tim_carpenter](https://wordpress.org/support/users/tim_carpenter/),
 * Thank you for reaching out to us!
 * Please add this code in Appearance > Customize > Additional CSS:
 *     ```
       .pb-overlay:hover .pb-caption-middle {
           display: block;
       }
       .pb-caption-middle {
           display: none;
       }
       ```
   
 * Please let me know if you have any other questions!
 * Warm regards,
    Beatrice.
 *  Thread Starter [Tim_Carpenter](https://wordpress.org/support/users/tim_carpenter/)
 * (@tim_carpenter)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/sticky-hover-effect/#post-14958125)
 * This didn’t do it. What I’m trying to do is have the effect [displayed here](https://dev.susankattas.com/407-2/)(
   for title and description) to only display when moused over. I like the shading
   only behind the text and when hovered over.
 * I added this to the CSS customization on the photblocks gallery vs the theme.
   Is that correct?
    -  This reply was modified 4 years, 8 months ago by [Tim_Carpenter](https://wordpress.org/support/users/tim_carpenter/).
 *  Thread Starter [Tim_Carpenter](https://wordpress.org/support/users/tim_carpenter/)
 * (@tim_carpenter)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/sticky-hover-effect/#post-14960650)
 * Another question. The text blocks just don’t work well for mobile devices. Is
   there any way to suppress text block for phones? The demo of text blocks on your
   website does suppress them when I look on my phone.
 *  [beatrice12](https://wordpress.org/support/users/beatrice12/)
 * (@beatrice12)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/sticky-hover-effect/#post-14962049)
 * Hi [@tim_carpenter](https://wordpress.org/support/users/tim_carpenter/),
 * We entered the site and the captions and the title are displayed only when you
   hover over them. Also, the text on mobile is smaller. This is what you wanted,
   right? If I understood badly please correct me.
 * Warmly,
    Beatrice.
 *  Thread Starter [Tim_Carpenter](https://wordpress.org/support/users/tim_carpenter/)
 * (@tim_carpenter)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/sticky-hover-effect/#post-14962264)
 * I should have updated my post. After I submitted this follow up, I looked at 
   the plugin css for sticky and made changes that achieved what I was seeking. 
   I assume I should enter that CSS in the customizations area (so it is not overwritten
   with a plugin update). I assume CSS in customizations overrides the plugin CSS?
 * The text in the blocks is fine for now. Is there a way to suppress the text blocks
   from showing on mobile? The demo on the photoblocks website seems to do that.
 *  [beatrice12](https://wordpress.org/support/users/beatrice12/)
 * (@beatrice12)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/sticky-hover-effect/#post-14965653)
 * Hi [@tim_carpenter](https://wordpress.org/support/users/tim_carpenter/),
 * Yes, the CSS in customizations ovverrides the plugin CSS.
 * To hide those blocks on mobile please add this code in Appearance > Customize
   > Additional CSS:
 *     ```
       @media screen and (max-width: 900px) { .pb-caption-bottom {
           display: none;
       } }
       ```
   
 * Warmly,
    Beatrice.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Sticky Hover effect’ is closed to new replies.

 * ![](https://ps.w.org/photoblocks-grid-gallery/assets/icon.svg?rev=3184340)
 * [Gallery PhotoBlocks](https://wordpress.org/plugins/photoblocks-grid-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/photoblocks-grid-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/photoblocks-grid-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/photoblocks-grid-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/photoblocks-grid-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/photoblocks-grid-gallery/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [beatrice12](https://wordpress.org/support/users/beatrice12/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/sticky-hover-effect/#post-14965653)
 * Status: resolved