Visible table and no styling. help?
-
Hello,
First of all, thank you for making this plugin that integrates with the Places API!
I’ve been struggling to get styling to work with the shortcodes.
Something is breaking shortcodes like ‘no-border’. Its probably related to why styling that is otherwise applying everywhere else on a given page, isn’t applying to Opening Hours shortcodes.
The top of that screenshot was created with Opening Hours:
[open class="dark hours-right outside-flush no-border closed-italic past-fade" closed_show="true" days="Samedi,Lundi,Mardi,Mercredi,Jeudi,Vendredi,Dimanche"]
The bottom half of the screenshot which Im trying to emulate was created with this code:
<ul><li id="Wednesday"><span>Wednesday</span><span>5 PM - 10 PM</span></li> <li id="Thursday"><span>Thursday</span><span>10 AM - 10 PM</span></li> <li id="Friday"><span>Friday</span><span>10 AM - 11 PM</span></li> <li id="Saturday"><span>Saturday</span><span>10 AM - 11 PM</span></li> <li id="Sunday"><span>Sunday</span><span>10 AM - 9 PM</span></li></ul> <script type="text/javascript"> weekday(); function weekday() { var d = new Date(); if (d.getDay() == 0) { document.getElementById("Sunday").classList.add('active'); } if (d.getDay() == 1) { document.getElementById("Monday").classList.add('active'); } if (d.getDay() == 2) { document.getElementById("Tuesday").classList.add('active'); } if (d.getDay() == 3) { document.getElementById("Wednesday").classList.add('active'); } if (d.getDay() == 4) { document.getElementById("Thursday").classList.add('active'); } if (d.getDay() == 5) { document.getElementById("Friday").classList.add('active'); } if (d.getDay() == 6) { document.getElementById("Saturday").classList.add('active'); } } </script>
Could someone point me in the right direction? After several hours of trying many different things and searching online, I am at at a loss.
Thank you,
D
- The topic ‘Visible table and no styling. help?’ is closed to new replies.