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

Css Mods - View Count


  • Please log in to reply
3 replies to this topic

#1 Patrice

Patrice

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 06 September 2014 - 09:43 AM

Hello,

 

I'm working on a client project and I'm trying to center the meta underneath the thumbnail. I have the title centered appropriately, but I'm having some troubles with the view count. http://themabexperience.com/videos/

.tubepress_meta_views {text-align: center; width: 100%;}

When using the above, it's centered, but the numeric is underneath "view count". I'd like "View count: #" to all be on one line, and centered underneath the title.

 

I'd also like to do the same to the widget on the sidebar: http://themabexperience.com/blog/

What should I modify? 

 

Thanks.



#2 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 08 September 2014 - 10:19 PM

Hello Patrice,

 

To center the "View Count" text, look around line 131 of tubepress.css for an entry similar to:
 

.tubepress_meta_group dt {clear: both; float: left;}

and change it to:

.tubepress_meta_group dt {clear: both; float: none;}

To change the actual # of views location, look for this line (near line 52)

.tubepress_meta {
  float: left;
}

and either make it say float: none; or just remove that line.

 

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 Patrice

Patrice

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 09 September 2014 - 10:23 AM

Thanks Brandon.

 

Your suggestions did center everything (http://themabexperience.com/videos/), but I was trying to get the actual # of views on the same line as "view count" instead of being below it. Is that possible? 

 

Is it also possible to put that same centered "View Count: #" line on the videos we show on the sidebar? http://themabexperience.com/blog/



#4 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 09 September 2014 - 08:19 PM

Hello Patrice,

 

In order to accomplish what you are trying to, you will need to create a custom template for TubePress to use.  The easiest way to do this is to make a duplicate of the default.tpl.php file (as a backup) and then make the necessary modifications.

 

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!