Something Other Than Css Affecting Nextgen Gallery Images

Discussion in 'HTML & Website Design' started by AutoKwame, Feb 14, 2013.

  1. #1
    Hi,
    This problem is not as straight forward as it seems.
    I recently switched to a new wordpress theme. While some of the gallery pages originally obeyed the CSS that I had laid out, some didn't. Now, for some reason, all of them don't.
    The main problem is that something else seems to be controlling the height properties of the "ngg-gallery-thumbnail" and "ngg-gallery-thumbnail-box" classes in the style sheet.
    For example, on this gallery page:
    http://www.autotribute.com/gallery/2012-paris-motor-show-girls/
    The height of the two classes I mentioned are automatically fixed at 127px, although that's not what I want. My modified style sheet does not reflect that figure, and no adjustments seems to address the issue. What could be causing it?
    I have tried re-installing the nextgen gallery plugin and WordPress, but to no avail. I have attached the CSS to this post.
     

    Attached Files:

    AutoKwame, Feb 14, 2013 IP
  2. Hefaistos

    Hefaistos Active Member

    Messages:
    194
    Likes Received:
    14
    Best Answers:
    9
    Trophy Points:
    63
    Digital Goods:
    1
    #2
    Have you tried to rebuild thumbnails after changing your WordPress theme?
     
    Hefaistos, Feb 15, 2013 IP
  3. AutoKwame

    AutoKwame Member

    Messages:
    169
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    28
    #3

    Yes, through NextGen Galleries. Even new galleries show up like that.

    Or are you talking about another way to rebuild the thumbnails?
     
    AutoKwame, Feb 15, 2013 IP
  4. Hefaistos

    Hefaistos Active Member

    Messages:
    194
    Likes Received:
    14
    Best Answers:
    9
    Trophy Points:
    63
    Digital Goods:
    1
    #4
    I mean, if you used a plugin or something that regenerate your thumbnails after you changed the theme.

    Most of the WordPress themes will define their own sizes for thumbnails in functions.php , and some of them will crop them.

    So , if your current theme let's say will have cropped thumbnails, for example 200 x 50 px and your new theme will require some thumbnails 250 x 250 , the current size (200 x 50) won't be switched to 250 x 250 until you will reupload the thumbnails or use a plugin to regenerate them.
     
    Hefaistos, Feb 15, 2013 IP
  5. AutoKwame

    AutoKwame Member

    Messages:
    169
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    28
    #5
    I initially scanned through the functions php file, but nothing stood out. Then again, I'm not the most adept when it comes to php.

    After doing some further analysis, I figured that whatever is increasing the height of the thumbnails is increasing them by adding an extra 46px. I searched "46" in the file but found nothing.

    Is it advisable for me to attache the theme's function php so that you can look at it?
     
    AutoKwame, Feb 15, 2013 IP