Site logo

Archived topic

How do I stack the "post meta item" in the footer on single post page?

5 replies · Started by Cristiano on May 26, 2022

Viewing posts 1–6 of 6

Hello,

How do I stack the "post meta item" in the footer on single post page?

They are as follows:

I want them to look like this:

There are three columns and rows at the top. I intended to use this style as a post navigation designer:
https://docs.generatepress.com/article/inline-post-navigation/

Can you help me?

I sent my website to the restricted area.

Thanks

Hi there,

Change this CSS:

single-post .entry-meta, .single-post .entry-meta .meta-data { 
    display: flex;
}

to:

single-post .entry-meta, .single-post .entry-meta .meta-data { 
    display: flex;
    flex-wrap: wrap;
}

Hello, and thank you for taking the time to read this!

Because your code interfered with the header's entry-meta, I modified it.

footer.entry-meta {
    display: flex;
    flex-wrap: wrap;
} 

I tried it in this manner and it worked! Thank you so much!

Could you could assist me in creating a line between the entry-metas?

Hi there,

try this CSS:

.single-post footer.entry-meta .tags-links {
    padding: 10px 0;
    margin: 10px 0;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

It worked, thank you very much! 😀😀

Glad to hear that!

This archived topic is closed to new replies.