Centering a YouTube Block
Permalink
Hello. Does anyone know how to center a YouTube block? I don't see an option and it looks a little off on my page as it is hugging the left side of the page.
Thank you for your help!
Thank you for your help!
Yes. Thank you for giving it a look. http://www.irishdanceidaho.com.... I am currently using the grunge theme.
Okay - just add this to your CSS file:
.youtubeBlock {
text-align: center;
}
Should do the trick!
.youtubeBlock {
text-align: center;
}
Should do the trick!
Here is another question then. How to access the CSS file for that specific page? Thank you so much for being here for me!
Put this in your page properties > extra header content:
<style>
.youtubeBlock {
text-align: center;
}
</style>
<style>
.youtubeBlock {
text-align: center;
}
</style>
That did it!!!! Thank you so much!
Just for future ref - for various reasons it's usually best to get CSS into the actual CSS file itself, that way the styling is applied to each instance on every page on the site. The CSS file for your site should be here:
root/packages/grunge_columns/themes/grunge_columns/main.css
or possibly here:
root/themes/grunge_columns/main.css
root/packages/grunge_columns/themes/grunge_columns/main.css
or possibly here:
root/themes/grunge_columns/main.css
Thank you both so much for your help! I really appreciate it!
Can you give a URL to look at?