• Threads
  • Categories
  • Users
  • GitHub
  • Documentation
  • Discord
  • forum
  • group
  • search
  • chevron_right Threads
  • label Styling

How to remove header/banner for an authenticated user?

tetricky
March 9, 2023
chat_bubble_outline 3
  • link
    tetricky
    Members 98 posts
    March 9, 2023, 6:40 p.m. March 9, 2023, 6:40 p.m.
    link

    A thought that this has triggered is: Would it be possible to display the header/banner, for an anonymous user....but remove it for a logged in member?

  • link
    rafalp
    Project Lead 1637 posts
    March 9, 2023, 7:10 p.m. March 9, 2023, 7:10 p.m.
    link

    Which header/banner?

  • link
    tetricky
    Members 98 posts
    March 11, 2023, 10:07 p.m. March 11, 2023, 10:07 p.m.
    link

    Sorry for the delay, I've been away.

    I have a banner mod, to provide a background banner (for the Header text: in the General settings). In an ideal world I would no longer display the banner or the Header text to a logged in user (to maximise space for threads in mobile view).

  • link
    rafalp
    Project Lead 1637 posts
    March 12, 2023, 12:31 a.m. March 12, 2023, 12:31 a.m.
    link

    I'll make it in 0.30 that there's misago-anonymous and misago-authenticated CSS class on body element, so you should be able to achieve this with css selector and custom styles.

There are no more posts in this thread.

  • This site uses cookies to gather statistical data for use in traffic analysis. Header photo by Joanna Malinowska.
  • GitHub
  • Documentation
  • Discord
  • Terms of service
  • Privacy policy
powered by misago