Site logo

Archived topic

H1 Post Title and footer category – padding on Page

7 replies · Started by Atefan on January 24, 2021

Viewing posts 1–8 of 8

Hi there,

you would need to include some rules for the pages:

.single-post.full-width-content .entry-header,
.single-post.full-width-content footer.entry-meta,
.page.full-width-content .entry-header,
.page.full-width-content footer.entry-meta {
    max-width: 1200px;
    padding-left: 40px;
    padding-right: 40px;
    margin: auto;
}

.single-post.full-width-content footer.entry-meta,
.page.full-width-content footer.entry-meta {
    padding-bottom: 40px;
}

yeah, this worked, but see on the given url, the date is still on the left.
thank you

Hi Ying, sorry my fault,
please check again.

Thanks

Hi,

We can modify David's CSS a bit to add the selector for the entry meta.

.single-post.full-width-content .entry-header, .single-post.full-width-content footer.entry-meta, .page.full-width-content .entry-header, .page.full-width-content footer.entry-meta, .page.full-width-content .entry-meta {
    max-width: 1200px;
    padding-left: 40px;
    padding-right: 40px;
    margin: auto;
}

I simply added .page.full-width-content .entry-meta.

After applying this change, This is how it would appear: https://share.getcloudapp.com/kpu7PPY8
The red box indicated the padding being applied to the entry meta as well.

Thank you very much! perfect

Nice one. No problem. glad to be of any help. :)

This archived topic is closed to new replies.