How to change padding between columns?

Community Forums Forums Design Tips and Tricks How to change padding between columns?

This topic is: resolved

This topic contains 2 replies, has 2 voices, and was last updated by  nicole2013 9 months, 3 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #83217

    nicole2013
    Participant
    Post count: 29

    I have changed the padding between the columns by adding a 40px padding to the css. It is good on a desktop but on a mobile the columns overlap.

    Is there a way to do this so that on a mobile the padding will be relative to the screen size?

    http://www.creative-printables.com/autonav/
    #83218

    nutsandbolts
    Moderator
    Post count: 3141

    You could try percentage based padding instead of px. Otherwise, you’d need to add different CSS rules for padding at each media query size.


    Andrea Whitmer, Owner, Nuts and Bolts Media
    I provide dev and training services for web designers • Find me on Twitter and Google+

    #83381

    nicole2013
    Participant
    Post count: 29
    This reply has been marked as private.
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.