Here's what I'm doing with a "less" reference (would be the same for css).

public abstract class AbstractPage extends WebPage {
    /** Less/css reference. */
    private static final LessResourceReference MY_LESS_REFERENCE = new
LessResourceReference(AbstractPage .class,  "css/style.less");

    @Override
    public void renderHead(final IHeaderResponse response) {
        super.renderHead(response);
        Bootstrap.renderHead(response);
        // Your CSS/LESS reference
        response.render(CssHeaderItem.forReference(MY_LESS_REFERENCE));
    }
}

Regards,
Gabriel.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/custom-bootstrap-stylesheet-tp4665044p4665079.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to