StyleVar affecting Selected Calendar Day

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MacroPhotoPro
    Senior Member
    • Feb 2012
    • 266
    • 4.2.x

    [Forum] StyleVar affecting Selected Calendar Day

    Hi;

    I have tried Inspect Element a thousand times, but cannot get the StyleVar for the selected Calendar tab to be the color I want:


    Click image for larger version

Name:	3.jpg
Views:	46
Size:	22.2 KB
ID:	4366879

    Can anyone provide the correct code?

    Thanks,
    Website | Facebook | Flickr Photostream
  • Paul M
    Former Lead Developer
    vB.Com & vB.Org
    • Sep 2004
    • 9886

    #2
    That appears to be

    tabslight_selected_background

    Be careful though, its a general high level stylevar controlling all tabs that use those classes.

    Baby, I was born this way

    Comment

    • MacroPhotoPro
      Senior Member
      • Feb 2012
      • 266
      • 4.2.x

      #3
      Originally posted by Paul M
      That appears to be

      tabslight_selected_background

      Be careful though, its a general high level stylevar controlling all tabs that use those classes.
      Thank you.

      The way I am implementing it doesn't seem to be working. Can you please provide the whole code (for the calendar)?

      Thanks
      Website | Facebook | Flickr Photostream

      Comment

      • Paul M
        Former Lead Developer
        vB.Com & vB.Org
        • Sep 2004
        • 9886

        #4
        Sorry, I have no idea what you mean by that request.
        Baby, I was born this way

        Comment

        • MacroPhotoPro
          Senior Member
          • Feb 2012
          • 266
          • 4.2.x

          #5
          Originally posted by Paul M
          Sorry, I have no idea what you mean by that request.
          By that I mean, for example, here is the additional css code I tried to control the issue:

          Code:
          * dl.tabslight dd.selected a:hover {
              border-bottom: 1px solid transparent;
              tabslight_selected_background: #555555 none;
          }
          It didn't work.

          I was asking for the exact code that did work.

          Thanks.
          Website | Facebook | Flickr Photostream

          Comment

          • Mark.B
            vBulletin Support
            • Feb 2004
            • 24286
            • 6.0.X

            #6
            You can't put a stylevar name directly into css like that.

            Stylevars are under Styles & Templates > Style Management > Edit Stylevars
            Search for the stylevar and change the values there.
            MARK.B
            vBulletin Support
            ------------
            My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
            My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

            Comment

            • MacroPhotoPro
              Senior Member
              • Feb 2012
              • 266
              • 4.2.x

              #7
              Found it, thanks.
              Website | Facebook | Flickr Photostream

              Comment

              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
              Working...