XenForo add 1px to responsive breakpoint variable in CSS

M

Mr Lucky

Guest
I have a responsive medium breakpoint set to 720px. However when using the media query with min-width @media (min-width: @xf-responsiveMedium) in css there needs to be an extra 1px

If I use @media (min-width: 721px); all is fine. However I want to use the @xf-responsiveMedium variable so I don't have to edit the css if I change the responsive break point.

So what I need is a way to use the variable but 1px larger.

I had thought I had seen @media (min-width...

Read more

Continue reading...