• Resolved BurgundyInVA

    (@burgundyinva)


    Hello,

    On mobile my site is fine, but on the desktop it aligns left. Any way to center it?

    This is the CSS Code someone was nice enough to write so that my header would stay centered on mobile:

    body{
    background-color: #8C001A
    }
    @media (max-width: 767px) {
    .site-header {
    min-height: 80px;
    background-size: 100%!important;
    }
    .navbar {
    margin-top: 90px;
    }
    }
    @media (max-width: 643px) {
    .site-header {
    min-height: 90px;
    }
    .navbar {
    margin-top: 70px;
    }
    }
    @media (max-width: 359px) {
    .site-header {
    min-height: 50px;
    }
    .navbar {
    margin-top: 32px;
    }
    }
    ——————————–
    Would this be causing my website to align left on desktop?

    • This topic was modified 8 years, 8 months ago by BurgundyInVA.

    The page I need help with: [log in to see the link]

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

The topic ‘Website aligned left on Desktop’ is closed to new replies.