Removing category titles from pages
-
I would like to remove the words ‘archivi : categoria & name of category’, that appears in my page (category) battiti, and that also appears when i select something in my secondary menu (ex. When i select ‘primi’)
For the moment i have used:
.type-page .entry-title {
display: none;
}
To remove the name of the page. I am happy with this, but i would like also to remove the other titlesThe blog I need help with is ricettedelcuore.com.
The blog I need help with is: (visible only to logged in users)
-
This will remove the “Archivi categoria:” text from page titles on category pages in the Oxygen theme:
.category .page-title { visibility: hidden; } .category .page-title span { float:left; visibility: visible; } -
Hi!
I have tried.. But it was not working..I have just received the solution in the costum forum… Where i have had wrongly posted the question.
https://en.forums.wordpress.com/topic/removing-titleswords-archivi-categoria?replies=12#post-1166485%23postformThnk’s anyway…
-
The example I posted will work. It appears you have this CSS which will remove the entire page title on category pages:
.page-title { display: none }If you removed that, the example from above would work. Or if you want to keep that rule, you could add “display: block;” to my previous example and that would also work. Here is an adjusted version:
.category .page-title { display: block; visibility: hidden; } .category .page-title span { float:left; visibility: visible; } -
Yes! You are right. It works percectly.
With this code i am able to remove words like category and to see the name of the category at the top of my post, that is what i asked.By chance i used the other commands, that erase also the name of the category, and at the end, i changed my mind, and i prefer this latest solution.
Anyway i am having some problems with the code i am using:
#post-1 .entry-title {
display: none;
}In fact, i added this page:
http://ricettedelcuore.com/battiti/And no i have no idea of the #post! As i want to remove category name also from this page.
-
I checked http://ricettedelcuore.com/battiti/ and I currently see the title shown as “BATTITI” for that page. Saying it’s a category name is a little confusing (to me, because I see it as a title in this case and not a category), and I think you’re saying you want to hide the page title for just that page only.
If that’s correct, go to http://ricettedelcuore.com/battiti/ and view the page source, find the body tag in the HTML and tell me what you see listed for classes there.
If that’s not correct, try being even more specific in your help requests. For example: on this page only http://ricettedelcuore.com/battiti/ I want to hide the “BATTITI” title that appears at the top.
-
Yes. I want to remove the word ‘battiti’ from that page!
But i haven’t understood what i have to do.I have had the same problem for
http://ricettedelcuore.com/ricette/
Where i used
#post-1 .entry-title {
display: none;
}
To solve my problem. -
First go to http://ricettedelcuore.com/battiti/ , view the page source, find the body tag in the HTML and pick one of those classes to use. Then follow the instructions from above.
- The topic ‘Removing category titles from pages’ is closed to new replies.