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” ?
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!
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!
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
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!
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?
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!
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 “{}”?
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.
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!!!
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.