Add custom css
Auteur : Peter Hansson
Visité 3406,
Followers 1,
Partagé 0
I try to add own html, css , java of this page
http://www.simonbattersby.com/blog/cycling-a-background-image-with-jquery/
Where do I put the three pieces of code to it to apply to all of the pages on my website ?
Posté le
Hello Peter,
The whole code can be added in the html code object in step 3. Only the css code needs to be added in the expert tab ob the html code object while the rest can be added in the main tab.
Many thanks!
Auteur
If I put the HTML object with the code in a cell from the link then takes the change in the cell and not the entire page.
Hello Peter,
To add it in the entire page you can do it in step 2 by selecting the page and then opening the properties in the advanced tab. The first part goes "after the BODY tag". The css and javascript code goes in the HEAD tag.
Don't forget to add the css code between <styletype="text/css"> and </style> and the javascript code between <scripttype="text/javascript"> and </script>
Many thanks!
Auteur
Hi! I don´t get the last part....very confused
Don't forget to add the css code between <style type="text/css"> and </style> and the javascript code between <script type="text/javascript"> and </script>
Hello Peter,
The css code you find on the page needs to be between the tags I wrote you otherwise it won't work. The same is for the javascript code. As example add
<style type="text/css">
</style>
And between these 2 tags paste the css code you find on the page of the custom html code. To the same for the javascript code by padding it between the <script type="text/javascript"></script> tags.
Many thanks!