Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / customising define_main_page

customising define_main_page

Locked

Views: 674

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
8 Jun 2010, 3:44 PM
#1
sushigal avatar

sushigal

Zen Follower

Join Date:
Mar 2009
Posts:
435
Plugin Contributions:
0

customising define_main_page

my site is at; http://www.thegreatgiftshop.co.uk/zencart/

On my home page, I'd like to decrease the gap between my customised centre column image and the search box on the right hand side so its evening spaced the same as it is on the left as shown in image ive attatched. I can't see which file to edit and I cant imagine I have to edit the define_main_page html as the table I made to contain the images isn't so wide that it pushes the right column out. I dont think anyway!

Thanks.

8 Jun 2010, 3:55 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: customising define_main_page

Couple of things you could do:

Make the #mainWrapper narrower to bring the right column in

Add some left margin to #indexDefaultMainContent

8 Jun 2010, 4:14 PM
#3
sushigal avatar

sushigal

Zen Follower

Join Date:
Mar 2009
Posts:
435
Plugin Contributions:
0

Re: customising define_main_page

thank you thats a bit better, I altered width of #mainWrapper

but cannot find #indexDefaultMainContent

I'm a perfectionist! I'm trying to get them spaced the same :smile: and can't quite get there!

8 Jun 2010, 4:26 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: customising define_main_page

You would have to add indexDefaultMainContent to the stylesheet, but that would only move your content. If you want to move everything in the middle, including the Latest Products, try adding:

#indexDefault.centerColumn {
margin-left:1em;
}

9 Jun 2010, 9:38 AM
#5
sushigal avatar

sushigal

Zen Follower

Join Date:
Mar 2009
Posts:
435
Plugin Contributions:
0

Re: customising define_main_page

No that only shunted everything over a fraction to the right :( I dont want everything to move only the right column over to the left a fraction.

18 Jun 2010, 4:24 PM
#6
sushigal avatar

sushigal

Zen Follower

Join Date:
Mar 2009
Posts:
435
Plugin Contributions:
0

Re: customising define_main_page

anyone?