Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #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!

    #538405

    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

    #538430

    I added the html onto a text box and the css onto the code block as you instructed…..still no luck.

    #538436

    I also tried the following on the code block….no luck either.

    #538678

    Please help!!

    #539357

    Here is the updated version: (find below)

    #539358

    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

    #539359

    Great advise. I’m sorry for that.

    Here is the page that I would like that code added to:

    #539360

    or better yet, here is the css/html in action

    #539976

    Hi Rikard! Any updates?

    #542433

    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

    #543462

    Unfortunately, it doesn’t work for some odd reason.

    #543597

    Hey!

    Can you please try adding !important rule as following

    <style type = "text/css">
    .container {
    background-color: red !important;
    }
    </style>

    Best regards,
    Yigit

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.