Tom Wilson Posted January 12, 2020 Share Posted January 12, 2020 Hi, Anyone else's VPN page not working? Just shows a blank page.. 0 Quote Link to comment Share on other sites More sharing options...
Tom Wilson Posted January 12, 2020 Author Share Posted January 12, 2020 My error - don't worry 0 Quote Link to comment Share on other sites More sharing options...
markp Posted January 12, 2020 Share Posted January 12, 2020 Tom, Would you mind sharing your error? My VPN landing page is empty too. Thanks, Mark 0 Quote Link to comment Share on other sites More sharing options...
zomex Posted January 13, 2020 Share Posted January 13, 2020 Hello, Which template are you all using? Any template used prior to V7.9 aside from Six will require updating in order to support the new page. That would include any third party template or if you're using a copy of the Six template but with a unique name. Jack 0 Quote Link to comment Share on other sites More sharing options...
markp Posted January 13, 2020 Share Posted January 13, 2020 Jack, That makes sense. I was using a custom version of Six. A quick switch to the default version brought the VPN landing page back. I'll just need to update the CSS in the new version so that the theme colors that I want to use are set. By chance do you know of a different way to apply custom CSS without touching the default template so that updates like this don't get implemented when I perform future upgrades? Thanks, Mark 1 Quote Link to comment Share on other sites More sharing options...
zomex Posted January 13, 2020 Share Posted January 13, 2020 15 hours ago, markp said: Jack, That makes sense. I was using a custom version of Six. A quick switch to the default version brought the VPN landing page back. I'll just need to update the CSS in the new version so that the theme colors that I want to use are set. By chance do you know of a different way to apply custom CSS without touching the default template so that updates like this don't get implemented when I perform future upgrades? Thanks, Mark Great to hear you found the issue. It's best to apply custom CSS to the /css/custom.css file. CSS within this file will take priority and it is loaded underneath the WHMCS CSS file (all.css) so it will allow you to overide any CSS. Keep a backup of this file and as long as no changes were made to any default Six files you can simply add this to a new copy of Six for full support with your customizations. 1 Quote Link to comment Share on other sites More sharing options...
brian! Posted January 13, 2020 Share Posted January 13, 2020 15 hours ago, markp said: By chance do you know of a different way to apply custom CSS without touching the default template so that updates like this don't get implemented when I perform future upgrades? by using the custom.css file ? remember to take a backup though, as the auto updater might try to overwrite it if the folder is still called Six. https://developers.whmcs.com/themes/css-styling/ technically, you could do it using a hook, but that shouldn't really be necessary. 15 hours ago, markp said: That makes sense. I was using a custom version of Six. A quick switch to the default version brought the VPN landing page back. I'll just need to update the CSS in the new version so that the theme colors that I want to use are set. chances are the /store/sitelockvpn folder will be missing from your custom template. 2 Quote Link to comment Share on other sites More sharing options...
zomex Posted January 13, 2020 Share Posted January 13, 2020 3 minutes ago, brian! said: chances are the /store/sitelockvpn folder will be missing from your custom template. That's true, also the CSS for that page will be missing from css/all.css 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted January 13, 2020 Share Posted January 13, 2020 3 minutes ago, zomex said: That's true, also the CSS for that page will be missing from css/all.css and more importantly all.min.css - all.css is just for reference and isn't used. 1 Quote Link to comment Share on other sites More sharing options...
zomex Posted January 13, 2020 Share Posted January 13, 2020 4 minutes ago, brian! said: and more importantly all.min.css - all.css is just for reference and isn't used. True, I will clarify that in future posts. 0 Quote Link to comment Share on other sites More sharing options...
markp Posted January 13, 2020 Share Posted January 13, 2020 @zomex and @brian! - thank you both! I'll go to work and make those updates per your guidance. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.