Buttons not displaying. HTML is output to the page with no console errors.
-
I see the correct HTML output for the Add To Calendar button on the page when I view it in the inspector.
<div class="calender-button-wrapper pt-1"> <add-to-calendar-button name="MGMA Leaders Conference" startdate="2023-10-22" options="Apple,Google,iCal, Microsoft365, MicrosoftTeams" location="Nashville, TN" hidecheckmark="true" buttonstyle="default" stylelight="--btn-border: #eb2a31" liststyle="modal" atcb-button-id="atcb-btn-1" style="visibility: visible; opacity: 1; position: relative;"> #shadow-root (open) <div class="atcb-initialized" style="display:none;position:relative;width:fit-content;"></div> </add-to-calendar-button> </div>
The attributes and attribute values are being pulled in correctly from the shortcode but I’m thinking the issue is the inline display of none in the shadow root. I don’t see any errors in the console relating to the ATC button. The current version I have for the plugin is 1.5.1. Any help you can give in troubleshooting would be greatly appreciated!
For reference, the shortcode I’m using is –$shortcode = "[add-to-calendar-button name='$event_title' startDate='$ymd_date' options='Apple,Google,iCal, Microsoft365, MicrosoftTeams' location='$location' hideCheckmark='true' buttonStyle='default' styleLight='--btn-border: #eb2a31' listStyle=modal]"
The page I need help with: [log in to see the link]
Viewing 13 replies - 1 through 13 (of 13 total)
Viewing 13 replies - 1 through 13 (of 13 total)
- The topic ‘Buttons not displaying. HTML is output to the page with no console errors.’ is closed to new replies.