- This topic has 9 replies, 3 voices, and was last updated 3 years, 3 months ago by
Fernando.
-
AuthorPosts
-
March 11, 2023 at 9:15 am #2564184
Rajkumar
I want a custom design like this.
I tried a three-grid design. But not able to achieve this.
My site design: https://prnt.sc/rPxh9SMVY_pe
March 11, 2023 at 12:22 pm #2564295Leo
StaffCustomer SupportHi there,
Any chance you can link us to the page in question?
You can use the private information field:
https://docs.generatepress.com/article/using-the-premium-support-forum/#private-informationLet me know 🙂
March 11, 2023 at 10:54 pm #2564567Rajkumar
Private information has been added; kindly check; I need a design like the mentioned website. Only the homepage and archive page.
March 12, 2023 at 11:03 am #2565148Leo
StaffCustomer SupportTry the following steps:
1. Set the Featured image location to Above title for Archives:
https://docs.generatepress.com/article/adjusting-the-featured-images/2. Deactivate/uncheck the Display padding around images option:
https://docs.generatepress.com/article/adjusting-the-featured-images/3. Remove all Post meta including date, author, categories and comments:
https://docs.generatepress.com/article/blog-content-layout/#archivesLet me know when the 3 steps are done and I’ll provide the CSS 🙂
March 12, 2023 at 11:18 am #2565154Rajkumar
kindly provide me the css sir . i will do the rest and will update you.🙂
March 12, 2023 at 12:33 pm #2565192Leo
StaffCustomer SupportPlease complete the steps above so I can inspect the page again and provide the best CSS possible.
Thanks!
March 12, 2023 at 7:56 pm #2565382Rajkumar
done kindly check and update sir.
March 12, 2023 at 9:55 pm #2565416Fernando Customer Support
Hi Rajkumar,
Can you try this CSS?:
:is(.blog,.archive) .post-image img { width: 100%; height: auto; } :is(.blog,.archive) .post-image { margin-bottom: 0 !important; } :is(.blog,.archive) article .inside-article { box-shadow: 0 7px 20px 0 rgb(38 50 56 / 8%); border-radius: 10px; overflow: hidden; } :is(.blog,.archive) article .inside-article h2 a { font-weight: 700; font-size: 17px!important; } :is(.blog,.archive) :is(.entry-summary, .entry-meta) { display: none; }March 13, 2023 at 7:55 am #2566158Rajkumar
Working fine; I need to add a margin on the right and left for a mobile device.
Thank you so much for your help.
March 13, 2023 at 5:27 pm #2566626Fernando Customer Support
Can you try adding this as well?:
@media (max-width: 768px){ :is(.blog,.archive) article .inside-article { margin-left: 24px; margin-right: 24px; } } -
AuthorPosts
- You must be logged in to reply to this topic.