: Background position : adrymetal August 17, 2009, 07:07:10 AM Hi,
just one question....in which file can i set the background position? i've fixed one .png image,not repeated and i need to center it,so it fit different resolution. i look in the template.css file but i didn't find where to add the background position property. many Thanks! : Re: Background position : jonahh August 17, 2009, 02:51:23 PM Hello,
This is located in the index.php file: body { background:<?php echo ($s5_colorback);?> url(<?php echo ($s5_repeatback);?>) repeat-x;} : Re: Background position : adrymetal August 31, 2009, 01:59:20 AM Hi,
i don't know much of php,so can you tell the index.php code to set the background-position in "center-top"? many thanks! : Re: Background position : jonahh August 31, 2009, 08:33:59 PM You would have to look for the above and then change it to:
body { background:<?php echo ($s5_colorback);?> url(<?php echo ($s5_repeatback);?>) repeat-x center top ;} If you don't want it to repeat then do: body { background:<?php echo ($s5_colorback);?> url(<?php echo ($s5_repeatback);?>) no-repeat center top ;} : Re: Background position : adrymetal September 01, 2009, 01:46:37 AM ..sorry for the dummy question..it was easier than i expect :P..
Many thanks Jonah! : Re: Background position : phoenixgb November 18, 2009, 10:18:01 PM Hi
I'm using the no-repeat bit it's still repeating vertically... Any suggestions? : Re: Background position : jonahh November 19, 2009, 07:05:35 PM Hello,
I would double check your code and make sure it was entered properly. |