Post Template

Posted in: Newspaper
Post count: 249

Can you make a post template like style 5 but without the width, ie. without a feature image?

Or perhaps tell me how to do it?

Post count: 388

I’m confused – style 5 already has no featured image. If you mean you want to have no feature image, and have the text be beside the sidebar instead of over it, you could use style 1 and not set a featured image.

If that solution isn’t appealling, hopefully official support can walk you through making a new template. 🙂

Post count: 249

I still want a featured image for when articles are posted to social media. The only thing I want to change about style 5 is the text be beside the sidebar instead of over it. I’d rather make alterations to style 5 as style 1 is fine.

Post count: 6600

Hi,

Please replace the content from this file: http://screencast.com/t/epk1ALdbS … with this code: http://pastebin.com/4FvcK9e2
Also go to single_template_5.php file and remove this code: http://screencast.com/t/MUkR8Bl1pt
Should get this result: http://screencast.com/t/nWqlfXZcsQq6

Thanks

Post count: 249

I have managed to do the above. Sorry it’s taken me ages but I’ve had loads of other things going on recently.

I do have further alterations to make… I would like the title to be the same size as the other posts, it seems a little bigger to me.

Another issue is that a line of text is now misplaced, see screenshot: http://take.ms/e9996

To view the problem live, just visit: http://snowwatch.org.uk/corporate/join-editorial-team

Post count: 6600

Hi,

You can correct this via custom css, like this: http://screencast.com/t/qaYQ0NUGK
Please use this in custom css field:

.td-post-text-content p {
margin-bottom: 15px;
}

.single_template_5 .post header .entry-title {
margin: 0px;
line-height: 40px;
font-size: 34px;
font-weight: normal;
}

Thanks

Post count: 249

Still not working despite using the CSS: http://take.ms/NTP4n

The first line of the text is misplaced.

Post count: 6600

Hi,

Sorry about that, please remove the css I have gave you above and use just this: http://screencast.com/t/T4QYotDDwOl
Should solve this issue, please let me know if it doesn’t and send me an example so I can inspect it.
Use it like this:

.single_template_5 .td-post-content header {
margin-bottom: 10px;
}

Thanks

Post count: 249

Great! That worked perfectly.

Thanks Lucian.

Post count: 249

Hi,

I know it’s been awhile since I last posted into this thread but I have noticed something else…

How can I move these: http://take.ms/fSwlF back to the normal position?

Post count: 555

You can turn them off in the theme settings,just look in the posting settings when you get there…

Post count: 249

I don’t want to turn them off. Just wanna move them 🙂

Post count: 6600

Hi,

Use this css to have them like this: http://screencast.com/t/X5fjtw6mW

.single_template_5 header .entry-comments-views {
right: 400px;
}

Thanks

Post count: 249

I have noticed that the sidebar isn’t in the usual position for style 5. How can I correct this with CSS or any other way? Screenshot: http://take.ms/uPyHu

Site URL: http://snowwatch.org.uk/weather/will-it-snow

  • This reply was modified 11 years by Daniel Finch. Reason: Add Site URL
Post count: 6600

Hi,

Not sure what your issue is as I have checked your site and the sidebar look fine: http://screencast.com/t/U38Kz0hRK please provide more details about this.
If you refer to the fact that the sidebar is a bit down, that is because of the post style 5 template which you use and because the title isn’t filling the whole container and looks like it dose in your case.

Thanks

Post count: 249

I want it like other styles but without the main image. Everything else the same. I would like the sidebar to be at the top. Hope that makes things clearer.

Post count: 6600

Hi,

You can set the post to the post template 1 then use this custom css to hide the featured image on post page using this css: http://screencast.com/t/QipVGOP52

.single_template_1 .td-post-featured-image {
display: none;
}

Thanks

Post count: 249

I don’t want to do that. I have already customised style 5 a lot and just want to edit the sidebar for that style so that it’s right at the top. http://take.ms/9xGP3

Post count: 3343

Hi,
The style 5 is with full width header, like you see here: http://screencast.com/t/8KwztztV and if you rise the sidebar you risk to overlapping the title with sidebar.

Why you choose to modify style 5 that is with full width title and now you don’t want full title to have the sidebar on top?

If you want to make the title to be inside the content make this changes: http://screencast.com/t/TecKx1ZR

Post count: 249

I have made the changes however the view counter isn’t where I want it. See here: http://take.ms/LG40j

See code: http://take.ms/q5jMB

See Website: http://take.ms/82wAu

Post count: 249

Basically, I want Style 5 the same as the default but without the featured image (it can still be present but not visible in the post) I have already set custom CSS on some styles which is why I would like it done this way.

Post count: 6600

Hi,

I have checked your site and found that you have it like you want it now: http://screencast.com/t/wbRt9DjYn1
Please also make sure that you empty cache after you change something.

Thanks

Post count: 249

No I have undone the code which Marius suggested because it displaced the counter for comments and views and didn’t correct the original issue. I’ll explain the issue again… See this image: http://take.ms/dJ1GM

Post count: 6600

Hi,

The solution provided by Marius works just like you need it to, just make sure you do exactly as instructed in that screenshot, I have also tested this and worked fine: http://screencast.com/t/VNIqwhf7

Thanks

Viewing 24 posts - 1 through 24 (of 24 total)
The forum ‘Newspaper’ is closed to new topics and replies.