Home›Forums›General Support – NOT for Volunteer and PTA plugins!›"Clear" link not showing up
- This topic has 9 replies, 2 voices, and was last updated 7 years, 9 months ago by Gary Thomas.
-
AuthorPosts
-
-
February 23, 2017 at 7:52 AM #14747Gary ThomasParticipant
This week my “clear” link stopped showing up in the table. When I look at the source code, it says it is hidden. But the checkbox to display the clear link on the sheet is active. Only change I made in the last two weeks was to install an SSL certificate on my site. Could this have caused the problem?
-
February 23, 2017 at 8:08 AM #14749Gary ThomasParticipant
I just realized I wasn’t very specific on what I’m referring to. It’s the PTA Volunteer Sign Up Sheets plug-in.
-
February 23, 2017 at 8:10 AM #14751Gary ThomasParticipant
Running version 2.0.0 of the plugin. Not sure when that came out. If in the last week, then that could mean a bug in the coding.
-
February 23, 2017 at 10:16 AM #14753Stephen SherrardKeymaster
Taking a look… looks like there might be a bug in the output for multi-day sheets when you have the spots/tasks in the “consolidated” view. If you turn that off (for now) you should be able to see the clear links.
I will release an update patch as soon as I track down the issue.
-
February 23, 2017 at 11:31 AM #14755Gary ThomasParticipant
Are you referring to the “Consolidate Remaining Slots” setting on the settings page? If so, it was not checked. I checked it, cleared my cache, and tested. Still not showing the “clear” link.
Or I did look at the wrong thing? I didn’t see any other options that sounded like what you wrote above.
-
February 23, 2017 at 11:40 AM #14762Stephen SherrardKeymaster
Some of the CSS for the new div layout was also getting applied to table rows if you had the consolidated option set, which messed up the display of the consolidated row. But, if you didn’t have that set, then I’m not sure why you aren’t seeing the clear links. Did you check your sheet settings to make sure clear links are enabled and the # of days they are allowed to clear is set correctly (or not set at all)?
When you switch to using the new div layout instead of tables, do you see the clear link?
Trying to figure out what combination of settings is not showing clear links. People have to be logged in when they sign up for there to be clear links for them (if they are then logged in when viewing the sheet). If they are not logged in, clear links will not be shown.
-
February 23, 2017 at 12:00 PM #14764Gary ThomasParticipant
None of those things mattered. I checked and unchecked them all.
What I noticed in developer view is that the style.css of my theme was setting the overflow and visibility settings of .clear to hidden. Did you rename the class to include the word clear? Is that causing some type of conflict?
I edited the style.css to have those be “visible” for now. But that isn’t a long term solution. If my theme pushes an update, it will change those back to “hidden”.
-
February 23, 2017 at 12:01 PM #14766Gary ThomasParticipant
Oops, that converted my code to an actual link. That wasn’t my intention.
class=”pta-sus-link clear”
-
February 23, 2017 at 12:22 PM #14768Stephen SherrardKeymaster
Yes… as part of adding the alternate div layout, each with specific class names, I added additional (or missing) class names for the table layouts as well, as many people wanted to do custom styling or hide some columns using CSS. More specific class names make it easier to target.
So, there must be something in your theme or another plugin that sets anything with a clear class to hidden. I believe if you are using the newest version of WordPress, the Customizer (for themes) has a place to add custom CSS that would be saved in options/settings, and not lost when you update. If not, you can always set up a simple child theme, or use one of many available plugins to allow you to load custom CSS.
-
February 28, 2017 at 7:25 AM #14885Gary ThomasParticipant
Yes…I already use a child theme. I made some changes to the custom CSS and the link now displays properly. Thanks for your help. Consider my problem resolved.
-
-
AuthorPosts
- The topic ‘"Clear" link not showing up’ is closed to new replies.