1

my page does have a fixed header. Therefore, when there is a wrong entry in a field of the form or a mandatory field not filled, page scrolls to the first field with an error. Unfortunately, this field is covered by my fixed header and therefore not visible. Is there a way to change this with some kind of offset to this scroll function?

Please let me know if you have any idea.

Heinz Schilling
  • 2,177
  • 4
  • 18
  • 35
Chequille
  • 161
  • 1
  • 1
  • 5

1 Answers1

0

It's a simple CSS problem. I solve some similar with

.tx-powermail:before {
    content: "";
    display: block;
    height: 100px;
    margin-top: -100px;
    visibility: hidden;
}
Heinz Schilling
  • 2,177
  • 4
  • 18
  • 35
  • first thanks for the answer. Unfortunately, this does not solve my problem. When submitting the form, it scrolls the first field with an incorrect or missing entry to the top of the page. Therefore it is not seen because it is behind my fixed header. – Chequille Jun 11 '19 at 21:03