Notifications
Clear all

[Closed] Css to make sidebar show on top of forum content for mobile

3 Posts
2 Users
0 Reactions
1,610 Views
Posts: 11
Topic starter
(@daver)
Eminent Member
Joined: 6 years ago

Is there a way to show sidebar first so that I have the sidebar search and recent posts at the top of forum content for mobile only.

Topic Tags
2 Replies
Sofy
Posts: 4900
 Sofy
Admin
(@sofy)
Support Team
Joined: 7 years ago

Hi Daver,

Yes, it should be possible by using CSS code. Just need to add a CSS code with the appropriate selector to Dashboard > Forums > Settings > Styles > Custom CSS code textarea:

The CSS rule is:

display: flex;
flex-direction: column-reverse;

The appropriate selector you can find by pressing F12 on the browser and opening Chrome or Firefox Console:

Posts: 11
Topic starter
(@daver)
Eminent Member
Joined: 6 years ago

I put the css in the custom css code area but nothing happens. Do I have to modify some php file as well?