Forums

Give help. Get help.

eatyourbrians


Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • in reply to: Unordered List Help
    # March 5, 2013 at 10:28 pm

    [Centering List Items Horizontally (Slightly Trickier Than You Might Think)](http://css-tricks.com/centering-list-items-horizontally-slightly-trickier-than-you-might-think/ “Centering List Items Horizontally (Slightly Trickier Than You Might Think)”)

    # March 5, 2013 at 9:58 pm

    Try using a fixed height of 428px for the body in the css for your iframe.

    # March 2, 2013 at 7:06 pm

    It looks like it’s buried within a folder in your theme so the wordpress editor doesn’t show it. I’m not really familiar with bootstrap but I suppose you could just edit it offline.

    Perhaps someone with more bootstrap experience will chime in…

    # March 2, 2013 at 12:19 am

    You have a negative margin top in your stylesheet for both ordered and unordered lists.
    ` ul li { margin-left: 23px; margin-top: -10px; }
    ol, ol li { margin-left: 18px; margin-bottom: 0px; margin-top: -10px; margin-right: 0px;
    padding: 0px; list-style: decimal-leading-zero;; }`

    Try replacing your list of margins with this…
    ` margin: 0 0 0 18px;`

    Adjust as necessary!

    # March 1, 2013 at 9:03 pm

    In your media query for 979px in bootstrap.css your navbars become static, so the bottom margin applies.

    @media (max-width: 979px) {
    body {
    padding-top: 0;
    }
    .navbar-fixed-top,
    .navbar-fixed-bottom {
    position: static;
    }
    .navbar-fixed-top {
    margin-bottom: 20px;

    At anything larger than this your navbars are fixed, so any margin applied to them will not affect the other elements. So a margin-top will need to be applied as
    @AlenAbdula described when the media query doesn’t apply.

    # March 1, 2013 at 8:33 pm

    If you were to scale to device width in portrait mode things might get pretty tiny if you’re viewing on mobile (which I’m guessing is the case if you’re talking about viewing in portrait). While not exactly the answer to your question, something to think about is using some percentage based widths and maybe some media queries to make your site a little responsive. Just a different, albeit more complicated approach to solving your problem.

    -Brian

Viewing 6 posts - 1 through 6 (of 6 total)
icon-anchoricon-closeicon-emailicon-linkicon-logo-staricon-menuicon-nav-guideicon-searchicon-staricon-tag