Forums / Templates, Stylesheets, Page Layout / Centre image on home page

Centre image on home page

Started by wotnow on 10 Oct 2011, 2:01 AM · Views: 657

Results 1 to 3 of 3
10 Oct 2011, 2:01 AM
#1
wotnow avatar

wotnow

Zen Follower

Join Date:
Jan 2010
Location:
Broome
Posts:
331
Plugin Contributions:
0

Centre image on home page

Hi I have tried a few things trying to get the image and the h1 tag on the home page to center. Also would like to remove images from new products. Client does not want images for products so have

#productMainImage {
display: none;}

but this does not affect the new products.

Thanks for all your help.

Amanda McInerney
Kimberley Web Design

http://www.kimberleywebdesign.com.au/

10 Oct 2011, 11:03 AM
#2
stevesh avatar

stevesh

Black Belt

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

Re: Centre image on home page

Very difficult to answer layout questions without seeing the site.

If this is the fusion site, try removing the red part:

#indexDefaultMainContent.content img {
text-align:center;
margin:0 auto;
border: 1px sollid #ff0000;
padding: 0 10px;
float:none;}

and adding:

#indexDefaultHeading {text-align: center;}

.centerBoxContentsNew img {display: none;}

And please tell the client for me that he's making a huge mistake trying to sell that kind of product without imagery.

10 Oct 2011, 2:22 PM
#3
wotnow avatar

wotnow

Zen Follower

Join Date:
Jan 2010
Location:
Broome
Posts:
331
Plugin Contributions:
0

Re: Centre image on home page

Thanks once again .. I have tried my best to advise client

Amanda McInerney
Kimberley Web Design

http://www.kimberleywebdesign.com.au/