Blurred Large image in search page.
Hi Andrew,
Having problems with image size in search results page. Have done thumbnail regen, did originally have problem with products pages but resolved with some coding. My website is www.nzfes.co.nz is you search say simpson in the search bar all images are blurry not sure if this is vantage or woo, most likely the later. Here is the coding I have put in for the site so far which resolved the product sizing.
header#masthead {
background-repeat: no-repeat;
background-position: top center !important;
background-size: 1980px;
}
header#masthead hgroup .logo img {
width: 1580px;
}
.main-navigation {
font-size: 14px;
}
.woocommerce div.product div.images img,
.woocommerce #content div.product div.images img,
.woocommerce-page div.product div.images img,
.woocommerce-page #content div.product div.images img { max-width:150px; height: 150px; }
ul.products li.product a img { max-width:150px; height: 150px; }
Regards
Pat
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
Replies
5Hi Pat
Please try the following under Appearance > Custom CSS:
/* Search Results */ .search-results article.post .entry-header .entry-thumbnail img, .search-results article.page .entry-header .entry-thumbnail img { width: auto; }Hope that helps.
Thanks Andrew worked great, I do have another question.
Are you able to add external url links for media files, have found that when you do this it goes back to the original permalink, would like file to link to external urls. Maybe there is a plug in that I haven’t found yet could you make any suggestions.
Regards Pat
Sure, when you insert an image, at the bottom right are Attachment Display Settings, there is a Link To: drop down, there you’ll need to select Custom URL, before entering yours in. Should do the trick.
Thanks Andrew worked great was using another gallery plugin must of been affecting it.
Regards Pat.
Have a great day/night.
Super, glad that did the trick :)
All the best. Cheers.
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.