Skip to:

Responsive Theme [role] Problem

  • Dennis Wagner


    Wordpress: 3.52
    Buddypress: 1.8
    Theme: Tatami (Example, Off Canvas, Responsive)

    Hey guys,
    first of all, nice plugin!

    It seems that you working hard on cross-theme compatibility. 🙂
    A couple months ago I tried to use BP but it really didn’t work with my (responsive) theme.
    I just decided to give it another shot and now it’s much much better.

    Now to my problem:

    How do I get rid of the roles that BP automatically takes from the theme?

    <div id=”item-header” role=”complementary”>
    <div id=”subnav” class=”item-list-tabs no-ajax” role=”navigation”>
    <div id=”item-body” role=”main”>

    Or how can I get role=”main” for the other two divs?

    Hope you can help me with specific instruction because I’m still a newbie in coding.

    Have a great day everyone!

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

  • Hugo Ashmore


    ? Why are you wanting to do this? What is wrong with the aria roles? Are you saying you want all those elements to have a landmark role ‘main’?

    All BP templates are over-loadable (copyable) to your theme where you may edit them, refer to the codex for guides on how to do this.

    Dennis Wagner


    All BP divs are in my content/post area (not in my sidebars).
    As soon as it gets to responsive design the BP-divs with role=”complementary and navigation” behave like my sidebars and disappear. Furthermore they destroy the design.

    It’s totally ok for me to edit the BP templates, all I need to know is which one and how! 😉

    Nice weekend everyone!



    You can copy templates over and then remove roles

    Dennis Wagner



    Sounds great. I think I can handle that.
    Although, isn’t there an easier sollution to get rid of the BP-div roles via function.php?

    Dennis Wagner


    Click here to read further discussion.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Responsive Theme [role] Problem’ is closed to new replies.
Skip to toolbar