-
AuthorPosts
-
jkriordan Friend
jkriordan
- Join date:
- June 2012
- Posts:
- 59
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 8
- Thanked:
- 1 times in 1 posts
August 7, 2012 at 7:25 pm #179737I want Youtube, Instagram, Vimeo to appear as the do in the demo–a clean grid of images with roll-over descriptions.
I know how Blog Layout and Article Options work.
I notice there’s a Page Class “video” which appears under Page Display Options. But when I enter that class into my wall, it doesn’t change anything. I’m working from the template, not the quickstart. Do I need to add some CSS?
I should also mention that I haven’t installed K2 yet.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
August 8, 2012 at 9:22 am #463578Hi again,
You could try with adding “vimeo” instead of video in Page Disply Options, then open file: templates/ja_wall/css/template.css, find class we defined for video and you and make the same for vimeo:
.item.vimeo .item-image span {
background: url(../images/icon-play.png) no-repeat left top;
content: "";
display: block;
width: 48px;
height: 48px;
margin: -24px 0 0 -24px;
position: absolute;
left: 50%;
top: 50%;
}Clean all cache and refresh your site.
John Wesley Brett ModeratorJohn Wesley Brett
- Join date:
- July 2013
- Posts:
- 2142
- Downloads:
- 17
- Uploads:
- 26
- Thanks:
- 175
- Thanked:
- 645 times in 426 posts
August 8, 2012 at 11:45 am #463600The videos are pulled into the site with the JASocial Feed plugin with the following settings:
Then In the Demo – the videos are brought to the website as a Category Blog with the following settings:
And in the “PAGE DISPLAY OPTIONS” make the PAGE CLASS: video
Have fun!
-
jkriordan Friend
jkriordan
- Join date:
- June 2012
- Posts:
- 59
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 8
- Thanked:
- 1 times in 1 posts
August 8, 2012 at 5:37 pm #463635I found the Video style in my CSS, including your code example. It should work when I enter class ‘video’ in Page Display Options, just as it does in the demo. The change you’re recommending shouldn’t be necessary. I think the problem is somewhere else. I tried clearing my cache, no change.
jkriordan Friendjkriordan
- Join date:
- June 2012
- Posts:
- 59
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 8
- Thanked:
- 1 times in 1 posts
August 8, 2012 at 5:46 pm #463636I’m using exactly the same settings, with trivial differences (eq. different sort order, show suggested videos: No). PAGE CLASS: video is not working.
I’m not having fun, but thanks anyway.
jkriordan Friendjkriordan
- Join date:
- June 2012
- Posts:
- 59
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 8
- Thanked:
- 1 times in 1 posts
August 9, 2012 at 5:53 pm #463767In addition to the steps you outline, I needed to go under JA Wall parameters and set Default Block View to “Image View”. This lines up videos in a neat grid, with rollover descriptions.
This leaves only the little “Play” icon which appears in the Demo for Videos, but which doesn’t appear on my site.
The proper code is in my CSS. How do I invoke it to my screen? Using class “video” isn’t working.
.item.video .item-image span {
background: url(../images/icon-play.png) no-repeat left top;
content: “”;
display: block;
width: 48px;
height: 48px;
margin: -24px 0 0 -24px;
position: absolute;
left: 50%;
top: 50%;
}John Wesley Brett ModeratorJohn Wesley Brett
- Join date:
- July 2013
- Posts:
- 2142
- Downloads:
- 17
- Uploads:
- 26
- Thanks:
- 175
- Thanked:
- 645 times in 426 posts
August 9, 2012 at 6:06 pm #463769From where are you calling the “video” class?
jkriordan Friendjkriordan
- Join date:
- June 2012
- Posts:
- 59
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 8
- Thanked:
- 1 times in 1 posts
August 10, 2012 at 2:26 am #463794From Menu Manager : Edit Menu Item, Page Display Options, Page Class = video
Exactly as in the Demo.
The path to template.css is: mydomain/templates/ja_wall/css/template.css
template.css contains the “video” style. I haven’t modified it in any way.
icon-play.png is in the /images folder, where it belongs.
I’m baffled.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
August 10, 2012 at 3:55 am #463813Hi there,
If you wanna make us of class video which’s already defined in template.css file, you should go to backend of each item in Vimeo category (or other categories: instagram, youtube, …) and add video class in Extended classes parameter. http://easycaptures.com/fs/uploaded/622/6893928038.png
However, I think this way will take time, another way is that you can create another CSS rules for other categories like:
.item.vimeo .item-image span {
background: url(../images/icon-play.png) no-repeat left top;
content: "";
display: block;
width: 48px;
height: 48px;
margin: -24px 0 0 -24px;
position: absolute;
left: 50%;
top: 50%;
}As I suggested in my first reply and apply to other categories if you want.
Hope this make senses.
jkriordan Friendjkriordan
- Join date:
- June 2012
- Posts:
- 59
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 8
- Thanked:
- 1 times in 1 posts
August 11, 2012 at 12:15 am #463907Saquaros, I appreciate your help, but–yes, doing it article by article is too much work. For the record, it does work, the Play icon appears when I enter the class in the article edit. So I’m certain that the code and path is OK.
But in the demo, the class=video is invoked ONLY in the Menu Page Display Options, and NOT in the Edit Article Metadata Options. The Play icon displays fine in the demo. So, it should work for me, but doesn’t. I think the problem is somewhere else, perhaps in Global Options.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
August 13, 2012 at 2:01 am #463958Hi again,
It’s because the style will be based on the alias of category and applied for only that category, as in demosite, video category has aliasas video so that it will displays icon-play fine, you can try with change alias of yours category to video to see the difference. Otherwise, if you wanna display icon-play with another alias, add addition CSS rules like my above suggestion.
Hope you got the idea 🙂 -
AuthorPosts
Viewing 11 posts - 1 through 11 (of 11 total)This topic contains 11 replies, has 3 voices, and was last updated by Saguaros 12 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum