Skip to:
Content
Pages
Categories
Search
Top
Bottom

No Twentysixteen Companion Styles

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

  • Tranny
    Participant

    @tranny

    Here’s another vote for this to get done soon 🙂

    @airsid , @tranny

    We would need a little more detail to be able to help but are you running widgets in the main sidebar, i.e have you a right sidebar showing for your pages? twentysixteen will only set the vertical user navigation if there is no sidebar as the available width is too narrow so we drop back to the default horizontal navigation.


    airsid
    Participant

    @airsid

    Hello,
    Yes i figured out, that was the issue.
    Thanks for your great support 😉


    Tranny
    Participant

    @tranny

    @hnla

    I found that BP comes with changes which are suggested on that page already in the code. But the profile page does not look like on that page.

    I am left in complete darkness. How can I modify profile pages to have that type of look? Can it be done with mods to the child theme, in order to preserve BP source files so I don’t lose the changes with the next BP update?


    airsid
    Participant

    @airsid

    Hello,

    @Tranny

    1) Use Twentysixteen Theme
    2) Install Content Aware Sidebars plugin
    3) Create a sidebar then select Buddypress Members type and add all proposed subcategories. Then save the sidebar. Do not add any widget in this sidebar.

    You should be good 😉


    Tranny
    Participant

    @tranny

    @airsid

    Are you saying I need to install a sidebar plugin to see changes to the theme?


    Tranny
    Participant

    @tranny

    @hnla

    Help me out – how do I implement BuddyPress styling into my Twenty Sixteen child theme?


    airsid
    Participant

    @airsid

    @tranny,

    Are you saying I need to install a sidebar plugin to see changes to the theme?

    Yes ! Have you try the solution I gave you ?

    As explain by @hnla, Buddypress companion style works only when the buddypress pages have enough width, that’s mean no sidebar or an empty sidebar (no widget in it).
    For twenty sixteen theme, when the regular sidebar is empty (no widget) the buddypress content still not use 100% width, it’s why companion style isn’t working even with the empty regular sidebar.

    So an easy solution is to create a new empty sidebar that will replace the regular theme sidebar.
    To do that I used the Content Aware Sidebars plugin as discribe in my previous post.
    Try to follow those steps
    2) Install Content Aware Sidebars plugin
    3) Create a sidebar then select Buddypress Members type and add all proposed subcategories. Set it as substitution to the regular sidebar and then save it. Do not add any widget in this sidebar.
    4) Don’t forget to clear your browser cache.

    @tranny I’m not sure I’m inderstanding the question or problem here, but if you want the styling for vert menu that would appear with no sidebars but do have sidebar in use you’re alternative option to the above solution provided by @airsid would be to ensure you have a copy of a primary temple i.e page.php moved to a bp folder in your child theme, in that you would use conditional checks around the get_sidebar() to remove it from loading on profile pages then copy the companion styles over and find the section for the navigation and where/how I select to show only if the class .no-sidebar is printed on the body element by adding in:
    body.no-sidebar, body.bp-user {} to all the rulesets that cover the navigation properties.
    ( I realise this is a not that straightforward though, and am puzzling whether we can write something better, but it’s a problematical area things like theme sidebars for BP and user account screens.)

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘No Twentysixteen Companion Styles’ is closed to new replies.
Skip to toolbar