Home › Toolset Professional Support › [Resolved] Content sitting in the right column
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 9:00 – 12:00 | 9:00 – 12:00 | 9:00 – 12:00 | 9:00 – 12:00 | 9:00 – 12:00 | - |
- | 13:00 – 18:00 | 13:00 – 18:00 | 13:00 – 18:00 | 14:00 – 18:00 | 13:00 – 18:00 | - |
Supporter timezone: America/Jamaica (GMT-05:00)
Tagged: Views plugin
This topic contains 4 replies, has 2 voices.
Last updated by Shane 4 years, 11 months ago.
Assisted by: Shane.
I have build a post type called directory listing and a content template for it called directory listing but the content is sitting in the right column where the widgets go.
hidden link
I also did the same for the machine which is working fine but all the other content templates are displaying this behaviour.
hidden link
Hi Richard,
Thank you for getting in touch.
Were you able to resolve this issue ? As when I checked the page i'm no longer able to see it.
The columns are displaying fine.
Thanks,
Shane
Hi, Shane, this is the code I am using in the content template for the directory listing and all the other content templates which is the 2 even columns bootstrap grid. It works just fine for the machine but every other content template is throwing the content into the right widget area.
I inspected with firebug and I have found that row is using display: flex; but if I change it to display: inline-flex; it solves the problem. What I can't understand is why it works for the machine content template and not for any of the other content templates.
.row {
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
margin-right: -15px;
margin-left: -15px;
}
Directory Listing Content Template
<div class="row">
<div class="col-md-6">
[types field='directory-profile-image' title='%%TITLE%%' alt='%%ALT%%' size='medium' resize='proportional'][/types]
</div>
<div class="col-md-6">
[types field='directory-about'][/types]
</div>
</div>
Machine Template Content Template
[wpv-post-link class="machine-title"]
<div class="row">
<div class="col-md-6">
[types field='images' title='%%TITLE%%' alt='%%ALT%%' size='large' resize='proportional' separator=', '][/types]
<label class="labels">Model:</label>[types field='model'][/types]
<label class="labels">Model Year:</label>[types field='model-year' style='text' format='d/m/y'][/types]<br>
<label class="labels">Manufacturer:</label>[types field='manufacturer'][/types]
<label class="labels">Condition:</label>[types field='machine-condition'][/types]
<label class="labels">Status:</label>[types field='status'][/types]
<label class="labels">Province:</label>[types field='province'][/types]
<label class="labels">City/Town:</label>[types field='city-town'][/types]
</div>
<div class="col-md-6">
[types field='description' class="template-description"][/types]<br>
<div class="template-category"> <label class="labels">Category:</label>[types field='machine-category'][/types]></div>
<div class="template-child-category">[types field='ancilliary-equipment'][/types]</div>
<div class="template-child-category">[types field='blown-film-lines' class="template-child-category"][/types]</div>
<div class="template-child-category">[types field='blow-moulding-machines' class="template-child-category"][/types]</div>
<div class="template-child-category">[types field='extrusion-lines' class="template-child-category"][/types]</div>
<div class="template-child-category">[types field='film-dies' class="template-child-category"][/types]</div>
<div class="template-child-category">[types field='injection-moulding-machines' class="template-child-category"][/types]</div>
<div class="template-child-category">[types field='moulds' class="template-child-category"][/types]</div>
<div class="template-child-category">[types field='recycled-materials' class="template-child-category"][/types]</div>
<div class="template-child-category">[types field='thermo-forming-machines' class="template-child-category"][/types]</div><br>
<div class="template-child-category">[types field='add-youtube-video' width='100%' height='500px'][/types]
</div>
</div>
[tabby title="Machine Specifications"]
[wpv-conditional if="( $(wpcf-servo-or-standard) ne '' )"]<label class="labels">Servo or Stnadard:</label>[types field='servo-or-standard'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-dbtb) ne '' )"]<label class="labels">DBTB:</label>[types field='dbtb'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-screw-size) ne '' )"]<label class="labels">Screw Size:</label>[types field='screw-size'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-shot-weight-ps) ne '' )"]<label class="labels">Shot Weight PS:</label>[types field='shot-weight-ps'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-minimum-opening) ne '' )"]<label class="labels">Minimum Opening:</label>[types field='minimum-opening'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-maximum-opening) ne '' )"]<label class="labels">Maximum Opening:</label>[types field='maximum-opening'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-output-size-kw) ne '' )"]<label class="labels">Output Size kW:</label>[types field='output-size-kw'][/types]<span>kW</span>[/wpv-conditional]
[wpv-conditional if="( $(wpcf-draw-depth) ne '' )"]<label class="labels">Draw Depth:</label>[types field='draw-depth'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-material-thickness) ne '' )"]<label class="labels">Material-Thickness:</label>[types field='material-thickness'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-materials-used) ne '' )"]<label class="labels">Material-Used:</label>[types field='materials-used' separator='|'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-bed-size) ne '' )"]<label class="labels">Bed Size:</label>[types field='bed-size'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-semi-auto-fully-auto) ne '' )"]<label class="labels">Semi-auto /Fully-auto:</label>[types field='semi-auto-fully-auto'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-l) ne '' )"]<label class="labels">L:</label>[types field='l'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-bottles-per-hour) ne '' )"]<label class="labels">Bottles Per Hour:</label>[types field='bottles-per-hour'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-volume-size) ne '' )"]<label class="labels">Volume Size:</label>[types field='volume-size'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-gas-or-fuel) ne '' )"]<label class="labels">Gas or Fuel:</label>[types field='gas-or-fuel'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-drum-size) ne '' )"]<label class="labels">Drum Size:</label>[types field='drum-size'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-rock-and-roll-type) ne '' )"]<label class="labels">Rock and Roll Type:</label>[types field='rock-and-roll-type'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-processing-material) ne '' )"]<label class="labels">Processing Material:</label>[types field='processing-material' separator='|'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-single-double) ne '' )"]<label class="labels">Single Double:</label>[types field='single-double'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-conical-or-parallel) ne '' )"]<label class="labels">Conical or Parallel:</label>[types field='conical-or-parallel'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-motor-size-kw) ne '' )"]<label class="labels">Motor Size kW:</label>[types field='motor-size-kw'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-recycling-type) ne '' )"]<label class="labels">Type:</label>[types field='recycling-type'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-output-per-hour-kgs) en '' )"]<label class="labels">Output Per Hour kgs:</label>[types field='output-per-hour-kgs'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-materials) ne '' )"]<label class="labels">Materials:</label>[types field='materials' separator='|'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-mesh-size) ne '' )"]<label class="labels">Mesh Size:</label>[types field='mesh-size'][/types][/wpv-conditional]
[wpv-conditional if="('1' ne '1')"]<label class="labels">Meters Per Hour:</label>[types field='meters-per-hour'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-profile-die-type) ne '' )"]<label class="labels">Type:</label>[types field='profile-die-type'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-material-type) ne '' )"]<label class="labels">Material Type:</label>[types field='material-type'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-die-size) ne '' )"]<label class="labels">Die Size:</label>[types field='die-size'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-colour) ne '' )"]<label class="labels">Colour:</label>[types field='colour'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-material-condition) ne '' )"]<label class="labels">Material Condition:</label>[types field='material-condition'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-bottle-shape) ne '' )"]<label class="labels">Bottle Shape:</label>[types field='bottle-shape' title='%%TITLE%%' alt='%%ALT%%' size='medium' resize='proportional'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-size) ne '' )"]<label class="labels">Material Condition:</label>[types field='size'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-article-type) ne '' )"]<label class="labels">Article Type:</label>[types field='article-type'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-length) ne '' )"]<label class="labels">Length:</label>[types field='length'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-width) ne '' )"]<label class="labels">Width:</label>[types field='width'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-height) ne '' )"]<label class="labels">Height:</label>[types field='height'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-product-shot-weight) ne '' )"]<label class="labels">Product Shot Weight:</label>[types field='product-shot-weight'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-amounts-of-shots-made) ne '' )"]<label class="labels">Amounts of Shots Made:</label>[types field='amounts-of-shots-made'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-throat-size) ne '' )"]<label class="labels">Throat Size:</label>[types field='throat-size'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-motor-kw) ne '' )"]<label class="labels">Motor kW:</label>[types field='motor-kw'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-total-blades) ne '' )"]<label class="labels">Total Blades:</label>[types field='total-blades'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-blade-configuration) ne '' )"]<label class="labels">Blade Configuration:</label>[types field='blade-configuration'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-forming-size) ne '' )"]<label class="labels">Forming Size:</label>[types field='forming-size'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-filling-capacity) ne '' )"]<label class="labels">Filling Capacity:</label>[types field='filling-capacity'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-amount-of-heads) ne '' )"]<label class="labels">Amount of Heads:</label>[types field='amount-of-heads'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-l-per-hour) ne '' )"]<label class="labels">L Per Hour:</label>[types field='l-per-hour'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-carbonation-unit) ne '' )"]<label class="labels">Carbonation Unit:</label>[types field='carbonation-unit'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-bottle-size-capacity) ne '' )"]<label class="labels">Bottle Size Capacity:</label>[types field='bottle-size-capacity'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-gravity-feed) ne '' )"]<label class="labels">Gravity Feed:</label>[types field='gravity-feed'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-screw-diameter) ne '' )"]<label class="labels">Screw Diameter:</label>[types field='screw-diameter'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-rotation) ne '' )"]<label class="labels">Rotation:</label>[types field='rotation'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-maximum-micron-thickness) ne '' )"]<label class="labels">Maximum Micron Thickness:</label>[types field='maximum-micron-thickness'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-minimum-micron-thickness) ne '' )"]<label class="labels">Minimum Micron Thickness:</label>[types field='minimum-micron-thickness'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-lay-flat-width) ne '' )"]<label class="labels">Lay Flat Width:</label>[types field='lay-flat-width'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-tower-height) ne '' )"]<label class="labels">Tower Height:</label>[types field='tower-height'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-nip-width) ne '' )"]<label class="labels">Nip Width:</label>[types field='nip-width'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-windup-rollers) ne '' )"]<label class="labels">Windup Rollers:</label>[types field='windup-rollers'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-nbr-of-heads) ne '' )"]<label class="labels">Nbr of heads:</label>[types field='nbr-of-heads'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-nbr-stations) ne '' )"]<label class="labels">Nbr Stations:</label>[types field='nbr-stations'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-bottle-blowing-volume) ne '' )"]<label class="labels">Bottle Blowing Volume:</label>[types field='bottle-blowing-volume'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-parison-control) ne '' )"]<label class="labels">Parison Control:</label>[types field='parison-control'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-side-seal) ne '' )"]<label class="labels">Side Seal:</label>[types field='side-seal'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-bottom-seal) ne '' )"]<label class="labels">Bottom Seal:</label>[types field='bottom-seal'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-product-width) ne '' )"]<label class="labels">Product Width:</label>[types field='product-width'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-product-length) ne '' )"]<label class="labels">Product Length:</label>[types field='product-length'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-other) ne '' )"]<label class="labels">Other:</label>[types field='other' class="other"][/types][/wpv-conditional]
[tabby title="Documents"]
[types field='upload-document' title='View Domument' class='document'][/types]<br>
[tabbyending]
Hi Richard,
Seems you might be using some custom css that is breaking the container.
Our Views or content templates shouldn't break outside of your theme's content container unless some custom code is being applied.
If possible could you remove any custom css that is added to the site for these content templates and see if the issue still remains.
Thanks,
Shane