1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Need help with spacing/bordering stuff in WP

Discussion in 'HTML & Website Design' started by lurifaxur, Mar 15, 2010.

  1. #1
    I`ve got a few minor problems with my site.

    [​IMG]

    In single post there is this white space above the post (marked with red). How do I change it so that it`ll be just as many px space as the sidebars got? (Marked with green circle.)

    In the main index there aint no spacing above the entry at all. I`d like it to be similar to the sidebars (marked with green).

    Any ideas?
     
    lurifaxur, Mar 15, 2010 IP
  2. danramosd

    danramosd Active Member

    Messages:
    115
    Likes Received:
    1
    Best Answers:
    1
    Trophy Points:
    83
    #2
    Could you post or PM your url so i could look at the css? (tip:mad:danramosd me on twitter for quicker answers)
     
    danramosd, Mar 15, 2010 IP
  3. lurifaxur

    lurifaxur Greenhorn

    Messages:
    61
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #3
    I`ll post the css here, maybe someone else`s got something to say about it.. :)


    /*
    Theme Name: Blue Sense
    Theme URI: http://www.doshdosh.com/
    Description: <p><a href="http://www.doshdosh.com/bluesense-theme/">Blue Sense</a> Adsense Ready Wordpress Theme.</p>
    Version: 1.0
    Author: Dosh Dosh
    Author URI: http://www.doshdosh.com/
    */

    *
    {
    padding: 0;
    margin: 0;
    }

    body
    {
    font-size: 76%;
    font-family: Arial, Verdana, Sans-Serif;
    background:#fff url('http://i21.photobucket.com/albums/b283/xxxxxx/porsche.jpg');
    background-repeat:no-repeat;
    background-position:center;
    background-size:80%;
    }


    hr
    {
    display: none;
    }

    #page
    {
    width: 835px;
    margin: 0 auto;
    background-color: #fegaed;
    }

    #wrapper
    {
    width: 100%;
    margin: 0 auto;
    background-color: #F0F6FB;
    }

    #content
    {
    float: left;
    width: 496px;
    }

    .post
    {
    margin-bottom: 20px;
    color: #fff;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 1.1em;
    background-color: rgba(0,0,0,0.9);

    }

    h2
    {
    font-size: 1.6em;
    border-bottom: 1px solid #191919;
    }

    h2 a:hover, h2 a:visited, h2 a
    {
    text-decoration: none;
    color: #fff;
    }

    .entry
    {
    margin-top: 10px;
    margin-bottom: 15px;
    }

    .postmetadata
    {
    padding: 2px;
    font-size: 0.8em;
    border-top: 1px solid #191919;
    }

    .postmetadata a
    {
    color: #1ae969;
    }

    .post p
    {
    line-height: 1.4em;
    margin-bottom: 1em;
    }

    blockquote
    {
    margin: 1em 1.5em;
    padding: 1em 1.5em;
    border: 1px solid #191919;
    background: #d3d3d3;
    }

    .post li
    {
    margin-left: 20px;
    }

    .post ul
    {
    list-style-type: disc;
    margin-bottom: 10px
    }

    acronym, abbr, span
    {
    cursor: help;
    }

    acronym, abbr
    {
    border-bottom: 1px dashed #191919;
    }

    blockquote cite
    {
    margin: 5px 0 0;
    display: block;
    }

    .center
    {
    text-align: center;
    }

    a img
    {
    border: none;
    }

    h3
    {
    margin-top: 1em;
    margin-bottom: 1em;
    font-size: 1.4em;
    }

    h4
    {
    margin-top: 1.2em;
    font-size: 1.2em;
    }

    h5
    {
    margin-top: 1em;
    font-size: 1em;
    }

    a
    {
    color: #191919;
    }

    .navigation
    {
    display: block;
    margin-top: 10px;
    margin-bottom: 40px;
    }

    .alignleft
    {
    float: left;
    text-align: left;
    width: 50%;
    }

    .alignright
    {
    float: right;
    text-align: right;
    width: 50%
    }

    ol.commentlist
    {
    width: 90%;
    margin: 0 auto;
    }

    ol.commentlist li
    {
    margin-bottom: 1.5em;
    border: 1px solid #191919;
    padding: 5px;
    background-color: #d3d3d3;
    }

    ol.commentlist li.alt
    {
    background-color: #d3d3d3;
    }

    ol.commentlist a
    {
    color: #064B8C;
    }

    small.commentmetadata
    {
    font-size: 0.8em;
    margin-bottom: 1em;
    display: block;
    }

    #header
    {
    margin-bottom: 0px;
    margin-top: 0px;
    text-align: center;
    padding-top: 0px;
    background: #ffffff
    height: 130px;
    }

    #headerimg
    {
    text-align: center;
    padding-top: 20px;
    }

    #sidebar
    {
    float: right;
    width: 164px;
    padding: 2px;
    text-align: left;
    }

    #sidebar ul
    {
    list-style: none;
    margin-bottom: 10px;
    }

    #sidebar ul ul
    {
    list-style-type: circle;
    margin-left: 20px;
    }

    #sidebar ul ul ul
    {
    margin-bottom: 0;
    }

    #sidebar ul h2
    {
    font-size: 1.2em;
    font-weight: bold;
    padding: 2px;
    margin-bottom: 5px;
    background-color: #191919;
    color: #ffffff;
    }

    #menu
    {
    float: left;
    width: 164px;
    padding: 2px;
    text-align: center;
    }

    #menu ul
    {
    list-style: none;
    margin-bottom: 10px;
    }

    #menu ul ul
    {
    list-style-type: circle;
    margin-left: 20px;
    }

    #menu ul ul ul
    {
    margin-bottom: 0;
    }

    #menu ul h2
    {
    font-size: 1.2em;
    font-weight: bold;
    padding: 2px;
    margin-bottom: 5px;
    background-color: #1ae969;
    color: #ffffff;
    }

    #footer
    {
    padding: 5px;
    margin: 5px;
    clear: both;
    text-align: center;
    background-color: #191919;
    color: #ffffff;
    }

    #footer a
    {
    color: #ffffff;
    }

    .description
    {
    border-bottom: 100px;
    }

    #ad_hf
    {
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #191919;
    }

    #search
    {
    text-align: left;
    padding-left: 20px;
    background-color: #F0F6FB;
    }
     
    lurifaxur, Mar 15, 2010 IP