Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #954971

    I keep getting an error when i try to add CSS to my footer.php Getting a

    Your PHP code changes were rolled back due to an error on line 138 of file wp-content/themes/enfold/footer.php. Please fix and try saving again.

    syntax error, unexpected ‘<‘

    Here is my code:

    <div>
    <div class=”custom_disclaimer”> NOTICE & DISCLAIMER: This website is intended for informational purposes ONLY. Information contained on this site is not legal advice and is not a substitute for legal counsel. No attorney-client relationship is formed by visiting or using this website. Should you choose to contact Santarlas Law, please be advised that no attorney-client relationship is created unless and until a written retainer agreement is signed by both you and Santarlas Law.</div>
    <!– ####### END SOCKET CONTAINER ####### –>
    </footer>

    #955547

    Hey Shiv722,

    In the code you sent you have opened two divs but only closed one of them.

    Best regards,
    Rikard

    #968171
    This reply has been marked as private.
    #968725

    Hi,

    You have double quotation marks around the class in the div you added, try to only use one of each side.

    class="custom_disclaimer"

    Then you can add this to Quick CSS:

    .custom_disclaimer {
        width: 1210px;
        margin: 0 auto;
    }

    Best regards,
    Rikard

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