Site logo

Archived topic

Category Page

5 replies · Started by Frank on August 4, 2017

Viewing posts 1–6 of 6

How do I reduce space between title / blog excerpt and also center align title / excerpt?

I also want to add spacing on either side of title / excerpt so that it looks somewhat like the screenshot?

https://www.dropbox.com/s/kjgssnv2u9rj2xy/box.jpg?dl=0

Hi Frank,

Any chance you can link me to the category page in question? I should be able to nail down the CSS faster that way.

Thanks!

Hi Leo,

You can see the page at: http://shoutkey.com/together

I'm trying to make it look like the screenshot in my first post.

Thanks

Try this CSS:

.category .entry-title {
    text-align: center;
    padding-left: 35px;
    padding-right: 35px;
}
.category .entry-summary {
    margin-top: 1em;
    text-align: center;
    padding-left: 35px;
    padding-right: 35px;
}

Adding CSS: https://docs.generatepress.com/article/adding-css/

Thanks Leo!

How do I add padding on either side of title and excerpt below image?

Edited the code above. Give it another shot :)

This archived topic is closed to new replies.