• Resolved davidenoto

    (@davidenoto)


    I am using rubik for the site titles. From desktop everything works, but from mobile (android and ios) it doesn’t work. What’s up?
    Thank you all.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Anders Norén

    (@anlino)

    Hi @davidenoto,

    I can’t see the Rubik Google Fonts URL being enqueued on either mobile or desktop on your site. I can see that you’re running a child theme. Are you making any modifications to the Chaplin enqueues in the child theme, like registering the parent theme stylesheet as a dependency? That could explain why the Google Fonts URL isn’t enqueued. You can try disabling your child theme (and only run Chaplin) to confirm.

    — Anders

    Thread Starter davidenoto

    (@davidenoto)

    Hi @anlino,
    thanks for the support and for the beauty of your theme!
    You were right!
    I solved with this code:

    <?php
    
    add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' );
    function my_theme_enqueue_styles() {
        wp_enqueue_style( 'child-style', get_stylesheet_uri(),
            array( 'chaplin-style' ), 
            wp_get_theme()->get('all') 
        );
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Rubik font doesn’t work on mobile’ is closed to new replies.