I am preparing a website on my localhost using the Strings template, and doing a test by putting the site offline the login form in the offline page is rather bare and without any particular formatting. Also by setting the offline_image it is not displayed and also the borders of the input fields are not visible.
How do I solve it?
Rgds
Offline page Template Strings
Accepted answer
Marked as the solutionYou have to keep this file separately as it will be overriden if you update the template.
templates/shaper_strings/offline.php
There are no other possible issues.
4 more replies
Hello Pirosoft,
Thank you for reaching out to our technical support forum. I’m sorry to hear about the trouble you’re experiencing. Rest assured, I will look into this issue for you and work to resolve it as quickly as possible.
If you could kindly provide any additional information regarding the issue, it would greatly help me investigate and address it more efficiently. Please share a screenshot of your issue to understand it better. Take a screenshot and share via any platform. For example: Lightshot or Imgur
Best regards
As you can see, in the hidden content, with the Cassiopeia template the login form in the offline page is visible and works correctly, while with the Temjplate Strings it is not visible, the logo does not appear and the input and submit fields do not work well.
Rgds
It looks like an issue with Helix3 template framework. I will talk to the developer team and will bring a fix.
UpUp
I have just talked with the developer team. They will start working on it today. Please allow some time. I will share the fix as soon as I get it.
UP
The team is working. We will fix the Offline image not loading from Global Configuration settings.
Thanks for your reply.
It's not just the image that doesn't load, probably also the CSS because the form isn't displayed correctly (you can't see the input fields and the submit button).
Best Rgds
You are welcome 😊
I have been working on the template. I hope to be able to fix it soon. Please allow me some time.
Please go to this location:
templates/shaper_strings/
and replace offline.php file with the attached file. You need to unzip the file and then replace.
Hopefully, it will fix your issue. Please check and let me know.
Thanks for your reply. It's not just the image that doesn't load, probably also the CSS because the form isn't displayed correctly (you can't see the input fields and the submit button).
See Hidden Content
Best Rgds
You have to use Custom CSS to change the look. Please use this CSS to
Template Options -> Custom Code -> Custom CSS
.offline-inner input[type="text"], .offline-inner input[type="password"] {
background: #F29207;
color: #2C3663;
padding: 20px;
}
Change the CSS code as per your requirement.
It doesn't work at all.
- The username input field is not visible
- The password input field is not visible
- The submit button is not visible
How can I log in?
P.S.
It also seems that no rule set on the custom code has any effect.
It is also not possible to make the form more attractive.
Please share your administrator access here to check the issue. Use the Hidden Content box to share the credentials. Make sure that you have a full site backup before sharing.
Here are the credentials.
I have added a custom.css file in this location:
templates/shaper_strings/css/custom.css
Please check the design now. You can customize the CSS in custom.css file as per your requirement.
Thanks for the reply.
The login button is not visible.
In general I have many doubts about this solution, because some rules could conflict with other pages of the site and honestly I do not intend to create a custom.css and then correct the errors of the errors.
I have adjusted the CSS in custom.css file. This will not affect in any other page. It will only be applicable to offline page. This is needed to override template CSS because in template.css we have used different style.
.offline-inner #form-login input[type="text"],
.offline-inner #form-login input[type="password"]{
border-color: #157347;
color: #000;
padding: 20px;
margin: 10px 0px;
}
.offline-inner #form-login input[type="text"]::placeholder,
.offline-inner #form-login input[type="password"]::placeholder{
color: #000;
}
.offline-inner #form-login input[type="submit"]{
background-color: #157347;
} Thanks for the reply. The code doesn't work, did you check it after inserting it in the custom.css file?
You are welcome 😊
I do not get what you want. Please clarify your design. I might be able to help you. I check it every time I reply to you. Currently, offline page looks like this (please check in the hidden content).
Sorry, I was checking the live site instead of the staging.
Can you give me the modified files?
Please go to this location:
templates/shaper_strings/
and replace offline.php file with the attached file. You need to unzip the file and then replace.
Also, take a custom.css file in this location:
templates/shaper_strings/css/custom.css
and replace with this file:
Ok thanks, I'm doing some more customizations.
What problems can arise from a future template issue?
Do I have to start over again?
Rgds