Slider text adjustment on mobile device

  • Author
    Posts
  • #96358

    Hello,

    I’m using the Codex theme. I have a slider caption and text set up on the landing page. The text renders fine on a desktop/laptop and tablet, but on a cell phone the text does not auto-adjust and goes off the right side of the page while in profile. When the phone is turned to landscape, it shows up just fine. I can’t figure out how to fix this. Is it a CSS adjustment? I haven’t touched the CSS, but I probably made an adjustment in the theme customization that messed it up and can’t figure out how to reverse it. Any help is appreciated. Thanks!

    Troy

    Website: allentownpublictheatre.com

    #96389
    Zed
    Cryout Creations mastermind

    Your caption might need some additional font size reduction to fit on the narrowest of mobile devices. Try the following CSS:

    @media (max-width: 480px) {
        .lp-slider .staticslider-caption {
            font-size: 0.6em;
        }
    }

    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #96447

    That worked perfectly. Thank you, Zed!

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Slider text adjustment on mobile device’ is closed to new replies.