How to change the Hotel reservation form

GK User
Mon Dec 19, 2016 6:42 am
Hi guys,

We're using the WP Hotel (Villa Bellucci) template ATM but the venue doesn't offer separate rooms for hire, it's one whole property for hire. How can I completely remove the 'rooms' option from the form, as this creates confusion? (so there's NO mention of rooms in the form)

The website is http://goltoninthegap.com.au/ username: gavickpro password GavickPro2016
Thank you for your expertise
Enquire-now.jpg
.
User avatar
Expert Boarder

Joshua M
Mon Dec 19, 2016 10:11 am
Hi,

Please edit you reservation shortcode and change the rooms_max attribute to 1:
Code: Select all
rooms_max="1"

Then, please add the following custom css code:
Code: Select all
.gk-hotel-reservation-form .gk-sr-check-rooms {
display: none;
}
User avatar
Moderator

GK User
Mon Dec 19, 2016 10:50 am
Thank you Joshua,

From memory... do I need to install a plugin to be able to add custom css for WP CMSs? I'm a bit more familiar with Joomla... :/
User avatar
Expert Boarder

Joshua M
Mon Dec 19, 2016 11:00 am
If you are using the latest version of WordPress, please navigate to Appearance -> Customize -> Additional CSS tab.
User avatar
Moderator

GK User
Mon Dec 19, 2016 11:02 am
awesome! thanks
User avatar
Expert Boarder

GK User
Mon Dec 19, 2016 11:58 pm
Hi Joshua,
Unfortunately Room 1 is still there. Please refer to pic.
User avatar
Expert Boarder

Joshua M
Tue Dec 20, 2016 12:13 am
Try to add also this css code:
Code: Select all
.room_num_row dt {
  display: none;
}
User avatar
Moderator

GK User
Tue Dec 20, 2016 12:17 am
Thank you very much, that nailed it ;)
User avatar
Expert Boarder

GK User
Tue Jan 03, 2017 6:14 am
After removing the 'room' bit, it's messed with the alignment of the drop downs. Please see attached image and kinder offer your recommendation to resolve this scalable issue.
thank you, Meg.
User avatar
Expert Boarder

Joshua M
Tue Jan 03, 2017 9:18 am
Try to add the following custom css code:
Code: Select all
.page-id-22 .room-list dl dd {
   width: 40%;
}
User avatar
Moderator

GK User
Wed Jan 04, 2017 12:02 am
Thank you, it worked on that page however the form is also on the home page and bookings page. I'd replicate the css but don't know how to find the page numbers...(?)
User avatar
Expert Boarder

Joshua M
Wed Jan 04, 2017 8:43 am
Try to change this code to:
Code: Select all
.room-list dl dd {
   width: 40%;
}

without page number (I've thought that you want to change it only on this specific page)
User avatar
Moderator

GK User
Wed Jan 04, 2017 10:21 am
It's kind of odd... that has it mostly sorted on the other pages but the home page form remains misaligned... :/
User avatar
Expert Boarder

Joshua M
Thu Jan 05, 2017 9:02 am
Maybe it was a browser's cache issue, because I can see that the home page form is fine now.
User avatar
Moderator

GK User
Fri Jan 06, 2017 12:35 am
Unfortunately no. We've cleared the cache and tested on 6 browsers Mac/PC and it appears to be isolated to Firefox but only on the home page version of the plugin...(???)
User avatar
Expert Boarder

Joshua M
Mon Jan 09, 2017 9:00 am
hmm, try to add also this css code:
Code: Select all
.frontpage .room-list dl dd {
   width: 42%;
}
User avatar
Moderator

GK User
Mon Jan 09, 2017 11:49 pm
Nailed it! Nice one, and thank you Joshua.
User avatar
Expert Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.