Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Responsiveness doesn't work when replacing bootstrap.css with bootstrap.less in fluid example #3922

Closed
bkbonner opened this issue Jun 24, 2012 · 1 comment

Comments

@bkbonner
Copy link

I'm trying to take this example: http://twitter.github.com/bootstrap/examples/fluid.html and convert it to less.

When I remove:

    <link href="bootstrap/css/bootstrap.css" rel="stylesheet">
    <link href="bootstrap/css/bootstrap-responsive.css" rel="stylesheet">

with:

    <script
    src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<link rel="stylesheet/less" type="text/css"
    href="bootstrap/less/bootstrap.less">
<script src="less/js/less-1.3.0.min.js" type="text/javascript"></script>

I also added this to bootstrap.less:

@import "responsive.less";

When I do this, the button that brings up the navigation menu no longer works correctly. I'm using this as a simple example to demonstrate the problem.

Am I doing something wrong??

@bkbonner
Copy link
Author

Shoot never mind, I forgot to include:

<script src="bootstrap/js/bootstrap.js"></script>

after the jquery.js declaration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants