• Resolved sebastianM8

    (@sebastianm8)


    Hi,

    I’m trying to change the styles of the form just a little bit to adapt it to my website. Everything seems to work fine while I’m modifying the style.css file, but when I try to use a @media query to adapt it to the screen size (or anything else), it just doesn’t work. @media queries can’t be used here, or is it something I’m doing wrong?

    Thanks in advance. Cheers.

    https://ww.wp.xz.cn/plugins/clean-login/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Alberto Hornero

    (@hornero)

    Hi Sebastian,

    Could you please detail your case more in-depth?

    Regards,

    Alberto.

    Thread Starter sebastianM8

    (@sebastianm8)

    Hi,

    Sure. You can see how my form is right now in this link.

    I gave it the style I wanted and it works perfect. The problem is when I’m trying to adapt it to mobile display. I’m using @media queries to adapt the width and the margins of the form to make it looks good on mobile, but when I use the @media query, for example, to reduce the margin of the form container, it just doesn’t work, it stays as it is right now.

    If there’s anything else you need to know, just let me know.

    Cheers.

    Plugin Author Alberto Hornero

    (@hornero)

    Did you modify the Clean Login plugin files? In the next update you are going to lose all changes you did.. unless you don’t update it.

    Thread Starter sebastianM8

    (@sebastianm8)

    Hi,

    I’ve backed them up, so I’m sure I won’t lose the changes, but is that why the @media queries are not working?

    Plugin Author Alberto Hornero

    (@hornero)

    Hi sebastianM8,

    @media queries are not used in the right way. You need to define the size in pixels, e.g. “@media (max-width: 420px)”.

    Anyway, this is a custom modification you did (by your own risk) so I don’t know how can I help you in this context.

    Regards,

    Alberto.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Minor style changes not applying’ is closed to new replies.