• Hi,

    I have added custom css for desktop, mobile, & tablet devices to get the desired positioning that I wanted. Everything shows well when the browser window is full sized, however if i resize the browser smaller, it moves my header logo & text along with the site title. I would like everything to be in a fixed position when resizing down on all devices. Here is all the custom additional css I have added to get everything to show right on all devices when window is not resized

    .site-title {
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
    margin: 0;
    padding: 58px 0 10px;
    position: relative;
    top: -24px;
    left: -57px;
    }

    @media (max-width: 320px) {
    .site-header + * {
    margin-top: 20px;
    }
    }

    @media (min-width: 320px) {
    .site-title {
    font-size: 6px;
    position: relative;
    top: -2px;
    left: -19px;
    }
    }

    @media (min-width: 320px) {
    .site-description {
    display: block;
    position: relative;
    top: 0px;
    left: 0px;
    }

    @media (min-width: 600px) {
    .site-title {
    font-size: 19px;
    position: relative;
    top: 2px;
    left: -33px;
    }
    }

    @media (min-width: 600px) {
    .site-description {
    position: relative;
    top: -15px;
    left: 0px;
    }

    @media (min-width: 900px) {
    .site-title {
    font-size: 19px;
    position: relative;
    top: -24px;
    left: -58px;
    }
    }

    @media (min-width: 900px) {
    .site-description {
    position: relative;
    top: 3px;
    left: 292px;
    }`

    Please help! Thank you

    • This topic was modified 2 years, 9 months ago by bnp1984. Reason: Wanted to add css used

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

Viewing 1 replies (of 1 total)
  • Hey @bnp1984,

    Thanks for reaching out!

    Could you please provide us with more details regarding everything to be in a fixed position when resizing down on all devices? If you can provide us with some screenshots, that would be great too.

    Kind Regards,
    Milos | GoDaddy

Viewing 1 replies (of 1 total)
  • The topic ‘Stop header & site title from moving when resizing window’ is closed to new replies.