How to reorder columns in bootstrap theme / General theme questions / Forums


  • There is great article about this topic : here I needed to look up this because I couldn't get it work with BS Gaming 01 theme. The key word was "mobile first approach", so I needed to reorganize content and then change order for bigger devices. Working code:
    $LAYOUT['BS_Gaming_01_sidebar_left'] = '
    <div class="container">
      <div class="content-topwrapper">
        <div class="pull-left col-xs-12 col-sm-6 col-lg-4">
          {SEARCH}
        </div>
        <div class="pull-right col-xs-12 col-sm-6 col-lg-8 text-right">  
          {XURL_ICONS}
        </div>
      </div>
    </div>
    <div class="hidden-xs container">
      <div class="slider-wrap">
        {SETSTYLE=slider}
        {MENU=featurebox}
      </div>  
    </div>
    <div class="container">
      <div class="content-wrapper">
        <div class="row">
          <div class="col-md-8 col-md-push-4">
            <div id="banner-panel1">
              {SETIMAGE: w=600}
              {BANNER}
            </div>
            <div class="page-content-rightbox"> 
              {SETSTYLE=rightside}
    {---}       
            </div>
          </div>
          <div class="col-md-4 col-md-pull-8">
            {SETSTYLE=leftside}
            {MENU=1}
            {MENU=2}
          </div>
        </div>
      </div> 
    </div>        
    ';
     

Moderator(s): CaMer0n, Jimako
Search just forum
Chatbox
You must be logged in to post comments on this site - please either log in from the Login box or from here.


  • Jimako
    Jimako  2 weeks ago

    testing new magic shortcodes, so any weird breadcrumbs are an intention

  • Jimako
    Jimako  1 month ago

    Just playing with google custom search. It's searching this site, e107.org and github with e107 in repository name.

  • Jimako
    Jimako  2 months ago

    If you use any my theme: with version 2.2.0 there are core changes - comments and social icons - if you find problem, just tell me.

  • Jimako
    Jimako  5 months ago

    @wrxxy I am ill, sorry cant log in gitter from mobile. Try ask at main room, nothing except update was changed.

  • Jimako
    Jimako  6 months ago

    @wrxxy I got notification from gitter but I am off until Monday. I am not able to log in gitter. Answer is add it to existing gitjub issue.