I am attempting to echo the important thing of the custom area (value, like a URL set while editing a publish) into the document. Here's the general code:

		<div id="feature" class="clearfix">

			         <?php  
			         	$feature_post = get_posts('category=3&numberposts=1');
						foreach( $feature_post as $post ) : 
    				?>
						<div class="feature_post" style='<?php echo get_post_meta($post->ID, 'feature', true); ?>'>
							<h2><?php the_title(); ?></h2>
						</div>
				 	<?php 
				 		endforeach; 
				 	?>

		    </div>

Particularly, this is actually the type of code:

<?php echo get_post_meta($post->ID, 'feature', true); ?>

That does not print anything - any ideas?

The custom area around the publish has already been 'feature', there is no CSS issues or Javascript, it is simply not coming back the values.

Please add global $post; before you decide to call get_posts() function and do not use $publish naming in foreach() loop, then find out if it really works or otherwise! If unsuccessful simply employ this code rather:

<?php
    $loop = new WP_Query('cat=3&showposts=1');
    if($loop->have_posts()): 
        while($loop->have_posts()): $loop->the_post();
?>
            <div class="feature_post" style="<?php echo get_post_meta($post->ID, 'feature', true); ?>">
                <h2><?php the_title(); ?></h2>
            </div>
<?php
        endwhile;
    endif;
?>

Unsure that category=3 works, but use cat=3 inside your get_posts statement.

Likewise need setup_postdata($post); after your foreach statement.

Sepehr Lajevardi's solution also needs to work effectively )