Fixed With for mobile?

Community Forums Forums General Discussion Fixed With for mobile?

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  cdils 1 year, 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #22894

    saffron avenue
    Participant
    Post count: 6

    I am trying to make my website fixed width because it looks all kinds of crazy on mobile..because I add custom coding and images. Is there a easy fix?  Thank you!

    #23506

    cdils
    Participant
    Post count: 420

    Hi there,

    Which theme are you using? If it’s one that’s already responsive, just look for this in your CSS:
    /* Responsive Design
    ———————————————————— */
    Depending on your theme, there may or may not already be some CSS for the mobile screen size. Look for something like this:
    @media only screen and (max-width: 480px) {

    }
    If you don’t see that, just add it in (and you can change 480px if you want, but that’s standard iPhone width in landscape mode).

    Last step is add any custom CSS you want within those @media only brackets { }. That’ll get picked up when viewing your site on a mobile.

    Cheers,

    Carrie


    Have you been helped in this forum? Pay it forward and answer someone else’s question. I bet you’ll know the answer to at least one question. :)

    I tweet @cdils.

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

You must be logged in to reply to this topic.