-
AuthorPosts
-
November 18, 2015 at 9:27 am #537898
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!
November 18, 2015 at 6:05 pm #538405Hey 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!
ElliottNovember 18, 2015 at 6:22 pm #538430I added the html onto a text box and the css onto the code block as you instructed…..still no luck.
November 18, 2015 at 6:25 pm #538436I also tried the following on the code block….no luck either.
November 19, 2015 at 3:27 am #538678Please help!!
November 20, 2015 at 7:32 am #539357Here is the updated version: (find below)
November 20, 2015 at 7:33 am #539358Hi,
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,
RikardNovember 20, 2015 at 7:34 am #539359Great advise. I’m sorry for that.
Here is the page that I would like that code added to:
November 20, 2015 at 7:37 am #539360or better yet, here is the css/html in action
November 20, 2015 at 10:30 pm #539976Hi Rikard! Any updates?
November 25, 2015 at 2:20 pm #542433Hi!
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!
AndyNovember 27, 2015 at 2:52 am #543462Unfortunately, it doesn’t work for some odd reason.
November 27, 2015 at 1:03 pm #543597 -
AuthorPosts
- You must be logged in to reply to this topic.
