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

Thumbnail Size In Widget Not Working


Best Answer jdkirk, 02 May 2013 - 09:14 PM

ok, finally figured out

from an old post https://code.google....s/detail?id=527

 

"Around line 861 of your stylesheet (http://www.create180...lines/style.css) you have

body .content img {
height: auto;
max-width: 100%;
}

This is preventing TubePress from resizing the thumbs. If you remove those lines, the settings from WP Admin > Settings > TubePress > Thumbs will take effect."

 

 

so i found something similar in my stylesheet css

 

 

img { display: inline-block; }
img{max-width: 100%; height: auto;}
 
removed that and everything working well at the moment.
Go to the full post


  • Please log in to reply
3 replies to this topic

#1 jdkirk

jdkirk

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 01 May 2013 - 08:01 PM

Hi, I'm having trouble getting my thumbnails to size correctly in sidebar with widget.

I am using the code:

 

 

[tubepress resultsPerPage="4"    views="false"    description="true"
           thumbHeight="250"     thumbWidth="250" theme="sidebar"
           descriptionLimit="50" playerLocation="popup"]

 

whatever I change the values for height and width do not affect most of the thumbs.  Every once in awhile the thumbnails are the size I specify but usually they are much smaller and sometimes larger.  The text below the thumbs seems to be right width.

 

site is http://winfailvideos.com/

 

 

 

 

 

 



#2 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 01 May 2013 - 11:36 PM

Hi jdkirk,

 

I just hopped over to your site and checked the sizes of the sidebar widget's thumbnails and they are all showing at the size you specified.

 

Please take a look at your site again and let us know if you are still experiencing any issues.

 

Thanks!


Want a faster, more personalized support experience? Open a ticket with us! We will be gradually phasing out forum-based support in favor of a proper ticketing system. Please help us help you!


#3 jdkirk

jdkirk

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 02 May 2013 - 08:11 AM

wierd, on all 3 browsers i've checked they are still not sizing correctly.  I just changed the height and width to 50x50 on the widget code just now and the text below the videos get compressed to 50 width but the thumbnails remain unchanged at the same size as the main gallery widgets with a few videos showing much larger (these extra large videos only show up sometimes when I refresh page or go to another page).  Don't think it is browser issue but think CSS conflict, but not sure.

 

I put wordpress and tubepress on a test site, with the basic theme everything worked correctly.  Size of thumbnails and text below followed the height/width I entered.  However, when I changed themes to GamePress, the theme on other site I have the same issues.  Must be the css of gamepress theme.



#4 jdkirk

jdkirk

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 02 May 2013 - 09:14 PM   Best Answer

ok, finally figured out

from an old post https://code.google....s/detail?id=527

 

"Around line 861 of your stylesheet (http://www.create180...lines/style.css) you have

body .content img {
height: auto;
max-width: 100%;
}

This is preventing TubePress from resizing the thumbs. If you remove those lines, the settings from WP Admin > Settings > TubePress > Thumbs will take effect."

 

 

so i found something similar in my stylesheet css

 

 

img { display: inline-block; }
img{max-width: 100%; height: auto;}
 
removed that and everything working well at the moment.