• Resolved thinkstopthink

    (@thinkstopthink)


    Looked for this but couldn’t find the answer. I simply want the links underneath the video to stay centered below the video, regardless if the video is left, center, or right justified. The default for Bar Style is \”center\” but that doesn’t appear to do anything.

    Also, there is a very large space between the video links the and the video. Is there an easy way to decrease that space?

    Sorry if this is easy, my knowledge of CSS is not so thorough.

    Thanks!

    Jon
    http://www.jonwitsell.com

    http://wordpress.org/plugins/youtube-embed/

Viewing 11 replies - 1 through 11 (of 11 total)
  • I’m not sure what you mean Jon – there isn’t any CSS applied, by default, to the download bar.

    I suspect any style issues are a result of your current theme. Can you provide a link to where it’s displaying wrong?

    The download bar does have a CLASS of vye_links so you can use that in your CSS file to set default styles, if you wish.

    Applian.

    Thread Starter thinkstopthink

    (@thinkstopthink)

    Hi!

    Thanks for the quick response. Hmmm, could be something I’ve messed up then. :\

    I always want the video and the links below it centered in my post. So, I end up doing this in the text editor to make it display correctly:

    <div align=”center”>[youtube]http://youtu.be/blahblahblah[/youtube]</div>

    I do that by cutting and pasting this into the text editor:
    <div align=”center”>%video%</div>

    And then inserting this:
    [youtube]blahblahblah[/youtube]
    into the %video% area of the link directly above in the text editor.

    I guess what I would love to have is a profile that simply centers the links below the video, no matter if I have the video left, center, or right justified. I guess that is easy to do, I just don’t know how to do it!

    My current default profile (as viewed in the “YouTube Video Sample” has the video centered, with the links left justified.

    Better show you:
    New post in ‘Visual’ mode
    Click YouTube Embed Button
    Add YT URL
    In Text mode, I get this:
    [youtube]http://www.youtube.com/watch?v=7m7njvwB-Ks[/youtube]

    This is the result:
    http://jonwitsell.com/test/

    1. The links are left justified, the video is center justified. I’d like them both center justified automatically.
    2. There is a lot of space between the bottom of the video and the top of the links that I’d like to decrease.

    Thank you very much for your help. This plug-in is great and now I have my YT video info showing up in my RSS feed 100% of the time.

    Jon
    http://www.jonwitsell.com

    Thread Starter thinkstopthink

    (@thinkstopthink)

    Hi!

    Thanks for the quick response. Hmmm, could be something I’ve messed up then. :\

    I always want the video and the links below it centered in my post. So, I end up doing this in the text editor to make it display correctly:

    <div align=”center”>[youtube]http://youtu.be/blahblahblah[/youtube]</div>

    I do that by cutting and pasting this into the text editor:
    <div align=”center”>%video%</div>

    And then inserting this:
    [youtube]blahblahblah[/youtube]
    into the %video% area of the link directly above in the text editor.

    I guess what I would love to have is a profile that simply centers the links below the video, no matter if I have the video left, center, or right justified. I guess that is easy to do, I just don’t know how to do it!

    My current default profile (as viewed in the “YouTube Video Sample” has the video centered, with the links left justified.

    Better show you:
    New post in ‘Visual’ mode
    Click YouTube Embed Button
    Add YT URL
    In Text mode, I get this:
    [youtube]http://www.youtube.com/watch?v=7m7njvwB-Ks[/youtube]

    This is the result:
    http://jonwitsell.com/test/

    1. The links are left justified, the video is center justified. I’d like them both center justified automatically.
    2. There is a lot of space between the bottom of the video and the top of the links that I’d like to decrease.

    Thank you very much for your help. This plug-in is great and now I have my YT video info showing up in my RSS feed 100% of the time.

    Jon
    http://www.jonwitsell.com

    There is already a box in the options screen to specify any CSS for the links, so I’d recommend using that.

    Are you using responsive output for the video?

    Applian.

    Thread Starter thinkstopthink

    (@thinkstopthink)

    Here:

    Vixy YouTube Embed Options
    I see no box related to “Link Options.”

    Here:

    Vixy YouTube Embed Profiles
    Bar Style CSS elements to apply to links under video
    Is that what you mean?

    If not, will you please be incredibly specific with these two things:
    What is the CSS code to center the links under the video?
    Where is that code inserted?

    I don’t know what “responsive output” means. I google search that term and ‘vixy’ and and the answer is listed in the search result, but when I click on the link and then go to the faq, that term isn’t there. That has happened twice. Should I use it? How do I do that?

    Sending links or screenshots would be most useful.

    Thanks!

    Jon
    http://www.jonwitsell.com

    That’s the option yes. Simply put, for example, align="center" in the box and save it and it will apply to the links.

    Responsive.. ok. Go into Profiles and scroll down to where the video size is specified. Under this is a tick box named “Dynamically resize”. Is this ticked?

    Applian.

    Thread Starter thinkstopthink

    (@thinkstopthink)

    OH! You meant this box:

    Options For All Player Types

    That wasn’t clear if it was that or the Options PAGE. Gotcha.

    However, it isn’t working. I cut and pasted this from your response:

    align=”center”

    Then I save the profile. Then I look in the Bar Style box after saving, and the code is now this:

    align=\”center\”

    And the links are not centered.

    Why are the forward slashes being added?

    I selected “Dynamically resize” and now the vids fill the full column of the blog. Thanks for that.

    However, there still is a large space between the bottom of the video and the top of the link text. Is there a way to fix that easily?

    Thanks!

    Jon
    http://www.jonwitsell.com

    That was my fault, I didn’t specify correct CSS. You should try adding something such as…

    text-align: center

    As for the large space, that will down to the CSS used for your theme.

    Applian.

    Thread Starter thinkstopthink

    (@thinkstopthink)

    This:

    text-align: center

    Doesn’t work.

    I deleted the plugin. I reinstalled the plugin.

    I center the video in the Template box with this css:

    <div align=”center”>%video%</div>

    I try to center the links in the Box Style box with this css:

    <div align=center>vye_links</div>

    or this:

    <div align=center>%vye_links%</div>

    The links are still justified left.

    Please, please, please!! Will you PLEASE type out very carefully the EXACT characters that have to go into Bar Style box to center the links under the centered video.

    Thanks!

    Jon

    Jon,

    Anything you type into that box will be wrapped around the download bar as a “style” element – if you look at the page source you will see how this applies.

    What I can’t do is advise you on the appropriate CSS for your theme.

    Applian.

    Thread Starter thinkstopthink

    (@thinkstopthink)

    Ok, thank you. I’ve decided Smart Youtube PRO is a better fit.

    Jon

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Centering Bar Style’ is closed to new replies.