[Resolved] Styling of contact form gone on mobile

Home Forums Support Styling of contact form gone on mobile

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1147374
    Max

    Hi there!

    I am using the latest GP premium and WordPress version.

    I just styled my contact form a bit and noticed that the styling is gone, once mobile view kicks in.
    For the first time since I started using it the @media rule (to specifically apply the changes to mobile view) does not change that fact (I deleted the rule again since it did not change anything).
    Can you tell me what I am missing? Is there perhaps some inherent styling (of the contact form) which prevents the @media rule from being executed?

    Thank you in advance for your time and best regards

    #1147446
    David
    Staff
    Customer Support

    Hi there,

    you have some unclosed @media queries in your CSS – that is they are missing the last closing }. For example it should look like this:

    @media (min-width: 768px) {
        .my-style {
            /* My styles are here */
        }
    }

    When that last bracket is missing it means any code that comes after it will be included.

    #1147552
    Max

    Thanks for the quick response David!

    I thought I had checked every bracket but apparently I overlooked one. I found the culprit. Problem solved.

    #1147610
    David
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.