Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Main Backround image
 
WhiteOwl1
Jr. Member
 
Total Posts:  7
Joined:  2011-04-07
 

Can anyone tell me what size would be good for a main backround size.  I don’t want to use a color.  Also how I would center it in css?

Thank you

 
Magento Community Magento Community
Magento Community
Magento Community
 
sushilshirbhate
Member
 
Avatar
Total Posts:  53
Joined:  2009-10-23
 

Hi WhiteOwl,

Image size its depend on which type background image you are using. If background image can mix left and right side to color.
Use image size width=1400px.

And for center this image in background
Body{
background:url(../images/body_bg.png) no-repeat center top;
}

Thanks,
Sushil Shirbhate

 
Magento Community Magento Community
Magento Community
Magento Community
 
Themes_info
Sr. Member
 
Total Posts:  98
Joined:  2009-11-19
United States
 

another option that you have is to use absolute position.
something like

<div "bg-class">
</
div>

.
bg-class { width:1000pxheight:500pxmargin:0 autobackground:url(../images/body_bg.pngno-repeatpositionabsolute;}
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top