Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • ger12 Friend
    #200856

    Hi, I create a custom html module on feature position 2 using this code:

    <h2>Panels</h2>
    <div class=”row example-row example-misc”>
    <div class=”col-lg-4″>
    <div class=”panel panel-default”>
    <div class=”panel-heading”>Panel heading</div>
    <div class=”panel-body”>Panel content</div>
    </div>
    <div class=”panel panel-primary”>
    <div class=”panel-heading”>
    <h3 class=”panel-title”>Panel primary</h3>
    </div>
    <div class=”panel-body”>Panel content</div>
    </div>
    </div>
    <div class=”col-lg-4″>
    <div class=”panel panel-success”>
    <div class=”panel-heading”>
    <h3 class=”panel-title”>Panel success</h3>
    </div>
    <div class=”panel-body”>Panel content</div>
    </div>
    <div class=”panel panel-warning”>
    <div class=”panel-heading”>
    <h3 class=”panel-title”>Panel warning</h3>
    </div>
    <div class=”panel-body”>Panel content</div>
    </div>
    </div>
    <div class=”col-lg-4″>
    <div class=”panel panel-danger”>
    <div class=”panel-heading”>
    <h3 class=”panel-title”>Panel danger</h3>
    </div>
    <div class=”panel-body”>Panel content</div>
    </div>
    <div class=”panel panel-info”>
    <div class=”panel-heading”>
    <h3 class=”panel-title”>Panel info</h3>
    </div>
    <div class=”panel-body”>Panel content</div>
    </div>
    </div>
    </div>

    This code looks like that:

    Its wonderfull and lovely :-*

    But I need 2 column instead 3. How can I make this happen? :-[

    Thanks in advance.

    Jeancarlos Rodriguez Friend
    #547487

    If i am not mistaken…
    use this code.

    <h2>Panels</h2>
    <div class=”row example-row example-misc”>
    <div class=”col-lg-4″>
    <div class=”panel panel-default”>
    <div class=”panel-heading”>Panel heading</div>
    <div class=”panel-body”>Panel content</div>
    </div>
    <div class=”panel panel-primary”>
    <div class=”panel-heading”>
    <h3 class=”panel-title”>Panel primary</h3>
    </div>
    <div class=”panel-body”>Panel content</div>
    </div>
    </div>
    <div class=”col-lg-4″>
    <div class=”panel panel-success”>
    <div class=”panel-heading”>
    <h3 class=”panel-title”>Panel success</h3>
    </div>
    <div class=”panel-body”>Panel content</div>
    </div>
    <div class=”panel panel-warning”>
    <div class=”panel-heading”>
    <h3 class=”panel-title”>Panel warning</h3>
    </div>
    <div class=”panel-body”>Panel content</div>
    </div>
    </div>
    </div>

    Pankaj Sharma Moderator
    #547490

    Hello with above code it will look like this >>>http://prntscr.com/4h84ss

    and if you want it to full width . on col-12 .

    you can change the value of >>>>> col-lg-4 to col-lg-6


    <h2>Panels</h2>
    <div class="row example-row example-misc">
    <div class="col-lg-6">
    <div class="panel panel-default">
    <div class="panel-heading">Panel heading</div>
    <div class="panel-body">Panel content</div>
    </div>
    <div class="panel panel-primary">
    <div class="panel-heading">
    <h3 class="panel-title">Panel primary</h3>
    </div>
    <div class="panel-body">Panel content</div>
    </div>
    </div>
    <div class="col-lg-6">
    <div class="panel panel-success">
    <div class="panel-heading">
    <h3 class="panel-title">Panel success</h3>
    </div>
    <div class="panel-body">Panel content</div>
    </div>
    <div class="panel panel-warning">
    <div class="panel-heading">
    <h3 class="panel-title">Panel warning</h3>
    </div>
    <div class="panel-body">Panel content</div>
    </div>
    </div>
    </div>

    it will look like this >>>http://prntscr.com/4h84ig

    Hope it helps you

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 3 voices, and was last updated by  Pankaj Sharma 10 years, 3 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum