Forums / Templates, Stylesheets, Page Layout / Changing the position of the pictures for categories

Changing the position of the pictures for categories

Locked

Started by mohinder on 7 Apr 2007, 5:32 AM · Views: 1,779

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
7 Apr 2007, 5:32 AM
#1
mohinder avatar

mohinder

Zen Follower

Join Date:
Mar 2007
Posts:
115
Plugin Contributions:
0

Changing the position of the pictures for categories

http://wishgiving.com/index.php?main_page=index&cPath=6

The picture for the entire category is in a weird position, aligned to the left.. I would like to move it to the right a little. How can I change this?

7 Apr 2007, 5:53 AM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: Changing the position of the pictures for categories

You can position this in your stylesheet.

#categoryImgListing img {
margin-left: 100px; /* for a fixed margin /
text-align: center; /
to center the image */
}

You will probably also want to style

h1 #productListHeading {
margin-left: 100px; /* for a fixed margin /
text-align: center; /
to center the image */
}

Choose between margin-left and text-align, don't use them together.

7 Apr 2007, 6:57 PM
#3
mohinder avatar

mohinder

Zen Follower

Join Date:
Mar 2007
Posts:
115
Plugin Contributions:
0

Re: Changing the position of the pictures for categories

I just want to move it to the right a little bit, i still want it on the left side, but not completely aligned to the left.

7 Apr 2007, 7:01 PM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: Changing the position of the pictures for categories

Ok, then delete the "text-align: center" parts and just use the margin-left, with whatever size margin you want.

8 Apr 2007, 7:18 PM
#5
mohinder avatar

mohinder

Zen Follower

Join Date:
Mar 2007
Posts:
115
Plugin Contributions:
0

Re: Changing the position of the pictures for categories

I'm sorry, which stylesheets did you find those in? I couldn't find any with CatImgListing..