1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 Hide Profile Tab under User's Profile with CSS?

Discussion in 'Styling and Customization Questions' started by Axel B, Mar 7, 2015.

  1. Axel B

    Axel B Well-Known Member

    I hope this is possible, but I'm looking for some CSS that I can put in extra.css to hide the Profile Posts tab under a user's profile.

    Screenshot 2015-03-07 11.28.13.png

    Thanks in advance!
  2. Allan

    Allan Well-Known Member

    Hello :)

    Try this:
    .profilePage .tabs.mainTabs > li:first-child {
    display: none;
  3. Axel B

    Axel B Well-Known Member

    Thanks @Allan! The tab is gone :) I have one additional question though. Not sure if it can be done in CSS or if I have to change a template (hopefully not).

    Is it possible to trigger in CSS to goto tab 'Recent Activity' per default so the content of 'Profile Posts' is not shown? Been googling on it, but could not find it :(

    Thanks for your time!

    Screenshot 2015-03-07 12.35.44.png
  4. Axel B

    Axel B Well-Known Member

    Breixo and Allan like this.

Share This Page