Tagged: Code block
Hi guys,
I installed the following code, and got this result:
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
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
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
Hey Yigit,
perfect – thanks!
Have a great weekend!
Best regards,
Andreas