- This topic has 18 replies, 3 voices, and was last updated 4 years, 9 months ago by
Ying.
-
AuthorPosts
-
June 23, 2021 at 7:30 pm #1832892
Rohith
Hi there, I want to display the posts in mobile same as this website
June 23, 2021 at 10:12 pm #1832963Elvin
StaffCustomer SupportHi Rohith,
I believe you can do this by creating your own design for the post items through Block Element – Content Template.
See Leo’s demo here – https://www.youtube.com/watch?v=8byA37OTBRg
As for the columns, you may need a bit of CSS. Let us know when you’ve applied the general styling and let us have a look at it.
June 23, 2021 at 10:14 pm #1832965Rohith
Is it possible without the Generateblocks?
June 23, 2021 at 10:15 pm #1832966Rohith
By the way, can you give me the css of rounded post columns oh homepage for mobile?
June 23, 2021 at 10:20 pm #1832970Elvin
StaffCustomer SupportIs it possible without the Generateblocks?
You can’t do this with GenerateBlocks alone. You’ll have to use GenerateBlocks within the Block Element – Content template.
By the way, can you give me the css of rounded post columns oh homepage for mobile?
You can do this through the Block Editor’s UI. GenerateBlocks’ container blocks have border-radius property.
June 23, 2021 at 10:22 pm #1832971Rohith
No actually i don’t want to do it. I just want add rounded corners to the existing container
June 23, 2021 at 10:27 pm #1832976Elvin
StaffCustomer SupportTry this CSS:
.inside-article { box-shadow: 0 2px 4px 0 rgb(0 0 0 / 13%); border-radius: 10px; }June 23, 2021 at 10:30 pm #1832979Rohith
It worked thanks. By the way, the date and author name is not displaying in home page posts even though its enabled.
June 23, 2021 at 10:42 pm #1832983Elvin
StaffCustomer SupportIt worked thanks. By the way, the date and author name is not displaying in home page posts even though its enabled.
That’s strange.
Can you make sure you’ve selected the correct tab on Appearance > Customize > Layout > Blog? Perhaps it’s only enabled for Posts tab but not the Archive tab – https://share.getcloudapp.com/L1uBWkPo
June 23, 2021 at 10:45 pm #1832986Rohith
It’s not showing even though it’s enabled
June 23, 2021 at 10:52 pm #1832992Elvin
StaffCustomer SupportStrange.
Are you using a child theme template? Or perhaps a PHP filter for the header meta elements?
Let us know.
June 23, 2021 at 10:56 pm #1832994Rohith
I am using Post meta elements inside the post only
June 23, 2021 at 11:09 pm #1833004Elvin
StaffCustomer SupportI am using Post meta elements inside the post only
Ah that’s the case.
You’ll have to add date and author name meta on that Block element template as well.
Block Element templates override the default so customizer’s settings don’t work when one is actively applied. 😀
June 23, 2021 at 11:36 pm #1833018Rohith
I have deleted the Block elements but still unable to see the date and author name.
June 24, 2021 at 11:00 am #1833846Ying
StaffCustomer SupportGo to customizer > addtional CSS, check if this CSS is there:
https://www.screencast.com/t/P3Qes04A.post .entry-meta { display: none; }If so, remove it.
Let me know 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.