Post Settings

Posted in: Newspaper
Post count: 41

On posts it allows me to turn on and off the “related articles” section at the bottom of the post, but not an option to remove “More from Author”.

How do I only show “Related articles” ?

Post count: 23312

Hi,

In order to remove more from author you can use 2 methods:
The css method:

.td_block_related_posts .td-related-right {
display:none;
}

or you can edit the theme files: comment out or delete this part: http://screencast.com/t/Okmq7lxTDzGd

Another useful method might be to create your own single post template with the Cloud Template Library, without adding the More from Author section. It’s a separate element in the Cloud.

I hope this helps.

Thank you!

Post count: 41

Thanks!

Post count: 51

Hello, this isn’t working anymore

Post count: 23312

Hi Azulita,

Provide your website URL so we can take a closer look at it.

Thank you!

Post count: 51

Hello, thank you, here it is : https://stephenkingfrance.fr

Post count: 23312

Hi,

The code works as expected. Try again and add the !important tag as you can see here -> https://www.screencast.com/t/f0pURWHTzv

Thank you!

Post count: 51

Hello, thank you but i don’t know how to use the css method, i used to edit the theme file

Post count: 23312

Hi Azulita,

Take your custom CSS code and place it in Theme panel -> Custom CSS area.

Thank you!

Post count: 51

It worked, thanks a lot !

Post count: 13

Hello,

We’ve tried the CSS code

.td_block_related_posts .td-related-right {
display: none !important;
}

but it doesn’t seem to work…
Please help.
https://miso-press.jp

Thanks,

Hinako

Post count: 35449

Hi,

From what i can see the code should work:
With out the code -> http://prntscr.com/piyrnt
With code -> http://prntscr.com/piys1d
The code need to be set in theme panel> Custom code> Custom css and please make sure that you clear all cache after that.

Thank you!

Post count: 13

Thanks for the reply.
We’ve done all that and it really doesn’t work for us…
It doesn’t do anything. Cache has been cleared. Many times to make sure.
What do you think is the problem?

https://prnt.sc/piz6y2

Post count: 35449

Hi,

Your code syntax is not good, please make sure that you close the {} for media -> http://prntscr.com/pj1s45 after that the code should work.

Thank you!

Post count: 13

I am so sorry but I don’t understand what “close the {} for media” means.
Thank you for the screenshot and everything, but What does “this { is not close” mean?
Those codes were copied from here and pasted in the custom CSS exactly as they were…
Should I delete the “{}”?

Post count: 11

You are missing one right-hand bracket } on line 38. For every left-hand bracket { that you open code with, you need to have a right-hand bracket } to close it. You have two open left-hand brackets (one on line 34 and one on line 35), but you only have one of the required right-hand brackets to close these two left-handed brackets.

Post count: 13

Thank you, SalsaMonkey2

I’m so sorry but I’m confused.
The code between lines 34-38 is actually working? I copied someone’s code from here on the forum to change the font size of the post titles on mobile devices. It’s worked and the font size changed… but the code is not correct?
And what about the code from lines 40-42? That’s definitely not working, I want to hide “More from author”. I need to “close the {} for media” , right? I know… but it seems closed to me.
If I copied the codes and paste them here, Can you possibly make them right and post here so that I can delete the wrong codes and paste the correct ones? Please?

lines 34-38


@media
(max-width:767px){
.td-post-header header .entry-title{
font-size:22px!important;
line-height:22px!important
}

lines 40-42

.td_block_related_posts .td-related-right {
display: none !important;
}

Thank you so much!!!

Post count: 11

The lack of a closing bracket } for the block of code you say is working, may be causing an issue with the block of code that follows it. Add the right bracket } at the end of line 38 and then see what is working at that point. It also looks like you may need a semicolon ; at the end of line 37.

Post count: 13

It worked! Thanks sooooo much!

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