Bakur Posted May 15, 2022 Share Posted May 15, 2022 Dear friends, let me ask you a question. (Sorry in advance for my poor English) On one of the source sites, I found the floating window code. I tried it by creating a primitive html page and it turned out to be quite a working code that I would happily use in my PrestaShop site. I would like to bind a phone number to it, perhaps viber ... Perhaps you will need it too. But, after downloading the code and saving it, it simply disappears. As I understand it, again, it is connected with the setting of the prestashop. I do not approve, but I would like to run it on the prestashop. If you can help dear advice I will be very grateful to you. Does anyone know the best approach to this? (I repeat that after loading and saving it simply disappears) Perhaps it needs to be loaded in the wrong place or in some other way? Link to comment Share on other sites More sharing options...
Prestachamps Posted May 15, 2022 Share Posted May 15, 2022 Hi, Prestashop is cleaning the HTML content before saving it in CMS pages. You need to include these CSS lines on a CSS file of your theme like custom.css to get it work. Also after this you can give the corresponding class for the element that you need. Kind regards, Leo. 1 Link to comment Share on other sites More sharing options...
Bakur Posted May 16, 2022 Author Share Posted May 16, 2022 (edited) Thanks friend for the advice. Can I have one more question? In order to insert the simplest table (for example, as in Excel), do I also need to do the same? Edited May 16, 2022 by Bakur (see edit history) Link to comment Share on other sites More sharing options...
Prestachamps Posted May 21, 2022 Share Posted May 21, 2022 Hi, if the table inserting is being stripped/removed at saving then most probably you need to enable the "Allow iframes on HTML fields", or/and disable the "Use HTMLPurifier Library" options and try re-saving the CMS page. Have a nice day, Leo. 1 Link to comment Share on other sites More sharing options...
Bakur Posted May 22, 2022 Author Share Posted May 22, 2022 Hello . I'll try . Thank you friend ! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now