Archived topic
Responsive Text in Header Element
3 replies · Started by Penny on March 14, 2019
I've added an element and used the before_header_content hook with HTML to serve as a custom header.
How can I make the text a smaller font size on mobile?
Hi there,
You can use CSS with @media:
https://docs.generatepress.com/article/responsive-display/
If you need help with the actual code, any chance you can link us to the site in question?
You can edit the original topic and use the private URL field.
Let me know :)
Thanks, Leo. That was what I needed and I was able to make it work.
No problem :)