Back to top

Affiliate Link: Looking to Monetize With Ads?? We Personally Use:

Ezoic

Improve Homepage Featured Tiles Image Resolution

Featured Tiles
As an Amazon Associate we earn from qualifying purchases made on our website. If you make a purchase through links from this website, we may get a small share of the sale from Amazon and other similar affiliate programs. You can read our complete legal information for more details.

I have had people say they feel the Featured Tiles are too low in resolution and they wanted to increase the overall depth the images have. Below is the only method to allow you to change this allowed value and visibly change the image quality.

New Method

Read this post on High-Resolution Images here

Old Method (Don’t Use)

DISCLAIMER
Featured tiles needs to be tweak to theme files which means it will only stay until you update the theme again.

  1. Open Appearance -> Theme Editor
  2. Right Hand Menu find (Page-home.php)
  3. Go to line 85 and again at 90
  4. Replace the code below
  5. Save

'medium-large'

with

'large'

Ensure you using 1200×800 resolution images for those tiles

Example Code Section Before

					if ( $row_count <= 2 ) {
						$col_class = 'col-one-half';
						if( $image_id > 0 ) {
							$image_url  = wp_get_attachment_image_src( $image_id, 'large' )[0];
						}
					}
					else if( $row_count == 4 ) {
						$col_class = 'col-one-fourth';
						if( $image_id > 0 ) {
							$image_url  = wp_get_attachment_image_src( $image_id, 'medium-large' )[0];
						}
					}
					else {
						if( $image_id > 0 ) {
							$image_url  = wp_get_attachment_image_src( $image_id, 'medium-large' )[0];
						}

Example Code Section After

					if ( $row_count <= 2 ) {
						$col_class = 'col-one-half';
						if( $image_id > 0 ) {
							$image_url  = wp_get_attachment_image_src( $image_id, 'large' )[0];
						}
					}
					else if( $row_count == 4 ) {
						$col_class = 'col-one-fourth';
						if( $image_id > 0 ) {
							$image_url  = wp_get_attachment_image_src( $image_id, 'large' )[0];
						}
					}
					else {
						if( $image_id > 0 ) {
							$image_url  = wp_get_attachment_image_src( $image_id, 'large' )[0];
						}

About Josh Koop

Hey Everyone! I hope that the short article you read today has taken you from a place of frustration to a place of excited anticipation for your visitors! Please let me know of anything you need for Acabado that can help you achieve your goals!
Read More About Me...

My Posts | Website

Josh Koop

Hey Everyone! I hope that the short article you read today has taken you from a place of frustration to a place of excited anticipation for your visitors! Please let me know of anything you need for Acabado that can help you achieve your goals!
Read More About Me...

Leave a Reply

Your email address will not be published. Required fields are marked *

Recent Content