How to change background color of sticky?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • iardon
    Senior Member
    • Jun 2005
    • 291
    • 3.8.x

    How to change background color of sticky?

    Hi,

    Is it possible to change the background color of a sticky? I don't mind if that would include the post icon/laste reply/etc...

    I'd rather not upload a product for this so I'm hoping this could be just a template change.

    Please see attachment.

    Thanks.
    Attached Files
    DMCTalk.com forums - For DeLorean owners and enthusiasts.
  • zappsan
    Senior Member
    • Sep 2004
    • 1143
    • 3.8.x

    #2
    Try this: http://www.vbulletin.com/forum/showt...ghlight=sticky
    *Insert text here* :)

    Comment

    • iardon
      Senior Member
      • Jun 2005
      • 291
      • 3.8.x

      #3
      Thanks for that but is there a way to define a certain sticky and not all of them?

      Thanks.

      Originally posted by zappsan
      DMCTalk.com forums - For DeLorean owners and enthusiasts.

      Comment

      • iardon
        Senior Member
        • Jun 2005
        • 291
        • 3.8.x

        #4
        ^ bump
        DMCTalk.com forums - For DeLorean owners and enthusiasts.

        Comment

        • peterska2
          Senior Member
          • Oct 2003
          • 8869
          • 3.7.x

          #5
          This is not possible. You can change the background color, but it affects all threads of that type.

          Comment

          • feldon23
            Senior Member
            • Nov 2001
            • 11291
            • 3.7.x

            #6
            It would be ugly, but you could extend the conditionals. Looking here:


            Here's the first change:


            Replace all instances of:

            Code:
                class="alt1"
            ...and:

            Code:
                class="alt2"
            ...with:

            Code:
                class="<if condition="[COLOR=Red][B]$thread[threadid] = 204[/B][/COLOR]">alt1_sticky<else />alt1</if>"
            ...and:

            Code:
                class="<if condition="[COLOR=Red][B]$thread[threadid] = 204[/B][/COLOR]">alt2_sticky<else />alt2</if>"
            where the sticky you want to have a diff background is thread id #204.

            Comment

            • feldon23
              Senior Member
              • Nov 2001
              • 11291
              • 3.7.x

              #7
              Heck you could even get rid of the $show['sticky'] part since you are specifying 1 thread only that you want highlighted.

              Comment

              • iardon
                Senior Member
                • Jun 2005
                • 291
                • 3.8.x

                #8
                Thanks for the info feldon.
                DMCTalk.com forums - For DeLorean owners and enthusiasts.

                Comment

                Related Topics

                Collapse

                Working...