Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text Alignment Question #593

Closed
appliqed opened this issue Sep 9, 2013 · 2 comments
Closed

Text Alignment Question #593

appliqed opened this issue Sep 9, 2013 · 2 comments

Comments

@appliqed
Copy link

appliqed commented Sep 9, 2013

Hello,

This is a newbie question, but I haven't managed to override the center text alignment. I just want to justify my text. My current codes are:

HTML
Reveal.initialize({
controls: true,
progress: true,
history: true,
center: false,})

CSS
.reveal {
text-align: justify;
font-family: 'Source Sans Pro', sans-serif;
font-size: 28px;
font-weight: 200;
letter-spacing: 0.02em;
color: #666666;
display: block;}

Thanks in advance!

@hakimel
Copy link
Owner

hakimel commented Sep 9, 2013

You just need a more specific selector in your CSS, replace .reveal { with .reveal .slides {.

@hakimel hakimel closed this as completed Sep 9, 2013
@appliqed
Copy link
Author

appliqed commented Sep 9, 2013

Thank you so much! Learning new things everyday :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants