Hi,
I have a Rich text Field (field_2007) and a Details View (view_3495). The rich text field contains a link to an iframe which is displaying an html file stored on Box.com
The Field is displayed as the only field of that view and I would like to increase the width of the field. I have inspected the elements and tried many many options but it does not work, I basing my updates on the example provided by knack:
/* Change the view_1 to the key of your table view */ /* Change the field_1 to the key of the field of the column you want to set */ #view_1 th.field_1 { width: 100px; /* width in pixels */ }
Questions:
1.Since it is a details view I assume the field number is not needed?
2. which kn element should I refer to in the CSS to increase the width? And should I also refer to the length in the argument?
My HTML looks like this:
//*[@id="view_3495"]/div[2]
#view_3495 > div.kn-details-column.first > div
<div class="kn-details-group column-1">
<div class="kn-details-group-column" style="width: 545px;">
<table class="kn-label-left">
<tbody><tr class="field_2007"><td class="kn-value" colspan="2" style="padding-left: 0px;"><span style="padding-left: 0px;"><iframe src="https://app.box.com/embed/preview/wtskixnrkd0r6ps76im9n4icfz7wlygz?theme=dark" width="500" height="400" frameborder="0" allowfullscreen="" webkitallowfullscreen="" msallowfullscreen=""></iframe></span></td></tr>
</tbody></table>
</div>
</div>
My guess is this should work but it doesn't:
#view_3495 > div.kn-details-column.first > div > div {width:1000px;}
Thanks!