Skip to:
Content
Pages
Categories
Search
Top
Bottom

vertical line being generated between menu items in activity widgets

  • Avatar of familychoiced
    familychoiced
    Participant

    @familychoiced

    Hi,

    I’m attempting to build a BuddyPress child theme with Genesis (latest versions of BP, WP and Genesis installed). It’s going ok, but in the activity widget a vertical line is being generated between menu items, for example:

    <div class=”item-options” id=”groups-list-options”>
    Newest |
    Active |
    Popular
    </div>

    Is this being generated by BuddyPress or Genesis, and if so is there any way of getting rid of it? I can’t see it in other themes I’ve looked at.

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @familychoiced site url?

    Avatar of familychoiced
    familychoiced
    Participant

    @familychoiced

    Thanks for the reply, sorry here you go: http://www.awf.midwalesdesign.com/

    The site is pretty bare at the moment, and set-up to test out the basic BuddyPress functionality. Just can’t work out why the vertical lines are showing up in the blue buttons for Newest/Active/Popular though.

    Thanks.

    Avatar of Hugo
    Hugo
    Moderator

    @hnla

    They are there because they should be or at least if writing markup in that manner then a delimitation must be provided between links, in this case those are hardcoded character pipes.

    Those three links should really be written as a ul/li construct then the need to delimit or separate the anchors is removed.

    These widgets are in bp-core-widgets.php & bp-groups-widgets.php so no easy way of dealing with them, other than copy those widgets out to your own theme and modify the names to make unique and then modify the markup.

    Avatar of familychoiced
    familychoiced
    Participant

    @familychoiced

    Thanks for the reply Hugo, I’ll take a look and see if I can hide them with CSS or try your suggestion.

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

You must be logged in to reply to this topic.