Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
Tagged: 8.1.5, css, getImage(), image, slim plus
- This topic has 3 replies, 2 voices, and was last updated 8 years, 9 months ago by
Steven Zahm.
-
AuthorPosts
-
12/20/2014 at 3:46 pm #313210
Jason Sant
ParticipantHello,
I’m displaying logos instead of portrait pics in the Slim Plus template. I feel like I’ll have an easier time displaying the majority of logos in a square proportion without cropping. I think currently it’s 6:5.I understand why it’s this way, just hoping you might direct me to where in the PHP and CSS I could make the necessary changes to solve this.
Thanks! I’ve been really pleased with the product and support and that will be reflected in my review! Great Job.
12/21/2014 at 10:15 am #313258Steven Zahm
Keymaster@ Jason
To change the image size you need to edit the
card.php
found here:
../wp-content/plugins/connections-slim-plus/
You can change the width/height in this section of code in the file:
$entry->getImage( array( 'image' => $atts['image'], 'height' => 120, 'width' => 100, 'fallback' => array( 'type' => $atts['image_fallback'], 'string' => $atts['str_image'] ) ) );
You’ll also need to change the
cn-right
andcn-left
style statements in theslim-plus.css
file found in the same folder.No, instead of editing those actual files, I highly suggest, copying them and follow the advice in these QuickTips:
- http://connections-pro.com/2014/05/07/quicktip-custom-css-templates/
- http://connections-pro.com/2014/06/04/quicktip-custom-template-override-files/
Doing as explains will make your tweaks update safe.
Hope that helps!
12/22/2014 at 1:16 am #313276Jason Sant
ParticipantThank you! This worked great and I followed your recommendation to make the override files safe for updates.
Much appreciated!
12/22/2014 at 8:55 am #313277Steven Zahm
Keymaster@ Jason
Great to hear!
If you have a moment, I would truly appreciate a review as they really do make a difference. Many thanks in advance!
https://wordpress.org/support/view/plugin-reviews/connections -
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.