Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #377026

    Hi guys,

    I installed the following code, and got this result:

    code block
    What must I do to leave the code snippets?
    When I write without <> ,
    script language=”javascript” type=”text/javascript”> d21BookingFrame();</script
    then the code doesn’t work…

    Second question:

    How can I change the background color only for the code block? Im my case ist the color of the page red, the color of the titel white and I like only the background of the booking module in white too.

    Thanks for the help

    Best regards
    Andreas

    • This topic was modified 9 years, 10 months ago by a-l-p.
    #377144

    Hey a-l-p!

    Just paste the full code into the codeblock content section. You do not need to use the wrapper option. And make sure the “Escape HTML Code” is not checked (you currently have it checked in your screenshot).

    Regards,
    Elliott

    #377238
    This reply has been marked as private.
    #377459

    Hey!

    You can turn on custom CSS field for ALB elements ( http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ ) and give your code block element a custom CSS class and then add following code to Quick CSS in Enfold theme options under General Styling tab

    .your-custom-class { background-color: orange !important; }

    Best regards,
    Yigit

    #377564

    Hey Yigit,

    perfect – thanks!

    Have a great weekend!

    Best regards,
    Andreas

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Code Block problems / questions’ is closed to new replies.