Advertisement:

Author Topic: 2 column layout  (Read 1318 times)

naneri

  • Newbie
  • *
  • Posts: 28
2 column layout
« on: February 06, 2014, 09:43:09 pm »
Hello guys,

i am new to osclass, but i am already greatly ammused by the cms. Right now i am having an issue - i can't make a two column layout. What i wanted is to make the front page to display the root categories on the left and latest ads on the right, but could not figure out what to change in my files.

You can see how it looks like now here - zabor.kg

design

  • Hero Member
  • *****
  • Posts: 2619
  • Osclass 3.5 MAC/PC w/ Modern Browsers
Re: 2 column layout
« Reply #1 on: February 06, 2014, 10:09:44 pm »
I think you can wrap each with a 50%. but you will also have to worry about your responsive part.

design

  • Hero Member
  • *****
  • Posts: 2619
  • Osclass 3.5 MAC/PC w/ Modern Browsers
Re: 2 column layout
« Reply #2 on: February 06, 2014, 10:21:27 pm »
width: 50%;
float: left;

.latest-ads
width: 50%

remove the <div class="clear"></div> in main.php line 36