Tagged: Code Wrapper Element
I am using Enfold. Can you please provide with with an end-to-end example of how to use the “Code Wrapper Element”. I’ve tried it and can’t seem to get it working.
Thanks
Hey!
The Code Element has different uses, can you detail what exactly you want to achieve?
Cheers!
Josue
Hi Josue,
Let’s say I am using a code block to embed something, and I want to add a 10px padding to the left side of that something.
Thanks
-mark
Hi!
You can wrap your code inside a DIV element with a custom class as following
<div class="left-padding">your code goes here</div>
and then add following code to Quick CSS in Enfold theme options under General Styling tab
.left-padding { padding-left: 10px; }
Best regards,
Yigit
How about if the code is for a clock and I want to centre the clock on the page? How would I do that?
Hi,
Can you post a link to the clock/page please? We need to check the code first.
Best regards,
Dude