• Hey guys!

    This is my first attempt to a WP theme. I must admit it took me a few weeks to get to the result you can see…

    The site’s url is: http://staffdoor.com/sdblog/

    as you can see, on the first page, everything looks alright. Though, when I click on a post, in order to add a comment or something, there are a few bugs (http://staffdoor.com/sdblog/?p=17):
    – the sidebar messes up with the content
    – i can’t get the text ‘2 Responses to “What the??”’ and ‘leave a Reply’ to have a ‘margin-left: 35px’

    Also, on pages http://staffdoor.com/sdblog/?m=200902 and http://staffdoor.com/sdblog/?cat=1 the text on the sidebar (‘You are currently browsing the Staff Door blog ….’) seems to be too close to the end of the sidebar. I can’t find where to put the ‘margin-right: 15px’

    –> I have gone up and down the css page changing every single variable but still keep on missing it.
    The css file is available here: http://staffdoor.com/sdblog/wp-content/themes/SDWPCUT/style.css

    Some help would be very much appreciated as I have reached a point of dispair…

    : )

    Many thanks

    theodore

Viewing 2 replies - 1 through 2 (of 2 total)
  • Use padding for ‘padding’ an element….

    #sidebar ul li p {padding:5px}

    Would give padding to all sides, including top and bottom… or…

    #sidebar ul li p {padding-right:5px}

    For better practice if you want only right padding it is better to do it like so…

    #sidebar ul li p {padding:0 5px 0 0}

    It would be alot easier if your list elements had classes and/or ID’s… as the above selector might effect over elements…

    Of course if you want to make the above more specific you could use…

    #sidebar ul li:first-child p:not([class]) {padding:0 5px 0 0}

    As said though you really should be applying classes to your elements so you don’t need a selector to grab it..

    *double post*

    Forum issues still not fixed… 🙁

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘CSS issues (level noob)’ is closed to new replies.