geminilabs

Untitled

Aug 20th, 2025
423
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.10 KB | None | 0 0
  1. /**
  2.   This CSS will only work for the review form with ID 8602
  3.   and when the CF7 plugin style is used in Site Reviews.
  4.  */
  5. @media (min-width: 768px) {
  6.   /* The review form uses a 12 column grid */
  7.   [data-form="8602"] .wpcf7-form {
  8.     .glsr-field[data-field="author"] {
  9.       /* start on column 1 and span 4 columns */
  10.       grid-column: 1 / span 4;
  11.     }
  12.     .glsr-field[data-field="mesto"] {
  13.       /* start on column 1 and span 4 columns */
  14.       grid-column: 1 / span 4;
  15.     }
  16.     .glsr-field[data-field="email"] {
  17.       /* start on column 1 and span 4 columns */
  18.       grid-column: 1 / span 4;
  19.     }
  20.     .glsr-field[data-field="content"] {
  21.       /* start on column 5 and span 8 columns */
  22.       /* start on row 2 and span 3 rows */
  23.       grid-column: 5 / span 8;
  24.       grid-row: 2 / span 3;
  25.  
  26.       /* The rest of the CSS fixes the height of the TEXTAREA */
  27.       label {
  28.         display: flex;
  29.         flex-direction: column;
  30.         height: 100%;
  31.       }
  32.       .wpcf7-form-control-wrap {
  33.         flex: 1;
  34.       }
  35.       .wpcf7-textarea {
  36.         height: 100%;
  37.       }
  38.     }
  39.   }
  40. }
Advertisement
Add Comment
Please, Sign In to add comment