WordPress.org

Ready to get started?Download WordPress

Forums

Coded php now css is not working (5 posts)

  1. Ethan.Ellis
    Member
    Posted 5 years ago #

    I m working on a custom theme for my blog so that I can start adverting for it and getting more post's etc so I have my dev blog and I have this skin that I made for it.

    http://www.dev.powered-designs.com notice how the pages are listed instead of going horizontally and the sidebar does not go to the top...

    the style sheet can be found here http://dev.powered-designs.com/wp-content/themes/pink/style.css

    so ya can any1 tell me why the sidebar is not at the top and howto make the pages horizontal ...

    thanks a lot
    Ethan Ellis

  2. Anonymous
    Unregistered
    Posted 5 years ago #

    first off your pages link does not having a starting unsorted list take

      now you can style that tag to make them go horizontal for instance

      <ul class="horizontal"> your pages list

    ul.horizontal {
    display: inline-block;
    list-style: none;
    }

    that should work. the list-style will remove the dots for the pages.

  3. Ethan.Ellis
    Member
    Posted 5 years ago #

    its not working :(

  4. ikiru
    Member
    Posted 5 years ago #

    The sidebar's not at the top because your other elements are far too wide. Most of them are growing to be nearly the full 960 width because you've not contained them in a div with a declared width narrow enough. Because they're so wide, your floated sidebar doesn't have room to drift up to where you want it.

    It shouldn't be too hard to fix. Just enclose all the stuff you want on the left in a div with a width narrow enough to make the sidebar fit.

    As to the pages, what go1dfinger says seems right to me. Be sure your whole list in enclosed by the <ul class="horizontal">(EVERTHING)</ul> -- it doesn't look like it is -- and be sure to have at least the styling that go1dfinger gave.

  5. Ethan.Ellis
    Member
    Posted 5 years ago #

    I must be a idiot coz its not working :(

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.