CSS not working
-
The pluggin works well, and I like it. However there is no formating. The table is ok but no CSS is applied.
I did the test of copy the CSS in the plugin folder and use that name instead in the plugin configuration. No luck. Did try to add some formating of my own also.
I really don’t understand why. Thank you.
-
Just to check, when you say you copied the CSS from the folder, you mean that you pasted it inside of the Stylesheet editor section of Weekly Schedule, right? After saving the stylesheet, did the CSS editor come back with the stylesheet, or did it come back blank?
Something you could try would be just to add the CSS to your site’s theme stylesheet.
Well, here is what I tried :
– Modify the default CSS included in the editor.
– Edit the stylesheettemplate.css inside the plugin folder (and of course keep this name in the “Stylesheet File Name” plugin general settings).
– Copy stlyesheettemplace.css to mystyle.css and change the name in general settings.
– Add CSS to my site’s theme stylesheet (and/or page stylesheet).No luck! It’s exactly as if no style is applied at all. It was like that by default, even before I tried to play with styling. I am wondering if this problem could be related to the theme itself. I am using a premium theme named u-design. No problem with any other custom styling.
Thanks anyway!
Can I access the site to see if I can figure things out by looking at this through Chrome dev tools?
I, too, am having a problem whereby the CSS does not seem to be applied. Specifically, we need a border around each entry to differentiate it from the previous and next entry. The stylesheet seems to imply that there will be a 1 px solid border around the category entries:
.ws-schedule td.cat1, td.cat2, td.cat3, td.cat4, td.cat5 {
border: 1px solid;However, this does not seem to be happening. See http://dev.whistleradio.ca/programming-calendar/
I am using the default installation with no changes to the stylesheet.
Any help would be appreciated. Thanks.
Indeed, there was a small bug in Weekly Schedule around the output of that category class for items. Please update to latest version and confirm that it is now working correctly.
Please consider donating to support this plugin’s development.
I have updated the plugin to the latest version. One of the categories displays correctly, but the second category does not. It still lacks a border.
Can you please have a look?
Thanks.
I think the problem is related to the category numbers that are being assigned. The stylesheettemplate.css file contains up to 5 categories. The “recorded” category would seem to have been assigned a category # of 6.
I added a test category, and it has been assigned a category # of 8. I know that I can add more entries into the stylesheet, but I would prefer not to do that.
How can I reset the category numbers so that they begin at #1? Note that I deleted the default category of 1.
Thanks,
It is not possible to reset the category number through the UI. It could be done through the database if you are familiar enough with working in phpMyAdmin. Let me know if that is the case and I can provide you with instructions.
That being said, the stylesheet is meant to be modified. I only created styles for 5 categories, but users could have dozens or even hundreds of categories, so it did not make sense for me to create so many different styles by default. Also, users usually want to change the colors associated to each category to match their site theme colors, so they will need to modify the stylesheet anyway.
I hope this answers your question. Please consider making a donation to support this plugin’s development.
Thank you for your response. It does name sense to provide some sample styles and let the user modify them as needed.
Can you please send or post the instructions on how to modify the database using phpMyAdmin? I have sufficient knowledge to be able to use it.
Thanks.
All right. I would suggest making a backup of your database just in case.
First, you would need delete all categories from the wp_wscategories table:
delete * from wp_wscategoriesThen, call the following SQL statement:
ALTER TABLE wp_wscategories AUTO_INCREMENT = 1Let me know if this worked for you.
Please consider making a donation to support this plugin’s development.
The topic ‘CSS not working’ is closed to new replies.