WP Content Slideshow
Pictures are small (6 posts)

  1. rocketman7k
    Posted 5 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.


  2. leeseofTBC
    Posted 5 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 {
    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
    Posted 4 years ago #

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

  4. dannyfoo
    Posted 4 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
    Posted 4 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.


  6. mickmel
    Posted 4 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

  • WP Content Slideshow
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic