• Resolved Chris G

    (@chrisvk)


    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 to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author e4jvikwp

    (@e4jvikwp)

    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.