Archived topic
separate padding settings for page and post content
5 replies · Started by Jasper on February 17, 2017
On a site i use elementor to build oages, but i like to use the standard blog layout of elementor. I have set the padding for content to 0 because elementor includes a padding already.
However on the blog pages there is no left/right padding and on mobile this does not look nice. When i add padding, the padding is also added to the pages content padding and there it is too much.
Is it possible to add to the customizer seperate settings for paddings on blog pages? Both normal and mobile?
Regards, Jasper
Hi Jasper,
Are you talking about the single post pages or the main blog page?
Can you provide a link to the site? It would be easier for me to give you some CSS.
here is a link
http://nieuw.carmenbarnhoorn.com/column/
Try this CSS:
@media (max-width: 768px) {
.blog .site-content {
padding: 0 10px;
}
}
Let me know.
great, thanks
You're welcome.