WordPress.org

Support

Support » Plugins and Hacks » [Plugin: WP Content Slideshow] Pictures are small

[Plugin: WP Content Slideshow] Pictures are small

Viewing 5 replies - 1 through 5 (of 5 total)
  • 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.

    hanwei22

    @han-wei-kantzer

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

    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.

    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.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: WP Content Slideshow] Pictures are small’ is closed to new replies.