Home › Forums › Winning Agent Pro Theme › Featured Listings homepage use better size
Tagged: Image size
- This topic has 2 replies, 2 voices, and was last updated 5 years, 9 months ago by
webtaurus.
- AuthorPosts
- September 27, 2016 at 4:15 am #7582
webtaurus
ParticipantWhile optimizing a website using the plugin I noticed that the Featured Listing widget items that are shown on a frontpage are using less than optimal sizes. The image gets reduced by css so the pagesize could be reduced if a smaller image would be used.
Any suggestions as to how I could change that?See demo site for examples http://demo.winningagent.com/winning-agent-pro-theme/
- September 27, 2016 at 12:02 pm #7583
Marcy Diaz
KeymasterThe AgentPress Listings plugin widget image size can be changed by adding a new image size in functions.php. It would look like this:
add_image_size( 'properties', 460, 460, true ); // For AgentPress Listings widget.
It needs the name ‘properties’, but the sizes can be set to any width and height you prefer.
- September 27, 2016 at 4:28 pm #7586
webtaurus
ParticipantAh Thanks Marcy… I did not notice that an image-size with that name was not defined 🙂
Should be defined in the winning-agent theme as well – Can make a big difference in the response time of the website.Thanks again for the quick response 🙂
- AuthorPosts
- You must be logged in to reply to this topic.