Advertisement:

Author Topic: Location Sidebar at home page moved to the bottom  (Read 1895 times)

adewoye

  • Newbie
  • *
  • Posts: 26
Location Sidebar at home page moved to the bottom
« on: April 30, 2013, 08:00:39 pm »
Kindly help the location sidebar at the right hand side of my home page suddenly move down. How do i resolve this. Here is the url http://web-2.oauife.edu.ng/test2/

teseo

  • Hero Member
  • *****
  • Posts: 6169
Re: Location Sidebar at home page moved to the bottom
« Reply #1 on: April 30, 2013, 08:33:02 pm »
style.css

Line 98

Code: [Select]
.content.home {  border-top: 0px solid rgb(187, 187, 187); width: 970px; margin-left: 0px; position: relative; }

Line 262

Code: [Select]
.home #sidebar { width: 225px; margin-top: 30px; position: absolute; right: 5px; }
Increase value for #sidebar's "right" if you want some margin.

Regards

adewoye

  • Newbie
  • *
  • Posts: 26
Re: Location Sidebar at home page moved to the bottom
« Reply #2 on: April 30, 2013, 10:26:09 pm »
Thank you very much for prompt response. I tried it and it worked but I will like to have space to right of the latest listings proportion to the width of the location widget so i can publish google adcense.  I want the latest listings to be short. Just like this
http://web-2.oauife.edu.ng/test3/


teseo

  • Hero Member
  • *****
  • Posts: 6169
Re: Location Sidebar at home page moved to the bottom
« Reply #3 on: April 30, 2013, 11:37:07 pm »
I tried it and it worked but I will like to have
That's not a "but", more like an "and in addition"  ;D

Specify width of #main container, by default it's occupying 100% of its parent .content.home

Line 261:

Code: [Select]
.home #main { float:left; margin-top: 30px; width: 76%}
Regards
« Last Edit: April 30, 2013, 11:54:30 pm by teseo »

adewoye

  • Newbie
  • *
  • Posts: 26
Re: Location Sidebar at home page moved to the bottom
« Reply #4 on: May 01, 2013, 01:04:54 am »
Thank you so much. It worked. I am amazed by this support. By the way, can osclass handle this kind of project:
http://www.cheki.com.ng/ - an automobile classified
If it can i will like to hire a developer to do it for me.
Thanks