Business Hours and Centering Widgets in Footer
This support request was posted in BBQ by ColoradoMurf
- ColoradoMurf August 7, 2014 at 5:07 pm
Good Morning and thanks in advance for helping me out.
First issue is with the Business hours:
– The site is for a restaurant/bar that is open on Friday and Saturdays from 10:00am-1:00am. The default array doesn’t work. If I select 10:00 first and then use multiselect to select 01:00 second, the time appears 1:00am-10:00am which is incorrect. It does this because 01:00am is before 10:00am. I thought if I started the array with 03:00am and moved 1:00am through 2:30am to the end of the array, this would allow me to select 10:00am-01:00am and that is how it would appear. When I select the time though, instead of it showing 10:00am-01:00am, it shows up as 10:00am-12:00am. What’s weird though is if I select 10:00am-01:30am, that is what appears. It only seems like it is broken for 01:00am.
This is my current array:
array( 0 => __( ‘Closed’, ‘nicethemes’), ’03:00′ => ’03:00′, ’03:30′ => ’03:30′, ’04:00′ => ’04:00′, ’04:30′ => ’04:30′,
’05:00′ => ’05:00′, ’05:30′ => ’05:30′, ’06:00′ => ’06:00′, ’06:30′ => ’06:30′, ’07:00′ => ’07:00′, ’07:30′ => ’07:30′,
’08:00′ => ’08:00′, ’08:30′ => ’08:30′, ’09:00′ => ’09:00′, ’09:30′ => ’09:30′, ’10:00′ => ’10:00′, ’10:30′ => ’10:30′,
’11:00′ => ’11:00′, ’11:30′ => ’11:30′, ’12:00′ => ’12:00′, ’12:30′ => ’12:30′, ’13:00′ => ’13:00′, ’13:30′ => ’13:30′,
’14:00′ => ’14:00′, ’14:30′ => ’14:30′, ’15:00′ => ’15:00′, ’15:30′ => ’15:30′, ’16:00′ => ’16:00′, ’16:30′ => ’16:30′,
’17:00′ => ’17:00′, ’17:30′ => ’17:30′, ’18:00′ => ’18:00′, ’18:30′ => ’18:30′, ’19:00′ => ’19:00′, ’19:30′ => ’19:30′,
’20:00′ => ’20:00′, ’20:30′ => ’20:30′, ’21:00′ => ’21:00′, ’21:30′ => ’21:30′, ’22:00′ => ’22:00′, ’22:30′ => ’22:30′,
’23:00′ => ’23:00′, ’23:30′ => ’23:30′, ’24:00′ => ’24:00′, ’24:30′ => ’24:30′, ’01:00′ => ’01:00′, ’01:30′ => ’01:30′,
’02:00′ => ’02:00′, ’02:30′ => ’02:30′)Do you know what I am doing wrong? Like I said, I need to be able to have the business hours list 10:00am-01:00am .
The second thing is the widgets that I placed in the footer. I would like to center the “text ” widget and “Social” widget that I placed in the Footer 1 area. To be more specific, I would like them centered horizontally not vertically.
The last thing is the social widget. How can I change the action to open in new window instead of current?
Thanks
Juanfra Aldasoro August 7, 2014 at 7:09 pmHello,
Thanks for writing.
There’s no need to modify the array. The business hour works for your case in particular.
You just need to select from 10:00 onwards, till 24:30, and then at the top, 1:00.
To select business hours you just need to press ctrl + click in windows, cmd + click in OSX. That way you define the different time blocks for your/your client business. Actually, that way, when leaving blank some hours in the middle you can set up multiple time blocks for the same day.
The text widget styles can’t be changed from the admin section. You’ll need to add some custom CSS. Something like:
#footer .textwidget{ text-align: center;}
Should work just fine. You can read how to add custom CSS here: http://nicethemeswp.com/support/theme-docs/bbq/#custom-css
Finally, it is not possible to select the target window in the social widget. You’ll need to modify the code for that.
Best,
Juan.
You must be logged in to reply to this topic.