Tagged: Code block
Hi Enfold Support Team,
Thank you for the awesome theme and framework!
I’ve embedded a js embed script from another site as a code block and for some reason when the code is rendered on the page an extra column of cells is added and the search box is not centered. Is there any way to fix this?
Thanks!
Hey!
Try adding this code to the Quick CSS:
.myzmanimwidgetstyle td {
padding: 0;
border: 0;
}
.myzmanimwidgetstyle input[type="text"] {
margin: 10px auto !important;
}
Cheers!
Josue
Okay, it seems the the Quick CSS fixed the column issue, but for some reason the border is missing (or not displaying) on the right and bottom sides. Would it be possible to fix this (or to force the size of the whole embed widget to display smaller) to make it fit nicer?
Shalom!
Please add following code to Quick CSS as well
.myzmanimwidgetstyle tr:first-child th, .myzmanimwidgetstyle tr:first-child td {
border-right: 1px solid;
border-bottom: 1px solid;
}
Best regards,
Yigit
Shalom Yigit!
That seems to have solved 3/4 of the problem, but for some reason the bottom 1/4 is still missing a border on the right and bottom sides.
Thanks!
Hey!
Try adding this:
.myzmanimwidgetstyle tr th, .myzmanimwidgetstyle tr td {
border-right: 1px solid !important;
border-bottom: 1px solid !important;
}
Cheers!
Josue
Awesome; thanks Josue and Yigit!