Okay
  Public Ticket #4147295
Turning Text Color Hover state (OFF) on touch devices like iPad and Mobiles but (ON) on Desktop
Open

Comments

  • Mohammed Areeb started the conversation

    I want to turn the Text Color Hover state (OFF) on touch devices like iPad and Mobiles but (ON) on Desktop since the hover state only recognizes the mouse when hovered upon and registers a touch when clicked upon, which isn't a great experience.

    So I either want to be able to 

    1. Automatically change the text color to white from black as you scroll on touch devices, or

    2. Disable the hover state entirely on touch devices (white as default for legibility) but enabled on the desktop alone (with the hover state).

    Thanks

    Attached files:  Text Hover.jpg

  •  3,253
    Andrew replied

    Hi Mohammed,

    Thank you for getting in touch.

    Add this into the Custom CSS box in your Salient Theme Options panel (We write all Custom CSS in the Live Browser to ensure accuracy. If you cannot see any changes, make sure there is no red cross in the Custom CSS Box as any syntax error would cause all CSS under that line of code to not show up on the Frontend):

    @media only screen and (max-width: 999px) {
        #work .full-width-section>.col.span_12.dark .nectar-post-grid[data-text-color=dark] .nectar-post-grid-item .content *, 
        #work .nectar-post-grid[data-text-color=dark] .nectar-post-grid-item .content * {
            color: #fff;
        }
    }

    I hope that helps.

    Thanks