Skip to content
Grav 2.0 is officially stable. Read the announcement →
Themes & Styling

Form contact uneditable in Agency theme

Solved by pamtbaau View solution

Started by Mathieu 6 years ago · 2 replies · 414 views
6 years ago

Hello !
First thanks ! I'm new to Grav and I love the way it works 🙂
But I've got a strange problem, using the Agency theme, the form contact is not editable when the screen width is between 993 - 1200 px...
This problem seems to occur also on the demo
https://demo.getgrav.org/agency-skeleton/
Does someone already solved this ? I couldn't find anything usefull on Google....

6 years ago Solution

@Mathieu, Did some research...

When the contact form changes into 2 columns (>= 992), the column is 'float'-ed to the left. Somehow, it seems as if the <input> is positioned behind/below a parent element because of that. Moving the input 'up' resolved it.

See if it helps if you add the following to the css:

CSS
@media (min-width: 992px) {
  .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
    z-index: 1;
  }
}

Why does the problem disappear at min-width: 1200? I don't know...

By the way, the theme uses Bootstrap v3.x which is an old version. Bootstrap v4.x uses flexbox and will probably not have the issue.

last edited 04/21/20 by pamtbaau
6 years ago

Thank you very much pamtbaau !!

I've just add your code and it works like a charm !

Glad to see there is an active and efficient community 🙂

Have a nice day !

Suggested topics

Topic Participants Replies Views Activity
Themes & Styling · by Pedro M, 2 months ago
4 234 2 months ago
Themes & Styling · by Ian, 2 months ago
3 121 2 months ago
Themes & Styling · by Norbert, 2 years ago
11 486 3 months ago
Themes & Styling · by Lukáš Findeis, 3 months ago
0 75 3 months ago
Themes & Styling · by Sebadamus, 4 months ago
5 154 3 months ago