Quick question: I’ve created an html and custom css which I would like to use solely on one page of my website….however I do not know how to integrate the css without causing the whole website to change it’s settings.
Please help!
Hey modernme!
You can add the CSS into a codeblock element in the page so it will only effect that page.
Drag this into the codeblock element.
<style type = "text/css">
paste your CSS code here
</style>
Cheers!
Elliott
I added the html onto a text box and the css onto the code block as you instructed…..still no luck.
I also tried the following on the code block….no luck either.
Please help!!
Here is the updated version: (find below)
Hi,
Could you link to the site in question so that we can have a closer look? Also, please post screenshots of what you are trying to do. Pasting 100’s of lines of code won’t do much good so please don’t do that, it just makes the thread more or less impossible to read.
Thanks,
Rikard
Great advise. I’m sorry for that.
Here is the page that I would like that code added to:
or better yet, here is the css/html in action
Hi Rikard! Any updates?
Hi!
I tested the solution Elliott already provided to you and it works for me. Try for example this code in a code block element in one site only:
<style type = "text/css">
.container {
background-color: red;
}
</style>
With it you header background should get red, but only on this specific page. Can you confirm that this works for you?
Cheers!
Andy
Unfortunately, it doesn’t work for some odd reason.