Different Preset Style for Specific Template

On BP-Business, i have selected the blue preset style... i was wondering if there is a way to create a custom template like "template-fullwidth" so that it uses the Red preset style instead but only on that page... the rest of the site would remain blue.

  • Richie_KS
    • HummingBird

    try open bp-business/header.php and in line 35

    <?php } else { ?>
    <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/_inc/styles/
    <?php echo $get_current_scheme; ?>" type="text/css" media="all" />
    <?php } ?>

    edit to this

    <?php } else if (is_page('YOUR-PAGE-ID') { ?>
    <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/_inc/
    styles/THE-PRESET-STYLE-CSS.css" type="text/css" media="all" />
    <?php } else { ?>
    <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/_inc/
    styles/<?php echo $get_current_scheme; ?>" type="text/css" media="all" />
    <?php } ?>

    pretty sure it'll work but haven't tested them yet tho.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.