Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #481789

    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!

    #482437

    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

    #482475

    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?

    #482829

    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

    #483064

    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!

    #483107

    Hey!

    Try adding this:

    .myzmanimwidgetstyle  tr th, .myzmanimwidgetstyle  tr td {
        border-right: 1px solid !important;
        border-bottom: 1px solid !important;
    }
     

    Cheers!
    Josue

    #490552

    Awesome; thanks Josue and Yigit!

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Code Box / JS Embed Code Not Displaying Correctly’ is closed to new replies.