Skip to:
Content
Pages
Categories
Search
Top
Bottom

cant find the file for changing html structure of profile page


  • has7
    Participant

    @has7

    so i want to edit the main profile page but cant seem to figure out which file to edit i want to do drop down list of the sub nav and hide them in the object nav fields any suggestions which file i should edit???

Viewing 6 replies - 1 through 6 (of 6 total)

  • has7
    Participant

    @has7

    i am looking to make custom template for profile page which file to edit???


    danbp
    Participant

    @danbp

    See in bp-templates/bp-legacy/buddypress/members/single

    and read here for some general guidance. Note: even if only Twenty theme are described as example, you can use (more or less) the same technique for any other theme.

    What ever, all starts by creating a child-theme as very first step.

    Related to your question, do drop down list of the sub nav and hide them in the object nav fields, i think you don’t need to alter a template, but to write a custom function.

    As i can be wrong about you goal, perhaps take also a look to core file bp-core/bp-core-buddybar.php to understand how nav and subnav are instanciated.

    Read also https://codex.buddypress.org/developer/navigation-api/


    has7
    Participant

    @has7

    thanks for replying mate yeah i am sort of looking to make my own custom template for the profile page yeah i understand the child theme process i have already done it plus even after reading all the bp files i was unsure to use which one as a base file to add my own styles to it thanks for helping though i ll get back to you once i try your suggestions


    has7
    Participant

    @has7

    and bro one more thing can you point me out to which specific file should i look at too edit the styling for the object nav and sub nav


    danbp
    Participant

    @danbp

    See CSS file in bp-templates/bp-legacy/css/buddypress.css and copy it to your buddypress folder in the child.

    BuddyPress Theme Development


    has7
    Participant

    @has7

    cheers bro i ll get back to after some customisation

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Skip to toolbar