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

Apply CSS styling to sticky / pinned threads

Make sticky threads stand out from the crowd.

  1. Brogan

    Brogan XenForo Moderator Staff Member

    Brogan submitted a new resource:

    Apply CSS styling to sticky threads (version 1.0) - Make sticky threads stand out from the crowd.

    Read more about this resource...
     
    Skylined, graham_w, MISTER2 and 26 others like this.
  2. lms

    lms Well-Known Member

    Thanks, brogan. Work fine.

    Salud2
     
    Shelley likes this.
  3. Shelley

    Shelley Well-Known Member

    Nice paul you've given me an idea for something a little different and out of the ordinary.
     
    ArnyVee likes this.
  4. ArnyVee

    ArnyVee Well-Known Member

    I love to hear things like that :)

    Go Shelley Go!

    And thanks for sharing Paul :D
     
  5. lms

    lms Well-Known Member

    And merging with the Tenshi's mod, looks like

    [​IMG]

    Salud2
     
  6. Gustavo Fernandez

    Gustavo Fernandez Active Member

    not work in Flexile theme... Then... How to use?
     
  7. PoLiZe

    PoLiZe Well-Known Member

    You need make a modification on the PAGE_CONTAINER

    Find
    HTML:
    	<!--XenForo_Require:CSS-->
    
    and add after:
    HTML:
    <style>
    <xen:include template="extra.css" />
    </style>
    
    It's nice, thanks for the contribution :D
     
    lms and Gustavo Fernandez like this.
  8. Gustavo Fernandez

    Gustavo Fernandez Active Member

    Thanks... Now I can draw lines of "Extra.css" from anywhere in the forum?
    Gracias... Ahora puedo llamar lineas del "Extra.css" desde cualquier parte del foro??
     
  9. PoLiZe

    PoLiZe Well-Known Member

    Correcto!, Porfavor en este foro trat√° de escribir todo en ingles, jeje..

    Yes!, Please in this forum only english, for spanish, xenfacil.com :)
     
    lms likes this.
  10. Gustavo Fernandez

    Gustavo Fernandez Active Member

    Ok thanks
     
  11. lms

    lms Well-Known Member

    PoLiZe, add your Flexile style solution in xenfacil.

    Thanks.
     
    PoLiZe likes this.
  12. Jeffin

    Jeffin Well-Known Member

    This is awesome. Thanks Brogan.
     
  13. kingston

    kingston Well-Known Member

    I would like to do something similar to Link Forum. How do I go about finding out what the name is for Link forum?
     
  14. Brogan

    Brogan XenForo Moderator Staff Member

    The css for a link node is .linkNodeInfo

    You can create some custom css in EXTRA.css for that class.
     
    kingston likes this.
  15. kingston

    kingston Well-Known Member

    I think I did something wrong??

    .linkNodeInfo{
    background: @inlineMod;
    font-style: italic;
    }

    My link to an entry in the wiki (so just a link) isn't colored.
     
  16. Brogan

    Brogan XenForo Moderator Staff Member

    Try this :)

    Code:
    .linkNodeInfo{
    background-color: @inlineMod !important;
    font-style: italic;
    }
    You have to use the !important declaration to override the existing CSS.
     
    kingston likes this.
  17. kingston

    kingston Well-Known Member

    oooohhhhhhhhhhhhhhhhhhhhhhh
     
  18. Renada

    Renada Active Member

    Hi,

    Is there a way to just change the link colour of the message title?

    Also Kier mentioned here - http://xenforo.com/community/threads/does-xenforo-support-sticky-threads.347/ -
    I've searched through the templates for .discussionListItem.visible.sticky and .discussionListItem.sticky and the search comes up empty. Are these not searchable?

    Regards,
    Renada :)
     
  19. Brogan

    Brogan XenForo Moderator Staff Member

    Just add a color property to the css in the first post if you want to change the thread title colour.

    The css classes you're searching for don't exist in the default templates which is why they don't appear in any search results.
     
  20. Renada

    Renada Active Member

    Hi Brogan,

    Adding font-color: #ff0000; or just color: #ff0000; to the css in the first post changes the colour of Replies/Views font but not the thread title. What do I need to add?

    Regards,
    Renada :)
     

Share This Page