Pesquisas recentes
Sem pesquisas recentes
Bing Template: How to add Recent Activity on home page + edit Recent Activity CSS to match up with design
Respondido
Publicado 20 de jul. de 2021
I have purchased Bing Template, and found that there is no option of Recent Activity to add it on Home page.
so I have added the code manually on home page
but the output is not what I have expected, I want same design of Recent Activity which looks like Promoted Articles (I made some changes in CSS of Promoted Articles as per my design)
The single line of curlybars language code {{recent_articles}} is really pain, didn't get any class, css to work on. Everytime we have to check the Html-Css code in browser > Inspect Element.
This little help will be appreciated, thanks in advance.
1
4
4 comentários
Ifra Saqlain
Hi Aditya,
You added on the home_page.hbs
{{recent_articles}} means Recently Viewed Article
but
{{recent_activity}} means Recent Activity
if you want to add recent activity, then remove {{recent_articles}} , and add {{recent_activity}}.
after that,
add the below CSS at the bottom of your stylesheet:
Add this font aweosme library on the document_head.hbs file:
Screenshot for the same:
Output:
If any issue let me know.
Thanks
1
Aditya
Thank you very much @... for quick reply. I have replaced the code you have suggested and it worked! Also added the CSS you have posted.
I wanted the same design for Recent Activity just like Promoted Articles, now using the CSS you have given I will try changing parameters there. If I stuck I will let you know. Thanks again for the quick solution :)
1
Ifra Saqlain
Okay,
Keep the only {{recent_activity}} just after the <ul> </ul> tag on homepage, then the alignment issue won't arise as I am seeing in your above screenshot.
0
Magudeeswar Nataraj
Hi team,
How can we add author image who posted the post in recent activity.
0