costum css

Everything related to your website and the Beds24 widgets
Post Reply
aladdin
Posts: 66
Joined: Thu Feb 23, 2017 2:30 pm

Following the wiki beds24, I try to add costum css.

https://wiki.beds24.com/index.php?title ... l_CSS_file:
External CSS file
It is possible to make the booking page use a CSS file that you supply, you must host the CSS file on a secure web server (using https:).
To do this you need to add the &cssfile parameter to the URL for the booking page, or for example the iframe SRC.
You could do this to use different styling per page or site.
For example if your css file is: https://yoursite/path/your.css
Goto this site and encode it: http://meyerweb.com/eric/tools/dencoder/
Add the resulting parameter to the booking page URL like this: &cssfile=https%3A%2F%2Fyoursite%2Fpath%2Fyour.css
Your CSS file will be included.
I am searching all over, but where do I find the booking page URL??
markkinchin
Site Admin
Posts: 935
Joined: Fri Mar 02, 2012 1:43 pm

You can get it at this menu

Settings > Booking Page > Booking Widgets > Links
aladdin
Posts: 66
Joined: Thu Feb 23, 2017 2:30 pm

?

So how should I add then the resulting parameter (like &cssfile=https%3A%2F%2Fyoursite%2Fpath%2Fyour.css) to the booking page URL??
markkinchin
Site Admin
Posts: 935
Joined: Fri Mar 02, 2012 1:43 pm

Like this:

https:///beds24.com/booking.php?propid=3103&cssfile=https%3A%2F%2Fyoursite%2Fpath%2Fyour.css


But it is usually better to add it at the custom CSS setting rather than via an external file.

Settings > Booking Page > Developer > Custom CSS
Post Reply