Jump to content


These Forums Are Now Read-Only


For TubePress support, please post a question here or open a support ticket and we will be glad to assist.


Photo

Help with changing thumbnail size?


  • Please log in to reply
1 reply to this topic

#1 Pat Burchall

Pat Burchall

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 08 January 2013 - 10:57 AM

Hello,

I am using Tubepress Pro in a wordpress installation and seem to be unable to change the thumbnail size? I would like them to be large - so there is only 4 across. I assume there is some problem with the wordpress theme? My test site is here.

Any help appreciated!

Thank you.

#2 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 09 January 2013 - 01:08 AM

Hi!

You're right - your theme's style.css is preventing TubePress from correctly resizing the thumbnails. There are two options to fix this. One way or another, you'll simply need to make an edit or two to wp-content/themes/wp-clear/style.css.

The first approach is to delete the "offending" CSS rules. Around line 395 change it from:

.entry img {
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #EBEBEB;
    height: auto;
    max-width: 97%;
    padding: 3px;
}
to

.entry img {
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #EBEBEB;
    padding: 3px;
}
As you can see you're just deleting the two rules related to height and width. This method is easy, but there's a (rather small) risk that it could affect other areas of your theme.

The second approach is to add the following to the bottom of wp-content/themes/wp-clear/style.css:

.tubepress_thumb img {
    height: auto ! important;
    max-width: inherit ! important;
}

Give one of those a try and let us know? Thanks!