1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. This forum is for release discussion only. Discussions that do not relate specifically to the resource release should be discussed in another, more appropriate forum.
    Dismiss Notice
  3. This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Remove Page Description from Threads

Discussion in 'Template Modifications [Archive]' started by ragtek, Sep 26, 2011.

  1. ragtek

    ragtek Guest

    If you want to remove the Page Description only from Threads, you can add

    Code:
    .thread_view #pageDescription
    { display: none !important; }
    to your extra.css

    If you want to remove it from ALL PAGES, you can use
    Code:
    #pageDescription
    { display: none !important; }
    (I've done it via css, because i don't wanted to edit the standard xf templates;) )
    It's also possible to remove it direct from the template => http://xenforo.com/community/threads/do-you-prefer-current-thread-descriptions.20360/ )
     
    laztrix likes this.
  2. yavuz

    yavuz Well-Known Member

    How about this ragtek:

    [​IMG]
     
  3. Brogan

    Brogan XenForo Moderator Staff Member

  4. yavuz

    yavuz Well-Known Member

  5. Brogan

    Brogan XenForo Moderator Staff Member

    You can add this to EXTRA.css, but it will remove the title from all pages as it's a common class.

    Code:
    .titleBar {
    display: none;
    }
     
    laztrix likes this.
  6. ragtek

    ragtek Guest

    You could add a "parent" id or css class (or check it via xen:if controllername == 'xxxx') condtion to add this to extracss only if needed
     
  7. gldtn

    gldtn Well-Known Member

    You can try adding this to the extra template;

    Code:
    .forum_list .titleBar {
            display: none;
    }
    OR

    Code:
    .forum_list .titleBar {
      text-indent: -9999px;
    }
    I recommend the first, if you just want to hide it, but if you want to replace with an image or something, than the text-ident would work wonderfully. Not sure which would be more semantic, if any of them is at all :unsure:
     
    Reedswood and yavuz like this.
  8. yavuz

    yavuz Well-Known Member

    Did it with the first one, worked like magic. Thanks gldtn :)
     
  9. kkm323

    kkm323 Well-Known Member

    the description is helpful and i don't know why you want to remove it?
     

Share This Page