A reddit-ish theme for Discourse

could anyone help me with this one? :smiling_face_with_tear:. I really appreciated it

1 Like

I’m assuming that you changed your user’s Default Homepage option to Categories. Unless a user has explicitly set their Default Homepage option, their homepage will be the homepage that is set by the top menu site setting.

If you have access to your site’s Rails console, you could reset all of your user’s Default Homepage settings so that it will be set based on your top menu setting. To do that, enter the Rails console and run:

UserOption.update_all(homepage_id: nil)

If you are unsure about running this command, I would just not do it. It is likely that most or all of your users will already have their Default Homepage set to Latest.

3 Likes

I’ve just made an update to the theme to address these two issues:

I may have temporarily removed it while building the theme and neglected to add it back — this will now appear again after updating.

This was an issue caused by the “recent topics” list shown on the homepage — we check for a specific class at the bottom of the page to continue loading more topics, and since the sidebar includes this class further up the page it was preventing the load more behavior. Changing the class for these sidebar items fixes the issue.

Thanks for the bug reports everyone!

5 Likes

Which navigation menu sidebar items and classes? I just want to know if they will affect any of my related theme components.

2 Likes

Previously in the sidebar template I was using {{topic-list-item topic=topic}}, which produces a tr element with the class topic-list-item. Removing that class from the sidebar solved the issue.

2 Likes

image
Please tell me how to translate into other languages

nice theme. :slight_smile:

just making it known that yes, there is indeed interest. :+1: :+1:

5 Likes

I love this theme, however I would like to replace “share” with number of likes next to number of replies on the bottom of the topic cards. What would the custom CSS be to do this?

This theme looks great! However, I spotted 2 issues with it:

  1. The nav bar at the top showing the chat icon, search etc has a few of the icons smaller than the rest, and not aligned too.

  2. The topic timeline looks weird: it’s the curve-edge rectangle (bar) within the box-rectangle (box with bar within). Maybe the box with bar within could be curved as well?
    Screenshot_20240607_135225_One UI Home

2 Likes

Thanks for reporting these! I’ve just made an update that should fix them.

2 Likes

I met the same problem, do you find the way to resize the post area?