Site logo

Archived topic

Changing content padding of posts without affecting category pages

2 replies · Started by Robin on September 16, 2019

Viewing posts 1–3 of 3

Hi! I love this theme, I'm just running into one problem. I've increased the left and right content padding for posts through Customizing > Layout > Container > Content Padding. It's exactly how I want it to be now, but I've noticed that changing the content padding there also changes the content padding on my category pages. My category pages are set to display posts in 2 columns, so the extra content padding is really not desired there.

How can I change the content padding on my posts without changing the content padding on my category pages?

Nevermind, I just found a solution! I managed to do it with this additional CSS:

@media (min-width: 769px) {
    .single-post .entry-content { padding-left: 67px; padding-right: 67px; }
}

Glad to hear you found a solution

This archived topic is closed to new replies.