WordPress.org

Forums

WP Content Slideshow
Pictures are small (6 posts)

  1. rocketman7k
    Member
    Posted 3 years ago #

    I love the plugin, and have set it up just fine. The problem is, that the pictures that are featured are small. Please see this link: elyconnect.com. Any help would be appreciated.

    http://wordpress.org/extend/plugins/wp-content-slideshow/

  2. leeseofTBC
    Member
    Posted 3 years ago #

    I know this has been posted months ago and I hope you found a fix! But for future reference, I thought I'd post this in case anyone else runs into the same problem.

    You'll need to go into the css to fix this issue.

    In the content-slideshow.php find line 25-33:

    #content-slideshow .content_slideshow ul {
    float:left;
    overflow: hidden;
    width: 300px;
    margin: 0px !important;
    padding: 0px !important;
    height: 250px;
    position: relative;
    }

    Find where it says "width" and "height" and replace it with dynamic values from your options page by doing this:

    Replace "width" with:
    width: <?php $imgwidth = get_option('content_img_width'); if(!empty($imgwidth)){ echo $imgwidth; } else { echo 300; }?>px !important;

    Replace "height" with:
    height: <?php $imgheight = get_option('content_height'); if(!empty($imgheight)){ echo $imgheight; } else { echo 250; }?>px !important;

    Do the same under "#content-slideshow .content_slideshow ul li" under line 35.

  3. hanwei22
    Member
    Posted 3 years ago #

    wow I just had the same problem, thanks for the fix leeseofTBC!

  4. dannyfoo
    Member
    Posted 3 years ago #

    I did this and initially it worked. But for some reason, it now doesn't show the content nav. In the source, it's loading but it's not displaying in the slideshow. Not sure why.

    But hard-coding the width and height into the styles you mentioned above works.

  5. dannyfoo
    Member
    Posted 3 years ago #

    I got my problem fixed.

    But to the plugin developer, please fix this permanently. After I updated the plugin today, I noticed I had to include the above fix all over again.

    Thanks.

  6. mickmel
    Member
    Posted 3 years ago #

    dannyfoo -- How did you solve the disappearing nav? I got my image size fixed, the nav still won't appear.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic