Archived topic
Tablet specific padding
3 replies · Started by Brian on July 29, 2019
Hi I want to increase the page padding on tablets only. Could you tell me how to achieve this?
I know its media queries, just not sure of the exact code.
Also would you consider adding a tablet option to:
Layout : container : content padding
Thanks
Hi there,
The correct code depends on the content layout you are using.
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 :)
Sure it's https://sluggerotoole.com/
Try this:
@media (min-width: 769px) and (max-width: 1024px) {
.one-container .site-content {
padding: 30px 50px;
}
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
Let me know if this helps :)