Adding line break in php

Community Forums Forums Design Tips and Tricks Adding line break in php

This topic is: resolved

Tagged: , ,

This topic contains 2 replies, has 2 voices, and was last updated by  BlakeN 1 year, 7 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #9721

    BlakeN
    Participant
    Post count: 15

    http://www.lawrencevillewindowtinting.com/

    This is probably a simple fix but I cannot get it to work.

    I added another sidebar section to minimal theme and I cannot get a space between the two sections.  Here is the segment that needs to be fixed:

    function minimum_home_featured() {

    echo ‘<div id=”home-featured”><div class=”wrap”>’;

    genesis_widget_area( ‘home-custom-1′, array(
    ‘before’ => ‘<div class=”home-custom-1 widget-area”>’,
    ) );
    I NEED A SPACE HERE
    genesis_widget_area( ‘home-featured-1′, array(
    ‘before’ => ‘<div class=”home-featured-1 widget-area”>’,
    ) );

    genesis_widget_area( ‘home-featured-2′, array(
    ‘before’ => ‘<div class=”home-featured-2 widget-area”>’,
    ) );

    genesis_widget_area( ‘home-featured-3′, array(
    ‘before’ => ‘<div class=”home-featured-3 widget-area”>’,
    ) );

    genesis_widget_area( ‘home-featured-4′, array(
    ‘before’ => ‘<div class=”home-featured-4 widget-area”>’,
    ) );

    echo ‘</div><!– end .wrap –></div><!– end #home-featured –>’;

    }

    Any help is greatly appreciated!

     

    #9735

    Chris Cree
    Participant
    Post count: 147

    Positioning elements on a page is usually a CSS issue, not a php issue. If you add this to your style sheet (style.css file) it should do what you want:

    [css].home-custom-1 {
    margin-bottom: 20px;
    }[/css]

    Obviously you can change the pixel hight to whatever suits your needs.


    #9742

    BlakeN
    Participant
    Post count: 15

    Thanks Chris.

     

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Adding line break in php’ is closed to new replies.