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

How do i center text under thumbnail??


  • Please log in to reply
7 replies to this topic

#1 markus nyl

markus nyl

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 07 December 2011 - 01:23 PM

How do i center text under thumbnail?

I have tried everything reinstall wordpress, reinstall tubepress and dissabled all other plugins, why is the text not centered??

http://lolcalling.com/all-videos

#2 Emilio Doménech

Emilio Doménech

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 27 January 2012 - 05:23 AM

Hi! I was wondering the same thing. I want to modify the sidebar so the videos and the text can be seen at the center of the sidebar. Also, is it possible to show the play icon -or something like that- in the sidebar thumbnails?

This is my website, so you can see what i'm referring to: http://www.thecinefagos.com

#3 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 29 January 2012 - 12:10 AM

Hi! I was wondering the same thing. I want to modify the sidebar so the videos and the text can be seen at the center of the sidebar. Also, is it possible to show the play icon -or something like that- in the sidebar thumbnails?

This is my website, so you can see what i'm referring to: http://www.thecinefagos.com


Hi,

Are you looking to simply center the text underneath the thumbnail? Reason I'm asking is that the current thumbnail width that you have (300px) is roughly the size of your sidebar container. Please let me know and we can figure out the CSS that you'll need.

As for the play icon, are you trying to simply add an icon next to the videos? Or are you looking for an overlay?

#4 Emilio Doménech

Emilio Doménech

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 10 March 2012 - 10:14 AM

Hi,

the align-center it's not a problem anymore.

As for the play icon, I'm looking for an overlay, but i'm not really an expert, so you'll have to teach me... (sorry)

#5 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 11 March 2012 - 05:08 PM

I would go with something along the lines of the highest-voted answer here:

Make a PNG graphic, semitransparent, with a symbol that seems to indicate "play". Make it the size you want, maybe a 320x240 graphic or what not. Let's say you named it "overlay.png"

Let's say the YouTube generated thumbnail is at http://img.ytimg.com/abcdefg/0.jpg

Now all you need in your code is this:



As long as your target audience is not still using IE6, you should be safe.


To get your changes incorporated into your TubePress installation, simply create and activate a custom TubePress theme. You'll want to make your edits to your theme's gallery.tpl.php somewhere around this line.

Does that make sense? Let us know how this works for you. Thanks!

#6 Ryszard Chudy

Ryszard Chudy

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 09 April 2012 - 09:27 AM

How do i center text under thumbnail?

I have tried everything reinstall wordpress, reinstall tubepress and dissabled all other plugins, why is the text not centered??

http://lolcalling.com/all-videos



I've got the same problem. Can You help me, please? Link: http://www.rr-studio...wordpress/film/

#7 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 09 April 2012 - 11:26 PM

How do i center text under thumbnail?

I have tried everything reinstall wordpress, reinstall tubepress and dissabled all other plugins, why is the text not centered??

http://lolcalling.com/all-videos



I've got the same problem. Can You help me, please? Link: http://www.rr-studio...wordpress/film/


Hi,

It looks like you've made a few CSS edits already. I think the key for you to achieve centering of the video titles is to add the following CSS:

dd.tubepress_meta_title a {
    width: 100%;
}
This will result in centered titles. Screenshot: http://i.imgur.com/Y2VWZ.png. Is that the look you're after? Let me know. Thanks!

#8 Ryszard Chudy

Ryszard Chudy

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 10 April 2012 - 05:32 AM

It works! Thank You very much.

BTW: Since I moved to PRO version I've got another problem, but I searche the forum first for resolution. ;)