Show Sidebar Log in
Commons In A Box Logo
  • Home
  • About
    • Project Team
    • Logos and Graphics
  • Showcase
    • CBOX Classic Showcase
    • CBOX OpenLab Showcase
  • Demo
  • Get Started
  • Documentation
    • Technical Guide
    • CBOX Classic Guide
    • CBOX OpenLab Guide
  • Support Forums
    • CBOX Classic
    • CBOX OpenLab
    • Developers Forum
  • News

Group Admins

  • Profile picture of Scott Voth

CBOX Classic Support

Public Group active 4 months, 2 weeks ago

This group provides support for Commons In A Box Classic, our original software for community-building. Register for an account or log in to commonsinabox.org, then join the group and post your question here.

Slider issue when set as HOME vs not HOME in Settings > Reading

Tagged: homepage CBOX 1.5, slider

  • This topic has 2 replies, 1 voice, and was last updated 11 years, 9 months ago by Geoff.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • August 20, 2013 at 7:37 pm #3480
    Geoff
    Participant

    I’m creating a site with a home page that is different than the home templates page (just like CBOX does).

    Only I’m getting some slider issues when I change the setting of the home page, vs just using the home template.

    That might sound confusing.

    If my homepage templated page is set as FRONT page in the reading settings, then everything looks swell. If I make my front page a different page, then the slider appears as more of a UL>LI and its alignment is off, etc.

    Wondered if anyone else saw this.

    Attachments:
    You must be logged in to view attached files.
    August 21, 2013 at 12:43 pm #3499
    Geoff
    Participant

    I’ve narrowed it down to a link to the slider CSS not being called when the page is not set to be the FRONT-PAGE.

    <link media=”all” type=”text/css” href=”http://beta.mbacswp.org/wp-content/themes/cbox-theme/assets/css/bxslider/jquery.bxslider.css?ver=3.6&#8243; id=”cbox-theme:bx_slider-css” rel=”stylesheet”>

    It’s present when the front-page, but not when its just using the homepage.

    August 21, 2013 at 1:03 pm #3501
    Geoff
    Participant

    I added this to the header-head.php file

    <?php
    if ( is_page_template(‘templates/homepage-template.php’) ) {
    // render slider CSS tag ?>
    <link media=”all” type=”text/css” href=”http://beta.mbacswp.org/wp-content/themes/cbox-theme/assets/css/bxslider/jquery.bxslider.css?ver=3.6&#8243; id=”cbox-theme:bx_slider-css” rel=”stylesheet”>
    <?php
    }
    ?>

    That may or not be the best option (I know only enough PHP to be dangerous), but it at least fixed the bug temporarily. 🙂

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Log In
Group logo of CBOX Classic Support
  • Home
  • Forum
  • Announcements
  • Docs
  • Members 287
  • Send Invites

Groups

Newest | Active | Popular | Alphabetical
  • Group logo of CBOX Classic Support
    CBOX Classic Support
    287 members
  • Group logo of CBOX Pioneers
    CBOX Pioneers
    71 members
  • Group logo of CBOX Developers
    CBOX Developers
    40 members
  • Group logo of CBOX OpenLab Support
    CBOX OpenLab Support
    22 members
  • Group logo of CBOX-OL Testing Partners
    CBOX-OL Testing Partners
    12 members

CBOX has its roots in the CUNY Academic Commons, which in turn was made possible through funding from The City University of New York itself.

CUNY Logo

CUNY Academic Commons Logo

City Tech logo

The Commons In A Box was made possible through the generous support of the Alfred P. Sloan Foundation.

Alfred P. Sloan Foundation Logo

NEH Logo

The CUNY Graduate Center has directly contributed to the CUNY Academic Commons, housing the project since its inception, and has contributed to CBOX through its GC Digital Initiatives.

CUNY Graduate Center Logo

CUNY Graduate Center Digital Initiatives Logo

Powered by Commons In A Box
css.php
Skip to toolbar
  • About WordPress
    • WordPress.org
    • Documentation
    • Learn WordPress
    • Support
    • Feedback
  • Log In
  • Register