-
Closed
-
I can’t figure out the best configuration for my images to look good (not fuzzy), fit within the parameters that I want and look good on smaller screens (get smaller, but not too small).
Any ideas?
Here is what I have tried on http://www.cmindependent.com:
1. On the home page I use a background image inside a content box. It looks great on larger screens but does not reduce on smaller screens, such as mobile devices.
(See box with “CRAFTMASTER PRODUCTIONS We make you look good everywhere!”)Here is the CSS for that:
.home-content-boxes
{
width: 50% !important;
height: 50% !important;
border: 1px solid #9a9a9a; !important;
background:#fbf9e4 !important; background-image: url(“http://cmindependent.com/wp-content/uploads/2015/12/home_content_box_BG2.jpg”) !important;
background-repeat: no-repeat !important;
background-size: 100% auto !important;
padding-top: 80px !important;
padding-bottom: 0px !important;
padding-left: 10px !important;
padding-right: 10px !important;
margin-left: 290px !important;
margin-right: 83px !important;
margin-top: 10px !important;
margin-bottom: 45px !important;
}2. On the design page I inserted the images directly into the content boxes along with some text. Sometimes these images look a little fuzzy, but I was able to compensate some of that by saving them as pngs instead of jpgs. But, my biggest issue with them is that they shrink too much on mobile devices.
(See all images used above the “Websites” section divider)Here is the CSS for that:
.design-contentbox1
{
border: 0px solid #9a9a9a; !important;
width: 100% !important;
padding-top: 0px !important;
padding-left: 0px !important;
padding-right: 0px !important;
margin-left: 3px !important;
margin-right: 0x !important;
margin-top: 0px !important;
background:#ffffff !important;
}.design-contentbox2
{
float: left !important;
width: 47% !important;
background:#f9f8ec !important;
padding-top: 0px !important;
padding-left: 0px !important;
padding-right: 0px; !important;
margin-left: auto !important;
margin-right: 18px !important;
margin-top: 0px !important;
margin-bottom: 10px !important;
vertical-align: top; !important;
}
The topic How to get the ideal image size for quality and responsiveness? is closed to new replies
