• 0
Sign in to follow this  
Followers 0

tubepress thumbs size not working in DMS


Question

Posted · Report post

Hi

 

on my weblog http://www.hansonexperience.com I have installed DMS. It is great and very user-friendly in working with it. No coding. 

But now I have a strange behaviour at my sidebar as the thumbs of tube press are not the size I have entered. Every now and then they change to smaller thumbs or one small two large etc.

 

How can I force DMS to use the width and height I entered in tubepress?

Share this post


Link to post
Share on other sites

5 answers to this question

  • 0

Posted · Report post

The plugin is adding its own CSS.  If you inspect it with Firebug for Firefox, you'll see the code for those images.  If you adjust the CSS, you should be able to resolve this.

 

If you see what I mean below:

.tubepress_sidebar .tubepress_thumb img {
    margin: 0 auto !important;
    padding: 5% 5% 1% 2%;
    width: 300px;
}

I'd recommend changing things, by the way, to em and % rather than fixed pixel sizes to avoid breaking the responsiveness of your site.

Share this post


Link to post
Share on other sites
  • 0

Posted (edited) · Report post

Rob Yes I changed default tubepress to what you mentioned above and now it is ok. 

Changing em and % sounds good but what do I have to enter for 300px (in the sidebar)?

Edited by hansonexperience

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Use this link to recalculate from 300px to em  http://riddle.pl/emcalc/

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Thx! Great

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Glad that helped!

1 person likes this

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0