Home › Forums › Support › align element header for mobile This topic has 3 replies, 2 voices, and was last updated 1 month, 4 weeks ago by Ying. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts March 29, 2023 at 7:22 am #2587200 Torsten Hi, I would need your help with aligning the text in the header element with the text below for mobile, each of the 4 lines with a 20px left-padding and a 40px top- and 30px bottom-padding. Can you help? Thx ahead, Torsten March 29, 2023 at 10:16 am #2587572 YingStaff Customer Support Hi Torsten, try this CSS: @media(max-width: 768px) { .nav-contact { padding: 40px 0 30px 20px; } } Adding CSS: https://docs.generatepress.com/article/adding-css/ March 30, 2023 at 12:48 am #2588275 Torsten cool, thanks alot! I added text-align: left; as for some reason the lines were right-aligned on mobile only. ๐ best, Torsten March 30, 2023 at 9:44 am #2589168 YingStaff Customer Support Glad to hear that ๐ Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In