Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1447136

    We created a button for my top-of-page sliders (easy slider) where we put the button code in the caption box: Make an Appointment

    I think we added some code to functions or stylesheet or something that the button code references.

    That caption and button obscure the slider image on smaller screens like phones. Is it possible for it to only show up on tablets and desktops?

    If you look at gatehealing.com/counseling-austin-tx/ you can see the button/caption. . . if you look at that page on a phone, you’ll see that it looks sloppy.
    J

    #1447162

    Hey gatehealing,

    Please try the following in Quick CSS under Enfold->General Styling:

    @media only screen and (max-width: 767px) {
    .page-id-16789 .av-slideshow-caption .avia-caption-content {
      display: none; 
    }
    }

    Best regards,
    Rikard

    #1447194

    Thanks! The button is gone, but the Title is still completely covering the image on those smaller screens. I think I didn’t use the correct terms in my original post since the button IS the caption . . . I should have said Title and CaptionButton (both are in the same dropdown of the Easy Slider element).

    Apologies for my confusion on terminology.

    #1447210

    Hi,

    Please try this CSS instead:

    @media only screen and (max-width: 767px) {
    .page-id-16789 .av-slideshow-caption {
      display: none; 
    }
    }

    Best regards,
    Rikard

    #1447219

    I made it site-wide by removing “.page-id-16789” . . . this worked, but let me know if that’s not the best way to accomplish it. Otherwise, we can close the thread.
    Thanks!
    Jon

    #1447262

    Hi,

    Thanks for the update, removing the page ID class works for making it global. We’ll close this thread for now then, please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘remove button and caption on mobile from slider’ is closed to new replies.