Close

Change two column from left to right

Oakstone
10 years ago
#4534 Quote
Avatar
  • 29
Is there a setting to change the filter column from the right to the left? In the file _ColumnsTwo.cshtml, I see the code below. Not sure how to define it left though.

    @if (IsSectionDefined("left"))
    {
        @RenderSection("left")
    }

Thanks.
Deni
10 years ago
#4535 Quote
Avatar
  • Moderator
  • 389
Oakstone wrote:
Is there a setting to change the filter column from the right to the left? In the file _ColumnsTwo.cshtml, I see the code below. Not sure how to define it left though.

    @if (IsSectionDefined("left"))
    {
        @RenderSection("left")
    }

Thanks.


Hello,

As far as I understand, you want the side column to be in the left side instead of the right.

This can be made only by CSS and that`s what you need to do:

you have to find your styles.css file and edit these two rules inside it:

.center-2 {
   float: left;
   width: 725px;
}

.side-2 {
   width: 220px;
   float: right;
}


Now you just have to switch the left and right values and everything will work perfectly!
Best Regards,
Mladen Staykov
Nop-Templates.com
Oakstone
10 years ago
#4536 Quote
Avatar
  • 29
Well, that was easy.

Thanks.