Title: custom css
Last modified: January 24, 2021

---

# custom css

 *  Resolved [Chris G](https://wordpress.org/support/users/chrisvk/)
 * (@chrisvk)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/custom-css-269/)
 * Hi, I am currently evaluating the free version of VikBooking at the web address
   supplied. Since the upgrade to 1.3.11 my custom css was seemingly overwritten(
   it had the same datestamp as all the other plugin files). I have managed to restore
   from a backup, but now something strange is happening – I can see from browser
   dev tools that the css is being loaded by the browser (multiple browsers, multiple
   devices) but the page is choosing not to use it.
    Specifically I noticed that
   the class .vbrowroomcapacity does not have my custom styles associated to it (
   center text and remove margins), but I’m sure there are others that I have not
   had to to check yet.
 * Thanks in advance for assistance
    Chris
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcustom-css-269%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [e4jvikwp](https://wordpress.org/support/users/e4jvikwp/)
 * (@e4jvikwp)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/custom-css-269/#post-13952227)
 * Hi Chris,
 * Vik Booking saves onto a temporary WordPress option-record the whole content 
   of your custom CSS rules, beside adding the code to the actual CSS file to allow
   browsers to cache it, and to avoid using in-line CSS rules.
    After installing
   an update, the automatic processes of Vik Booking should automatically restore
   your changes made to the apposite CSS file for the customization, and so it is
   not normal that you actually lost those changes. If you noticed that the modification
   date of that file is identical to all other files, then the problem could be 
   related to the file permissions, where maybe the post-update restore process 
   of Vik Booking could not push back your custom CSS rules onto that file.
 * However, in order for this automated restoring process to work well, you should
   not modify the content of the custom CSS file via FTP or File Manager, or Vik
   Booking would not be able to trigger the backup event of your custom CSS rules.
   You are supposed to edit the custom CSS file only through the Configuration page
   of our plugin.
 * If you have noticed that the browser is loading your custom CSS file in the source
   code of the various pages, but the styles are not actually being applied, then
   maybe the problem could be related to a syntax error in your CSS rules.
    We suggest
   trying to make that file shorter, just to test for example one single class/rule
   selector.
 * We have just visited the link you provided, and some styles are indeed being 
   modified by your custom CSS rules declared in the file vikbooking_custom.css?
   ver=1.3.11. For example, the background color of the “Details” buttons is set
   to a light blue with the hexadecimal value #1e90ff. This means that the custom
   CSS file is working fine, we tested this with Firefox and Safari.
 * Feel free to reach out to our support team from our website in case you keep 
   having problems. This way our designers may help you. Thank you.
 * The VikWP Team

Viewing 1 replies (of 1 total)

The topic ‘custom css’ is closed to new replies.

 * ![](https://ps.w.org/vikbooking/assets/icon-256x256.png?rev=1855707)
 * [VikBooking Hotel Booking Engine & PMS](https://wordpress.org/plugins/vikbooking/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/vikbooking/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/vikbooking/)
 * [Active Topics](https://wordpress.org/support/plugin/vikbooking/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/vikbooking/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/vikbooking/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [e4jvikwp](https://wordpress.org/support/users/e4jvikwp/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/custom-css-269/#post-13952227)
 * Status: resolved