[Resolved] css for header left padding for tablet

Home Forums Support [Resolved] css for header left padding for tablet

Home Forums Support css for header left padding for tablet

  • This topic has 3 replies, 2 voices, and was last updated 3 months ago by Ying.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2221088
    Eddie

    Hi Team,

    I have set left margin 140px for dekstop and I would like 0 left margin on Tablet.
    Can you please help with css needed?

    this is the css i currently use for fonts size on tablet.


    @media
    (min-width: 769px) and (max-width: 1024px) {
    body {
    font-size: 17px;
    }
    .main-navigation a {
    font-size: 16px;
    }

    Thank you for your help.

    #2221442
    Ying
    Staff
    Customer Support

    Hi Eddie,

    Try this:

    @media (min-width: 769px) and (max-width: 1024px) {
        .site-header .inside-header {
            padding-left: 0;
        }
    }
    #2221475
    Eddie

    Thank you Ying, works great ๐Ÿ™‚

    #2221485
    Ying
    Staff
    Customer Support

    You are welcome ๐Ÿ™‚

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.