Show project titles for mobile sites but show titles on mouseover for desktop?
-
Hey guys, like the title says, is there some clever CSS code that can show the project titles for mobile sites but then show titles only on mouseover for desktop sites?
Thanks, Mark
-
Dear Mark
@yelmarb
I would suggest setting the Project Thumbnail title's to "show on mouseover" within Customize.
Then the following CSS should set all the title's to show on mobile:
.phone-size .type-thumbnailgrid .thumbnail-wrap .title{ opacity: 1 !important; }
If you are using a custom phone layout you could target it like this instead:
#custom-phone-grid .type-thumbnailgrid .thumbnail-wrap .title{ opacity: 1; }
Best wishes
Richard
Apr 26, 2022, 11:57 AM
May 8, 2022, 11:12 PM
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it
Forgot your key, lost your files, need a previous Lay Theme or Addon version?
Go to www.laykeymanager.com