Page builder and some external css

  • Author
    Posts
  • #2640

    Aivaras K
    Participant

    Hi, i have two questions:

    1. it is possible to load Page builder JavaScript and css only on Specific Pages? I mean, using page’s IDs

    2. On my page (header, footer, content …) i use only Arial font – it is possible to disable external css fonts (Lato)?

    #2642

    Andrew Misplon
    Keymaster

    Hi Aivaras

    1. Unfortunately, not as far as I know. This is something I can suggest to Greg, the creator, but as far as I know this isn’t yet possible.

    2. Yes, I think we should be able to. Let me investigate and report back.

    #2643

    Andrew Misplon
    Keymaster

    I think you’re using a child theme now, is that right? If so, add the following to your child theme functions.php file:

    /**
     * Unset webfonts.
     */
    function ultra_child_theme_setup() {
        siteorigin_webfonts_remove_font( 'Muli' );
        siteorigin_webfonts_remove_font( 'Lato' );
    }
    add_action( 'after_setup_theme', 'ultra_child_theme_setup', 40 );

    Hope that helps 🙂

    #2644

    Aivaras K
    Participant

    Thx, works great 🙂 i’m waiting for your report.

    #2645

    Andrew Misplon
    Keymaster

    Hi 🙂

    I posted it above, shortly after my first reply. Can you see it?

    #2646

    Andrew Misplon
    Keymaster

    Ahh for item one. Yes, confirmed, unfortunately, no way of doing this at the moment.

    #2647

    Aivaras K
    Participant

    thank you 🙂

    #2648

    Andrew Misplon
    Keymaster

    For sure!

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.

Scroll to top