BuddyDev

Search

[Resolved] How to create a template

  • Participant
    Level: Enlightened
    Posts: 64
    David on #42572

    Ok I think I might have it. I inserted this code into my functions file of the template to load the css file I want.

    add_action( ‘wp_enqueue_scripts’, ‘child_enqueue_styles’);

    function child_enqueue_styles() {

    wp_enqueue_style( ‘reset-style’, get_template_directory_uri() . ‘/css/profile.css’, array());

    Now how do I remove the other one permantly?

  • Keymaster
    (BuddyDev Team)
    Posts: 21779
    Brajesh Singh on #42583

    Hi David,
    Do you want to disable the loading of buddypress.css?

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 64
    David on #42619

    Yes I do.

    I also take it the javascript files are also hard-coded so I am looking into that as well.

You must be logged in to reply to this topic.

This topic is: resolved