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

Problem with google font! #1

Open
fahimxyz opened this issue Jan 29, 2019 · 5 comments
Open

Problem with google font! #1

fahimxyz opened this issue Jan 29, 2019 · 5 comments

Comments

@fahimxyz
Copy link

fahimxyz commented Jan 29, 2019

Hi,

I have used this plugin to my site but it not work perfectly.

I changed one to the font Oswald but it says Oswald:regular in the code.

<?php $font_family = get_post_meta( get_the_ID(), $prefix . 'font_family', true ); 

 if( $show_label === 'on' && !empty($font_family['font-family'])) : ?>
	.popup-box-<?php echo get_the_ID(); ?> .btn-onview { 
		font-family: '<?php echo $font_family['font-family']; ?>'; 
	}
<?php endif; ?>

Output:
.popup-box-10276 .btn-onview { font-family: 'Oswald:regular'; }

Please guide is I am right or wrong, why it says Oswald:regular in the code. Why font not render?

Thanks

@eduplessis
Copy link
Owner

Hi let's me check this... I gonna ping you

@fahimxyz
Copy link
Author

I think the problem with the font selector... you using a very old google web font source.

Please check this one: https://github.com/seanvm/fontselect-jquery-plugin

Maybe, it helps you.

Thanks

@ThisIsDallas
Copy link

Hey @eduplessis any updates on this?

@eduplessis
Copy link
Owner

Hi sorry for the wait.... I gonna check this tonight... I've been quite busy this week

@ThisIsDallas
Copy link

No problem, really appreciate it!

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