Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 7 replies - 26 through 32 (of 32 total)
  • @snorklebum

    Participant
    In reply to: Full Width

    @snorklebum

    Participant

    Ok apologies for replying to myself but I’ve finally fixed and hopefully it’ll help someone else in the future.

    <body <?php if ( !bp_is_blog_page() ) { body_class( ‘full-width’ ); } else { body_class(); } ?>>

    The code above works with the child theme and renamed full-width.php file.

    In reply to: Full Width

    @snorklebum

    Participant

    I’ve done a bit more digging and using the renamed full-width.php -> buddypress.php it looks like I just need to get full-width in to the body class to get the result I’m after.

    As a logic test within header.php under the <body… line I added <?php if (!bp_is_blog_page() ) { ?> ‘full-width’ <?php }?> which then displays that piece of text at the top of each of the pages I expect.

    When I try and replace

    <body <?php body_class(); ?>>

    with

    <body <?php body_class(if (!bp_is_blog_page() ) { ?> ‘full-width’ <?php }); ?>>

    I just get an empty page.

    I’m probably missing something very simple

    @snorklebum

    Participant

    2 dots in a row is not in the email rfc so support between email servers will differ but best not to use if you wish consistency.

    @snorklebum

    Participant

    I use My Private Site by David Gewirtz

    @snorklebum

    Participant

    Thanks for the replies, I’ll check out that plugin as well, looks like it could come in handy in the future.

    @snorklebum

    Participant

    Typical, I ask a question then hunt around some more and find it in the dashboard, I’d assumed there would be some way from the group pages on the main site.

Viewing 7 replies - 26 through 32 (of 32 total)
Skip to toolbar