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

    Hey guys/gals,

    I have made use of 3 portfolio masonry’s on a page. I 1 full width and 2 halves. On a desktop I need a padding of 6 pixels to make it look as one. I have it in this way cause else some items are on different places and I dont want that.

    But now I have the problem that on smaller screens around 500 pixels wide the padding also shows. I would like the padding not to be used then. I know a while back when I used a background and didnt want that to show I got some css that made the background dissapear under a certain screen width. I am looking for something similair now for the padding issue.

    thanks.

    #858812

    Hey Granis,
    Try adding your css rule inside of this media rule and make your padding zero:

    @media only and (min-width: 500px) screen and (max-width: 767px) { 
    /* your rule here */
    
    }

    adjust sizes to suit

    Best regards,
    Mike

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