Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] Space out widgets on sidebar

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #26010
    leehughes
    Member

    Hi,

    I am currently adding widgets etc to my sidebar in wordpress. It’s getting to look a little cramped in there, can I space it out slightly using css? Am sure I could use margin but am unsure as to where to put this..

    http://www.leehughes.co.uk

    CSS for sidebar

    Code:
    #content #sidebar {
    float: right;
    width: 25%;
    }
    #content #sidebar p {
    font-size: 12px;
    line-height: 22px;
    color: #FFFFFF;
    }
    #content #sidebar p a {
    color: #FFFFFF;
    text-decoration: underline;
    }
    #content #sidebar p a:link {
    color: #FFFFFF;
    text-decoration: underline;
    }
    #content #sidebar p a:hover {
    color: #003366;
    text-decoration: none;
    }
    #content #sidebar h2 {
    color: #FFFFFF;
    font-size: 18px;
    }
    #content #sidebar h3 {
    font-size: 14px;
    color: #FFFFFF;
    }
    #content #sidebar h3 a {
    color: #FFFFFF;
    text-decoration: none;
    }
    #content #sidebar h3 a:hover {
    color: #003366;
    text-decoration: underline;
    }
    #content #sidebar h2 a {
    color: #FFFFFF;
    font-size: 18px;
    text-decoration: none;
    }
    #content #sidebar h2 a:hover {
    color: #003366;
    font-size: 18px;
    text-decoration: none;
    }
    #content #sidebar li {
    color: #FFFFFF;
    line-height: 22px;
    }
    #content #sidebar li a {
    color: #FFFFFF;
    text-decoration: underline;
    border-top-style: none;
    border-right-style: none;
    border-bottom-style: none;
    border-left-style: none;
    }
    #content #sidebar li a:link {
    color: #FFFFFF;
    text-decoration: underline;
    }
    #content #sidebar li a:hover {
    color: #003366;
    text-decoration: none;
    }
    #content #sidebar a {
    color: #CCCCCC;
    }

    Many thanks to anyone that can help :)

    #63465
    leehughes
    Member

    thanks :)

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.