Announcement

Collapse
No announcement yet.

CSS invalid

Collapse
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

    CSS invalid

    When I enter the following css code I get an invalid message. I did check it with a CSS validator online and it showed no issue.

    Code:
    .b-button .b-button--close-btn {
      background-color: transparent;
      border: none;
      color: #fff;
    }​

    #2
    It looks valid. Where did you see the invalid message? Where did you enter that CSS?
    Buy me a coffeePayPal QR Code
    My Amazon Affiliate Link
    Fast vBulletin VPS Host:
    This site is hosted by IONOS

    Comment


      #3
      That's what I thought but when I enter it in on the CSS editor on the front end I get "error, invalid request."

      Upon further investigation, it happens when I try to remove CSS so something is going on with the editor.

      Comment


      • NumNum
        commented
        Editing a comment
        Corrupt cookies caused this error in the browser. I cleared the cache and the issue went away.

      #4
      I can add the CSS on the back end in the CSS template.

      Comment


        #5
        I''m trying to get the icons to the left of the page directors to be the same color as the post-reply buttons. I don't see anything in the style variable editor to change that so I'm thinking it is either CSS or is it sprite icons.
        Click image for larger version

Name:	Screenshot 2025-02-13 211200.png
Views:	51
Size:	8.5 KB
ID:	31628

        Comment


        • glennrocksvb
          commented
          Editing a comment
          "icon to the left of the page directors". Which icon?

        • NumNum
          commented
          Editing a comment
          I meant to the right, sorry.

        #6
        Got it.

        Code:
        .b-button.b-button--transparent, .b-button.b-button--close-btn {[LIST=1][*] background-color: #894c4c;[*] border: none;[*] color: #fff;[/LIST]
        }
        ​
        Click image for larger version

Name:	Screenshot 2025-02-14 092539.png
Views:	227
Size:	9.9 KB
ID:	31650
        Last edited by NumNum; 02-14-2025, 06:26 AM.

        Comment


          #7
          Your CSS rules are too generic they might also apply to other elements on the site that use the same button class.

          Use this code to target those specific conversation toolbar elements:

          Code:
          .conversation-toolbar .toolbar-filter .b-button,
          .conversation-toolbar .toolbar-inline-mod .b-button {
            background-color: #894c4c;
          }
          Buy me a coffeePayPal QR Code
          My Amazon Affiliate Link
          Fast vBulletin VPS Host:
          This site is hosted by IONOS

          Comment


          • NumNum
            commented
            Editing a comment
            More better, thank you!

        Latest Posts

        Collapse

        Working...
        X
        Searching...Please wait.
        An unexpected error was returned: 'Your submission could not be processed because you have logged in since the previous page was loaded.

        Please push the back button and reload the previous window.'
        An unexpected error was returned: 'Your submission could not be processed because the token has expired.

        Please push the back button and reload the previous window.'
        An internal error has occurred and the module cannot be displayed.
        There are no results that meet this criteria.
        Search Result for "|||"