Clear Link Stopped Working

Viewing 5 reply threads
  • Author
    Posts
    • #14946
      E Nai
      Participant

      I saw an earlier post that was closed. I have the same problem with clear link disappearing when it had been working for a long time. Only things I’ve upgraded recently are the PTA Volunteer Signup Sheets, currently on 2.0.1 Also running
      PTA Shortcodes 1.2.4
      Volunteer Signup Sheets Group Extension 1.2.0
      Volunteer Signup Sheets Customizer Extension 1.1.9.1

      Been using the same theme for a long time, no changes there. Running WP 4.7.2, tried going to 4.7.3 hoping that might make a difference, no luck and went back to 4.7.2.

      When I’m logged in and go to bottom of event summary page, the last table shows events I’m signed up for and the table header reads

      You have signed up for the following
      Click on Clear to remove yourself from a signup

      However after each event, there is no link to initiate the “clear”.

      Do you have a documented fix for this? I’ve tried enabling/disabling options to no avail. Please advise. Thanks.

    • #14948
      Stephen Sherrard
      Keymaster

      Yes, it was documented in the other thread:
      https://stephensherrardplugins.com/support/topic/clear-link-not-showing-up/

      Read near the bottom. I added class names to various elements that did not have class names before so that people could more easily target them for custom styling. Those clear links have a classes of “pta-sus-link” and “clear”. The culprit seems to be that some themes, or other plugins, have already defined a clear class with the CSS setting it to hidden. If you inspect the page in your browser, you will most likely see that the clear link is there, but has been set to hidden.

      So, you just need to add some additional CSS to your theme (or child theme) to set this specific type of link class back to visible. Something like the following should do it:

      
      a.pta-sus-link.clear {
          visibility: visible !important;
      }
      
    • #14950
      E Nai
      Participant

      Still not seeing the clear link. I just added some CSS as you suggested, here is what it looks like when I do the inspect in the browser (I could not copy the lined that was running thru values that were overridden so I noted in ** where those showed a line going thru it)

      Under Pseudo elements

      a.pta-sus-link.clear::after {
      visibility: visible !important;
      }
      .clear::after {
      content: “.”;
      display: block;
      height: 0;
      clear: both;
      visibility: hidden;
      }

      Under This Element

      element {
      }
      a.pta-sus-link.clear {
      visibility: visible !important;
      }
      .clear {
      min-width: 0;
      display: inline-block; **lined out**
      display: block;
      }
      .clear {
      clear: both;
      display: block; **lined out**
      overflow: hidden;
      visibility: hidden; **lined out**
      width: 0;
      height: 0;
      }

      In the Signup Sheet settings, the Use divs and disable plugin CSS are NOT checked. In the sheets themselves, show clear links for signups IS checked and # of days to clear is set to 0.

    • #14960
      Stephen Sherrard
      Keymaster

      Perhaps you need to also add a:
      display: block !important;

      to that. If the clear class has display:none; in any other CSS, that will override the visibility property and also make it not show.

      Giving that the added “clear” class was maybe not a great idea in retrospect, seeing as other themes and plugins use clear for hidden or display:none elements.

      Getting ready to release an update to the main plugin anyway (probably later today), so perhaps I’ll change it to something like “clear-signup” instead, and hopefully nobody has already built CSS around the “clear” class.

      I’m sure it’s just a CSS thing, though that’s causing it not to show for you.

    • #14970
      Stephen Sherrard
      Keymaster

      Released an update last night where I changed that “clear” class to “clear-signup”, which should fix any CSS conflicts.

      Please let me know if that fixed your issue, or if you still can’t see the clear links for some reason after updating.

    • #15155
      Stephen Sherrard
      Keymaster
Viewing 5 reply threads
  • The topic ‘Clear Link Stopped Working’ is closed to new replies.