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

Change Font-family and font-size? #24

Closed
clFaster opened this issue Mar 14, 2019 · 3 comments
Closed

Change Font-family and font-size? #24

clFaster opened this issue Mar 14, 2019 · 3 comments

Comments

@clFaster
Copy link

Hi,

I'm tried out this nice package and I was wondering if there is a fast way to change the font-family and font-size?

It's a very nice package!

BR

@AlexTorresDev
Copy link
Owner

You can assign the font and size globally with body in your CSS styles.

Also only to the title bar using .titlebar and .titlebar > *

Example:

// Applied to every document including the title bar
body {
    font-family: Roboto, sans-serif;
}

Or

// It only applies to the title bar
.titlebar, .titlebar > * {
    font-family: Roboto, sans-serif;
    font-size: 20px;
}

@clFaster
Copy link
Author

thanks a lot, I should have thought of that

@RHulshizer
Copy link

Hi. Thanks very much for this little tool. It's very useful. Unfortunately, I'm finding that applying the styles as you have listed above only sets the font-size for an embedded menubar, but not the menu items or the app title. I was able to set the font-size for the app title by using jquery as shown:

$('.window-title').css('font-size', '16px');

Adding a style definition to CSS did not work, and I still can't set the font size for the menu items. Any ideas? Thanks.

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

3 participants