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

Flags zooming on the screen #3

Open
spuriocamila opened this issue Apr 13, 2022 · 3 comments
Open

Flags zooming on the screen #3

spuriocamila opened this issue Apr 13, 2022 · 3 comments

Comments

@spuriocamila
Copy link

When I change pages on the site, the flags zoom in on the screen for a few seconds, as if it was unconfigured. How can I resolve this?
image

@pacotole
Copy link
Member

Can you share your url?

@spuriocamila
Copy link
Author

Can you share your url?

sure!

It's --> http://goodpoker.net/homologacao/

@pacotole
Copy link
Member

Hi!

Language switcher styles are loaded only when widget is rendered but they are enqueued at the end of the page.
You can enqueue them earlier on header adding this code in your theme functions.php:

add_action( 'elementor/frontend/after_enqueue_styles', function(){
    wp_enqueue_style( 'cpel-language-switcher' );
} );

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