Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

Formatting an image for mobile


Recommended Posts

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

On 5/18/2021 at 2:45 AM, MaxAzulay said:

Site URL: https://www.maxazulay.com

Hi

I like the way the background image looks on my desktop on my site (www.maxazulay.com) but on my phone it's zoomed in and cropped. I don't want to have to change the image but I'd like it to be also properly formatted for mobile. 

Any help advised thank you

Add to Design > Custom CSS

/* resize home mobile banner */
@media screen and (max-width:640px) {
body.homepage figure img {
    width: 100% !important;
    height: auto !important;
    left: 0 !important;
}
body.homepage .banner-thumbnail-wrapper.has-description {
    height: 160px;
    padding-top: 20px;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care - Learn CSS - Custom Popup - Testimonial Slider

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

Link to comment
On 5/20/2021 at 9:55 PM, serenay said:

Hi Tuanphan, I am having the same issue too, would you kindly help me please?

 

I can't get the banner picture right for mobile. url is www.akana.com.au thanks a lot

 

 

Hi. It looks like you solved this?

image.thumb.png.96f1be1e6c83cb07ad65dd2d6a14be7b.png

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care - Learn CSS - Custom Popup - Testimonial Slider

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...