Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS CSS Issue Display:none

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #240158
    Staybull
    Participant

    I do not want a certain image to display for mobile visitors. I am using the custom CSS as follows:

    @media screen and (max-width: 480px)

    {

    img[src*=”joshpic1New-300×416.jpg”] {
    display: none;
    }

    the website url is : http://www.floridanonownersfr44insurance.com/

    The same custom CSS is working just fine on another site of mine: http://www.floridanonownerssr22insurance.com/

    but I cant seem to get it to work on any of my other sites.

    I am confused as to why it works just fine on one site but not the others. I am new to CSS and any help would greatly appreciated. Thank you!

    #240160
    Shikkediel
    Participant

    Looks fixed? Trouble seems to have been with the size specifics…

    #240192
    Staybull
    Participant

    Yes it is now fixed. Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.