Announcement

Collapse
No announcement yet.

CSS to hide subscribe and ignore

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

    CSS to hide subscribe and ignore

    Hi Glenn

    I just wondered if you had CSS to hide the subscribe and ignore buttons in the user Namecard.?

    They are causing us problems with accidental clicks and as not many use them it would be good to hide them.

    thanks in advance ๐Ÿ™‚

    #2
    Will post for the CSS code for that soon.
    Helpful? Donate. Thanks!
    Buy me a coffeePayPal QR Code
    Fast VPS Host for vBulletin:
    A2 Hosting & IONOS

    Comment


      #3
      Here you go...

      https://vbmods.rocks/forum/vbulletin...user-name-card
      Helpful? Donate. Thanks!
      Buy me a coffeePayPal QR Code
      Fast VPS Host for vBulletin:
      A2 Hosting & IONOS

      Comment


        #4
        Thanks Glenn.

        If I changed the .js-ignore-user part to .js-subscribe-user

        would that also hide the subscription button?

        really appreciate your help, will drop a donation over later ๐Ÿ‘

        Comment


        • Mitch
          Mitch commented
          Editing a comment
          I tried that and it did not work, but my code was this.. Not what was posted by Glenn
          Which one should I use??

          .b-namecard .js-ignore-user.b-button {display: none;}

        #5
        Originally posted by Mrs.T View Post
        If I changed the .js-ignore-user part to .js-subscribe-user

        would that also hide the subscription button?
        Change it to .subscribe-btn to hide the Subscribe, Subscribed and Pending buttons.
        Helpful? Donate. Thanks!
        Buy me a coffeePayPal QR Code
        Fast VPS Host for vBulletin:
        A2 Hosting & IONOS

        Comment


          #6
          Or since you want to hide all the buttons, then replace the entire CSS code with this:

          Code:
          .b-namecard--buttons {
              display: none;
          }
          Helpful? Donate. Thanks!
          Buy me a coffeePayPal QR Code
          Fast VPS Host for vBulletin:
          A2 Hosting & IONOS

          Comment


          • glennrocksvb
            glennrocksvb commented
            Editing a comment
            I also added this code in the other post.

          #7
          Thanks Glenn for the updated code

          Comment


            #8
            Thank you so much Glenn ๐Ÿ‘

            Comment


              #9
              Just installed and it works a great, thanks again. ๐Ÿ‘

              Donation sent.

              Comment

              Latest Topics

              Collapse

              Working...
              X