Remvove 3rd Party Author Box from category pages

Posted in: Newspaper
Post count: 237

Hello

I am using a 3rd party plugin for my author boxes.

My current site http://www.technewsstage.com is only a STAGEING site of my current main live site http://www.techbusinessnews.com.au

I have found that within my category pages EG. https://www.technewsstage.com/category/stories/ the author box from my plugin is showing at the bottom for some reason and I am unable to find or work out how to remove this.

Can you assist. This should not be showing and does not show on my current live site

Can some CSS or something remove it?

Post count: 27744

Hello,

To hide the author box, you can use this custom code CSS -> https://i.imgur.com/ooeu4hq.png
#author-bio-box {
display: none;
}

This code needs to be set in Theme Panel -> Custom Code -> Custom CSS.

Thank you!

Post count: 237

Hello

I think you have not read my question correctly. Which is a little bit frustrating.

You have provided CSS that removes the 3rd party author box from “ALL PAGES”

As I have written. This author box is showing up in my “Category pages” It should not be showing in a page such as category/technology/

The CSS provided removes the author box from all pages on the site and no longer shows in my posts “Where they need to be”

1. Remove the 3rd party author box from category/technology/ page
2. Must still remain in my posts

Why would this box be showing in category pages anyway? It does not do this on my site site

Post count: 237

Please provide the CSS code that will apply to “all category pages only”

And so it “Will Not” apply it to my posts

Post count: 237

I have tried this css I found. To remove from category and keep on posts pages.

I found this info here but they are using different plugin
https://catchthemes.com/support-forum/topic/remove-simple-author-box-from-categories/

So I tried to use your CSS and added in the top suggested

#author-bio-box {
display: none;
}
.single-post .author-bio-box { display: block; }

It did not work. Still hidden from all pages. I want to show in my posts. But remove them showing in category pages.

I am urgent for this solution

Post count: 27744

Hello,

I’m sorry for the misunderstanding, but you didn’t specify this in the first reply.
So, if you want to display the author box only in the posts, then your code is correct, with a little tweaking, you need to use id, not class -> https://i.imgur.com/CSVCMhL.png
.single-post #author-bio-box
{
display: block;
}

and for category use this code
.category #author-bio-box {
display: none;
}

Thank you!

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