Use .row-fluid en .span in your LESS file?

11 views
Skip to first unread message

Willem-Siebe Spoelstra

unread,
Apr 22, 2014, 9:22:29 AM4/22/14
to bootstr...@googlegroups.com
Hi,

I use several other plugins which don't use the twitter bootstrap markup in their HTML.
Normally, that is not a problem. For example, WooCommerce uses the class 'button' instead of 'btn'.

What I do, in my LESS file I do something like this:

.button{
   
.btn;
}

And that works.

Now I have the following issue.

The HTML is like this:

<div class="col2-set addresses">

<div class="col-1 address">
</div>

<div class="col-2 address">
</div>
</div>

Now I want the col2-set div to be the row-fluid, and the col-1 and col-2 to be the span6.

I tried this:

.col2-set {
  .row-fluid;

  .col-1, col-2 {
     .span6;
  }
}

But this is not working :-(. Can anybody help me out with this issue I'm having?

Kind regards,

Willem-Siebe
Reply all
Reply to author
Forward
0 new messages