Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Image in New Products Sidebox Needs To B Centred, how ?

Image in New Products Sidebox Needs To B Centred, how ?

Locked

Views: 763

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
24 Feb 2009, 9:11 PM
#1
katiekin avatar

katiekin

New Zenner

Join Date:
Apr 2008
Posts:
48
Plugin Contributions:
0

Image in New Products Sidebox Needs To B Centred, how ?

Hello,
Can somebody advise me how to get my image in my New Products sidebox (in the left column) to be centred ? Right now the margin on the left is too big and makes the image go off-centre.
I fiddled with the margin-left:12px in my style.css which did solve it BUT obviously it lost the margin completely for the categories/search box etc and they all got positioned right on the 'edge' of the column.
Any ideas ?:dontgetit

http://www.jezebelcharms.co.uk/

24 Feb 2009, 10:00 PM
#2
katiekin avatar

katiekin

New Zenner

Join Date:
Apr 2008
Posts:
48
Plugin Contributions:
0

Re: Image in New Products Sidebox Needs To B Centred, how ?

Replying to myself !!

Solved it !

I popped in the following:-

.b1_m1{margin-left:21px; margin-right:18px;}

the new addition is the margin-right:18px;

Seems to work fine ! :P

24 Feb 2009, 10:09 PM
#3
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Image in New Products Sidebox Needs To B Centred, how ?

Great!!

.b1_m1 is a template monster addition