• Home
  • Blog
  • Showcase
  • Setup Docs
    • Sunshine Help
    • Flex Help
  • Support
    • Support Area
    • Contact us
    • Feedback
  • Connect
    • Newsletter
    • Twitter
    • Facebook
  • My Account
  • Flex
  • Sunshine
Support : Simple Pro Themes

Support : Simple Pro Themes

[Support request] Adding an image size to the SimplePro Featured Page Widget

If you have purchased a product, please enter the email address that you used to register at time of purchase.
Log In
Lost Password

Create an Account
  • Your username must be unique, and cannot be changed later.
  • We use your email address to email you a secure password and verify your account.

Support › Forums › Sunshine Pro Theme › Adding an image size to the SimplePro Featured Page Widget

  • This topic has 2 replies, 2 voices, and was last updated 4 years, 3 months ago by ramblinjackson.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • October 14, 2016 at 3:25 am #1376
    ramblinjackson
    Participant

    This might be a long shot – but is there a way I can add another image size to the SimplePro Featured Page Widget ? I noticed the size is configure at the tag, so I assume a modification to the related PHP code is required.

    Can you point me to the correct area of code to modify? I this is on Sunshine Pro.

    Thanks

    October 14, 2016 at 4:32 am #1377
    Chinmoy Paul
    Moderator

    You can register new thumbnail size using add_image_size() function and new thumb name will automatically add into existing featured image size drop down list. So you will select the new name and save the widget. For existing images you will use Force Regenerate Thumbnail plugin and generate the thumbnail with new size. So you will get correct resolution for your images.

    Codex about add_image_size().

    October 14, 2016 at 5:21 am #1378
    ramblinjackson
    Participant

    Thank You. That’s very helpful for the image size.

    After using the SimplePro Featured Page widget further – there is also a height parameter that I think I will need to change.

    When using the widget on the Home Top widget area; 2 columns, image size 695×365 –
    The actual image size (desktop) displayed is 555px x 291px.

    Is there a way to increase the height to 366?
    Looking at the CSS, I see .img {height:auto;} but can’t find where the 291 height is being set.
    Example:
    See the two images under the slider on the home page:

    Welcome !

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Log In

Copyright © 2021 · Simple PRO Themes for Genesis Framework · About · FAQs · Contact · Affiliates