NateWr on "[Plugin: Restaurant Reservations] Time picker disabled hours"

ساخت وبلاگ

plushglobalmedia
Member
Posted 1 day ago #

Hi, I am trying to disable the times the restaurant is not open with the following CSS I found in one of the threads here:
.picker__list-item--disabled {
display: none;
}

But this does not seem to do anything.
I changed my time to european 24 hours format, perhaps this has something to do with it?
Please let me know.

https://wordpress.org/plugins/restaurant-reservations/

NateWr
Member
Plugin Author

Posted 7 minutes ago #

Hi plushglobalmedia,

Your time format won't effect this.

If the CSS code is getting loaded on the page, it should hide any disabled times in the time picker. My guess is that the code isn't getting read, either because of cached stylesheet files on your site or because of malformed CSS that's preventing it from being read properly.

I'd recommend you double-check that the styles you put in are being loaded. This answer on Stack Overflow describes how to use the developer tools in Chrome to inspect all CSS files that have been loaded:

http://stackoverflow.com/questions/3936196/how-to-see-the-css-files-loaded-in-a-page-in-google-chrome

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 372 تاريخ : دوشنبه 18 مرداد 1395 ساعت: 12:42