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):
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.If you are not registered click here to signup.


  • Jimako
    Jimako  1 month ago

    I will be on holiday until end of November. So no answers from me until then.

  • Jimako
    Jimako  1 month ago

    After 2 days I was able to create demo of BS Magazine 01 theme:
    https://v2demo.e107.sk/magazine01/

  • Jimako
    Jimako  1 month ago

    My antivirus software blocked and disabled gitter.

  • Jimako
    Jimako  1 month ago

    Again, I had to set tinymce off. It strips custom bbcodes.

  • Jimako
    Jimako  1 month ago

    Sorry, I set login off by mistake, it should be fixed now.