-
Anonymous
Hi Guys,
How can i go from site 1 archive page design to site 2 archive page design. Except the header. just taking about archive posts listing.
1. for example a category is showing on top of the page title
2. Featured image is without any padding and looking nice.
3. Post meta looks better as well. -
Hi there,
You can create a Block Element Content Template for each category/archive:
https://docs.generatepress.com/article/block-element-content-template/Let me know if this helps 🙂
-
Anonymous
Sorry i dont want to use generateblocks, another plugin to manage while i am working on improving site speed.
I believe using few css code it should be possible.
I have changed to 3 column design already. Not sure if you can see frm your side.
I have cleared cache and purged cdn. So hopefully the change should show.
I am almost there with the design, just few tweaks can make it similar.
Thank you
-
Sorry I misunderstood the request before.
That said, if you are trying to replicate the design in Site 2 then creating the Content Template mentioned above is the best option available.
It would require quite a bit of CSS and PHP to achieve that layout which isn’t good for performance anyways.
GB is also optimized for performance so you should not see any performance drop when using it 🙂
-
Anonymous
Trying to replicate the design of site 2 in site 1.
Site 2 (third party) Site 1 (my site).
When you say content template, does it require generateblocks plugin.
If yes, does generateblocks affect on the website load speed by adding additional js and css ?
-
When you say content template, does it require generateblocks plugin.
The Content Template feature itself does not require GenerateBlocks plugin. That said, GB is required if you want to replicate the layout from the example site.
If yes, does generateblocks affect on the website load speed by adding additional js and css ?
As mentioned, GB is optimized for performance so you should see very little to no performance drop when using it.
All of our site library templates are using GB so feel free to run some speed tests:
https://generatepress.com/site-library/The direct link would be in this format: https://gpsites.co/scribe/
We cannot provide a full CSS and PHP solution to replicate that example layout as we built a specific tool and feature for something like this already.
Thanks for your understanding.
-
Anonymous
Ok, I will give it a try.
If i create a page then how to load as a main page for my site.
I dont want to load it as https://sitename/blog or something. I want the page to load when i visit https://sitename
-
Hi there,
1. Install the GenerateBlocks plugin.
2. Go to Appearance > Elements -> Add New –> Block element.
3. Set the Element Type toContent Templatehttps://docs.generatepress.com/article/block-element-content-template/
4. Set the Display Rules to
Front Page
5. Now build out your post card design in the editor.
5.1 in the settings sidebar there are Templates, choose the one with borders to get you started as its vary similar design to your example -
Anonymous
Hi David, Thanks for the help.
I am sure GB is a great tool. But I have managed to achieve around 90% of the design. However, Need help on two things.
1. How to customize just the entra meta category and remove folder icon.
2. Move the entra meta categories after Featured image [screenshot link in the private box]. -
Fernando
Hi JK,
You can use a Block Element – Post Meta Navigation. Reference: https://docs.generatepress.com/article/block-element-post-meta-template/
Or, are you opting out of using GenerateBlocks? If you are, go to Appearance > Customize > Layout > Blog > Content > Single, and disable “Display post categories”.
Then, add this snippet:
add_filter( 'generate_header_entry_meta_items', function( $items ) { $items[] = 'categories'; return $items; } );Adding PHP: https://docs.generatepress.com/article/adding-php/#code-snippets
-
Anonymous
This didn’t work. But I used some css code to acheive the desired result. doesn’t want to make it complicated.
I have a query on the post meta. the author name and category name are links when i change the color of .entry-meta a it sets for both as you can see in the screenshot.
I do not want to customize the author name same as the date color so that it looks seamless.
However, using css .entra-meta a {} customizes the category link and author link color both. Category link color looks fine to me but just that author name also shows blue instead of same as date. I understand as its a link and therefore its showing similar to category link.
Is there any way to manage them both separately. I checked .author.vcard css but that didn’t work.
-
Fernando
Which specifically did you try? Did you try the PHP code snippet to make the categories appear after the Author name?
-
Anonymous
no, ignore that as I am happy with categories showing as in the screenshot for now. Sorry for a bit of confusion here.
Just try to see if I can customize just the author name to same as published date. right now both category and author links are blue. I want to have author name same as published date color which is similar to grey.
-
Fernando
Try adding this CSS:
article span.author.vcard a { color: #878787; } -
Anonymous
that seems to work. thank you.
-
Fernando
You’re welcome, JK!
- You must be logged in to reply to this topic.