Skip Navigation

[Resolved] Content not filling page body to right

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.

This topic contains 1 reply, has 2 voices.

Last updated by Minesh 5 years, 3 months ago.

Assigned support staff: Minesh.

Author
Posts
#407227
tips-template copy.jpg

This is a single post and not an archive, so I don't need looped view results. I would like to present the formatted content from its post type using types fields in content template. The data is parsed, but CSS width and inherit fonts are ignored. It presents very small <p> and <h2> and throws content to the first left 1/3 of the page on rendering.

No matter what I do, I can't figure out how to force it to fill the content area. I'm sure I'm missing a step or two. Is it critical to use Views with Content Template? Which comes first...Content template, then View or View, then Content template. I created the template and a view, but Views doesn't seem to not matter so I deleted the view and focused only on the content template. Of all my content types this content template has always been a problem. All other content templates of other types present correctly as styled.

I visited this URL: Can't find a related post

I expected to see: Fully filled unwrapped content body.

Instead, I got: Left 1/3 wrapped content with remaining 2/3 page empty.

BTW: Single post url renders with the post type's single slug followed by the title as it should. The formatting to full content body is the problem from Content Template. Sorry for the ramble.

#407321

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Obviously, view comes first as views queries data and uses content template (not required) to display the output.

I suggest you should go trough our views tutorial for content template:
https://toolset.com/documentation/user-guides/getting-started-views/part-1-content-template/
https://toolset.com/documentation/user-guides/getting-started-views/

If you are using layouts plugin you can style single page using "content template cell".
https://toolset.com/documentation/user-guides/content-template-cell/

You can format the View's loop output:
https://toolset.com/documentation/user-guides/digging-into-view-outputs/

You can also format the content template:
https://toolset.com/documentation/user-guides/view-templates/

You can also know the difference between views and content template:
https://toolset.com/faq/whats-the-difference-between-a-view-and-a-view-template/

I hope above information will help you to resolve your issue.