This topic has 6 replies, 3 voices, and was last updated 10 years, 9 months ago by Anonymous.
Tagged: html business hours pro
Viewing 7 posts - 1 through 7 (of 7 total)
Hello,
First of all i’m very enthusiastic about the BHP plugin! Thanks for the good work!
I’m working on a website right now and i want to add some HTML in the open and close text. I’ve added this: <span class="sign-line-1">###</span><span class="sign-line-2">###</span>
I can save it, but when i open it again the text field strip everything from the first ” in the line.
How can i solve this?
Many thanks,
Marc
That’s my pleasure!
And coming to open and closed textfields, please enter only the text in the textfields.
But what if i want to style the different parts in the elements? Is it possible to add inline HTML to the text?
Yes, you can add inline html to the text according to your requirement but if you edit the code in the plugin files, whenever you update the plugin, the changes what you have made will be lost. So, if you want to style the elements, please make the changes in css files by going to that particular class.
Sorry, but i think it’s not correct.
An example.
Paste this text in the ‘closed text’ field:
<p>We are closed</p><br><p>at this moment</p>
And this text in the ‘open text’ field:
<p>We are open</p><br><p>at this moment</p>
Set the day of today as closed and check the front end.
You see both the opening as the closing text. Without HTML in the field everything is working fine.
Yes We made it only text based for security measures coz if something is wrong within the elements you / others add then it will be a problem for the layout and everything gets messed. So currently as of now we have only text based option and if you want html based then you can customize that according to your requirements.
Viewing 7 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic.