Advertisement:

Author Topic: Category alignment problem  (Read 876 times)

Ik4rus

  • Newbie
  • *
  • Posts: 4
Category alignment problem
« on: June 30, 2015, 09:19:49 pm »
Hi people. I want to design my category layout but I couldn't accomplish it. If you show me how to regulate, would be nice.

My Osclass version is: 3.5.7
My Modern thema version is: 5.0.0

My problem is: the headlines are in order at the second and the third columns. But when we look at the first one, there is no blank between main categories. You understand better from the picture bellow what I mean. I have shown the problem with a red arrow.

Thanks a lot for your interest.


« Last Edit: June 30, 2015, 09:24:26 pm by Ik4rus »

frosticek

  • Hero Member
  • *****
  • Posts: 3948
Re: Category alignment problem
« Reply #1 on: June 30, 2015, 11:01:47 pm »
@Ik4rus
Try to add following code to your CSS style sheet:
Code: [Select]
.home .home-left-side .categories .category h1 {margin-top:20px;}

Ik4rus

  • Newbie
  • *
  • Posts: 4
Re: Category alignment problem
« Reply #2 on: July 01, 2015, 12:39:26 am »
@frosticek

Thanks for your answer. But it didn't work. The first problem continues, besides there is more blanks over each column and headlines. I.e. this happens with your code;



I've this lines in my style.css:

Code: [Select]
.home #main,
.home-left-side { float:left; width:635px; }
.home #sidebar,
.home-right-side { float:right; width:300px; }
.home .search { border-bottom: 1px solid #BBB; margin-bottom:15px; }
« Last Edit: July 01, 2015, 12:43:56 am by Ik4rus »

frosticek

  • Hero Member
  • *****
  • Posts: 3948
Re: Category alignment problem
« Reply #3 on: July 01, 2015, 09:50:23 am »
@Ik4rus
Easiest way is to replace with original modern theme, as there is everything fine so this mis-alignment was caused by you.
You could also provide your url that would help to resolve problem faster.