Цитата:
Ну тогда под background-image:url ... пристраивай max-width: 1050px;
Я вам там вопрос прислал в личку ))))
В итоге пришлось сделать вот так: (надеюсь что правильно)
<?php if ($s5_top_row1_area1_background == "yes") { ?>
#s5_top_row1_area1 {
<?php if ($s5_top_row1_area1_background_image == "") {?>
background:#<?php echo $s5_top_row1_area1_background_color; ?> !important;
<?php } ?>
<?php if ($s5_top_row1_area1_background_image != "") {
if ($s5_top_row1_area1_background_image_size == "custom") { $s5_top_row1_area1_background_image_size = $s5_top_row1_area1_background_image_size_custom; }
?>
background-color:#<?php echo $s5_top_row1_area1_background_color; ?> !important;
background-image:url(<?php if(strrpos($s5_top_row1_area1_background_image,"/") <= 0) {echo $LiveSiteUrl; echo "images/";} echo $s5_top_row1_area1_background_image; ?>) !important;
max-width:1038px !important;
min-height: 360px !important;
padding-top: 0px !important;
margin: auto;
background-size: <?php echo $s5_top_row1_area1_background_image_size; ?>;
background-attachment: <?php echo $s5_top_row1_area1_background_image_attachment; ?> !important;
background-repeat:<?php echo $s5_top_row1_area1_background_image_repeat; ?> !important;
background-position:<?php echo $s5_top_row1_area1_background_image_position; ?>;
<?php } ?>
}
<?php } ?>