Yigit helped me center the special headings and buttons in my grid rows vertically on this page and the code worked perfectly. However, after the thread was closed, I noticed that it affected all other grid rows on my site. How can I get this code to work only on this page? I have a section id for this section of #grid-row Can you help me modify the code adding this section id to target only this grid row so no other grid rows on my site are affected please? or target just this specific grid row another way? I had to remove the code because it was messing up the rest of my site. Thanks in advance!
https://kriesi.at/support/topic/center-text-button-in-grid-rows/
@media only screen and (max-width: 480px) {
.responsive #top #wrap_all .av-flex-cells .no_margin .flex_cell_inner {
margin-top: 20%;
}}
Hi djshortkut!
Please edit your Grid Row element and give it a unique ID and then change the code to following one
@media only screen and (max-width: 480px) {
#your-custom-id .flex_cell_inner {
margin-top: 20% !important;
}}
Best regards,
Yigit
Thanks, that worked! You can close this thread.