Mobile dedicated photo

Home Forums Jevelin Theme Mobile dedicated photo

Home Forums Jevelin Theme Mobile dedicated photo

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • staterequirement
    Participant

    I have a photo that is banner size (1152×142).

    When this image sizes down responsively, it becomes too small and difficult to see on mobile devices.

    Is there a way to load a different image to replace the banner sized image? I have a square image that would look much better on mobile.

    Thank you!

    Hi @staterequirement,

     

    I hope you are well today and thank you for your question.

     

    There isn’t any theme option to do this but we can achieve this developing custom CSS code.

     

    Could you please share me the page URL from your site where it is displaying and also share me the square image URL so that i can help you to achieve it?

     

    Best regards,
    Shufflehound team

    staterequirement
    Participant

    http://165.227.220.174/alabama-insurance-license/ ‎ (Among lots of others)

    I would like the rectangular photo to load on desktop, and the square to load on mobile.

    Thank you!

    Attachments:
    You must be logged in to view attached files.

    You can achieve it by adding the following CSS code in the Custom CSS code option of your theme on the below path.

     

    Admin Area -> Appearance -> Theme Settings -> Custom Code -> CSS Code

     

    @media (max-width: 768px) {
    .sh-single-image-container img.sh-image-url {
        display: none;
    }
    
    .sh-single-image-container a {
        display: block;
        background: url("https://support.shufflehound.com/wp-content/uploads/2017/12/MKT-005318_Square.jpg") no-repeat;
        height: 250px;
        width: 250px;
    }
    }

    Please change the image URL in the above CSS code from our site to your site.

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

Popular choice

Professional Developers At Your Fingertips!

If you need services beyond standard support, we've got your back!

Services we offer:

Demo setup
Advanced customization
Layout adjustment
Graphic work / visualizations
Custom coding
Full WordPress development and design

Services

What we can offer

  • Demo setup +

    If you'd prefer not to handle the installation yourself or need help getting started, we'll set everything up for you.

  • Layout adjustment +

    We'll help you rearrange sections, adjust spacing, and modify the page structure to fit your needs.

  • Advanced customization +

    More complex styling changes, theme option modifications, and third-party integrations.

  • Custom coding +

    If you need something that's not included in the theme, we can code it for you.

  • Graphic work / visualizations +

    Web design services to create custom sections, pages, and blocks for your theme, plus graphics and visualizations.

  • Full WordPress development and design +

    Full website builds, custom theme development, or plugin creation from scratch.

  • About pricing +

    We'll provide a clear quote based on what you need. No hidden fees.

Professional Developers At Your Fingertips!

Custom Work Form