![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hello,
after searching and reading the forum still didn't find a solution. I have two kinds of posts - illustrated by images and by embedded videos. There is no problem with having image thumbnail appear on the home page. There is an option in Tubular theme to display video thumbnails as well. Can we have both images and videos thumbs on same page? Is it and how it is possible? (Creating a screenshot of a video as thumbnail is not an option I'm looking for) Maybe not Agent, but other theme? Thank you.
|
|
#2
|
||||
|
||||
|
You should have something like this on your home.php file:
PHP Code:
PHP Code:
__________________
Thanks, Jon Weisss Request a quote Need WordPress Maintenance? I'm A Recommended Designer Skype: weiss.jonathan Please respect my privacy. Do not pm or email me regarding support questions unless otherwise instructed. |
|
#3
|
|||
|
|||
|
Thank you. It's a half of road.
The code works, but you need manually resize <embed> code in "video" custom field (otherwise it shows full size of video). Also you need to add styling like float and margins inside the <embed> code. I tried to add this into *.css file, but didn't work. .video { float:left; margin: 0px 10px 5px 0px !important; padding: 2px !important; border: 1px solid #DDDDDD !important; } Here is like it looks now:
|
|
#4
|
||||
|
||||
|
can you PM me a link to your site?
__________________
Thanks, Jon Weisss Request a quote Need WordPress Maintenance? I'm A Recommended Designer Skype: weiss.jonathan Please respect my privacy. Do not pm or email me regarding support questions unless otherwise instructed. |
|
#5
|
||||
|
||||
|
Try adding this to your CSS:
Code:
#homepagebottom embed, #homepagebottom object {
height:110px;
margin:0;
padding:0;
width:200px;
}
__________________
Thanks, Jon Weisss Request a quote Need WordPress Maintenance? I'm A Recommended Designer Skype: weiss.jonathan Please respect my privacy. Do not pm or email me regarding support questions unless otherwise instructed. |
|
#6
|
|||
|
|||
|
I've slightly changed proposed CSS code and it does work like magic:
Code:
#homepagebottom embed, #homepagebottom object {
height:110px;
float: left;
margin: 0px 10px 0px 0px;
padding:0;
width:200px;
|
|
#7
|
||||
|
||||
|
Glad I could help!
__________________
Thanks, Jon Weisss Request a quote Need WordPress Maintenance? I'm A Recommended Designer Skype: weiss.jonathan Please respect my privacy. Do not pm or email me regarding support questions unless otherwise instructed. |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Replace video on front page with image? | megamoze | General Discussion | 4 | 09-24-2010 12:26 PM |
| Video thumbnails in video page | Sandal Woods | General Discussion | 18 | 02-02-2010 05:36 AM |
| Is is possible to use BOTH video & image thumbnails on home? | Ryen | General Discussion | 1 | 11-02-2009 06:51 AM |
| hpmain on home page thumbnails to video thumbnails? | gordonmartin | General Discussion | 19 | 11-02-2008 02:26 PM |
© Copyright 2012 Copyblogger Media LLC · StudioPress™ is a trademark of Copyblogger Media LLC
Privacy Policy | Refund Policy | Terms of Service | Affiliate Program | Contact Us