BuddyDev

Search

[Resolved] changing css tags

  • Participant
    Level: Enlightened
    Posts: 61
    David on #40034

    What would I need to do to change all the tags marked with buddypress?

  • Keymaster
    (BuddyDev Team)
    Posts: 21067
    Brajesh Singh on #40035

    Hi David,
    Thank you for the question.

    Do you mean the css classes in template? If yes, you will need to rewrite your own template pack to achieve this as most of the classes are hardcoded there.

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 61
    David on #40036

    Well I did manage to do that and rename the css files but now it looks like this : https://imgur.com/a/v2cKlkT

    I have no debug tools to help on firefox for php so would you have any idea what I might be missing?

  • Keymaster
    (BuddyDev Team)
    Posts: 21067
    Brajesh Singh on #40047

    Hi David,
    That’s expected as you renamed the css files but did not load. You will need to load the renamed files too.

    Please take a look at wp_enqueue_script top see how can you load the assets.

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 61
    David on #40063

    So you saying I renamed it but not correctly so it would load?

  • Keymaster
    (BuddyDev Team)
    Posts: 21067
    Brajesh Singh on #40067

    Hi David,
    When you change a file url, BuddyPress will not know of its existence. So, you will need to load it on your own to make it available on the front end.

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 61
    David on #40085

    OK, I just want to make sure we are on the same page here.

    I tried to make a community folder and it did not work, has anything changed in the new update regarding that.

    I am currently working on one of the templates that come with buddypress so I am only renaming the files/renaming them.

    I do not know php so I am very limited on what I can edit.

    So from that image is it the js or css that is not loading?

  • Keymaster
    (BuddyDev Team)
    Posts: 21067
    Brajesh Singh on #40099

    Hi David,

    If you re changing “buddypress” template folder to “community”, t should work fine.

    The problem will be when you rename the individual css/js file.

    From your image, It seems, the css file was not loaded. You can verify it by visiting browser console. There should be an error for the same.

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 61
    David on #40120

    It says via page source that the min.css version is loaded.

    by the way do you know of any custom templates for buddypress?

  • Participant
    Level: Enlightened
    Posts: 61
    David on #40121

    I also can’t see any errors in my console.

You must be logged in to reply to this topic.

This topic is: resolved