Home>Support>Hero slider, not all images are responsive on a mobile

Hero slider, not all images are responsive on a mobile

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

Hi there,
I have the Hero Slider which is great however the first image I have is responsive and reduces down well on a mobile device but the second doesn’t – it shows up as huge and very zoomed in.
You wouldn’t have any initial thoughts as to why that could happen?
Thanks
Tim

URL: https://fivepansies.co.uk/

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 8 months ago Andrew Misplon
    Hi, I Work Here

    Hi Tim

    Thanks for reaching out.

    In the second slide you’ve used inline CSS to add padding to each paragraph. Ideally you need to use a class for each paragraph and then use Custom CSS so you can drop the padding on smaller screens.

    <p class="450-padding">Content
    
    
    

    And then at Appearance > Custom CSS”

    @media (min-width: 1024px) {
    .450-padding { padding-left: 450px; }
    }
    
  2. 9 years, 8 months ago [email protected]

    Thanks Andrew, that seems to have been the problem, I have deleted the text now and the associated inline CSS.

  3. 9 years, 8 months ago Andrew Misplon
    Hi, I Work Here

    Glad to hear you’ve made progress :)

  4. 9 years, 6 months ago mikeys4u

    Do remember that you can’t/should not start css class selectors with numbers…

    “”In CSS, identifiers (including element names, classes, and IDs in selectors) can contain only the characters [a-zA-Z0-9] and ISO 10646 characters U+00A0 and higher, plus the hyphen (-) and the underscore (_); they cannot start with a digit, two hyphens, or a hyphen followed by a digit. Identifiers can also contain escaped characters and any ISO 10646 character as a numeric code (see next item). For instance, the identifier “B&W?” may be written as “B\&W\?” or “B\26 W\3F”.””
    W3C Specification

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More