How to remove Archive:Portfolio
-
I am wondering how to remove the title Archive:Portfolio on my portfolio section. I want it to say Portfolio but without the word Archive.
This is the link to it https://graysoncasselman.ca/portfolio/
The blog I need help with is: (visible only to logged in users)
-
Hi there,
Did you know you can get help with questions like these via live chat support?
https://wordpress.com/help/contact
That said, you can do this using this code:
/* Remove "Archives:" from Portfolio archive page title */ .post-type-archive-jetpack-portfolio h1.page-title { font-size:0px; } .post-type-archive-jetpack-portfolio h1.page-title::before { content: "Portfolio"; font-size: 22px; } -
This worked but it took out the word Portfolio as well. What do I need to change in the CSS to put back the word Portfolio but keep out the word Archive? Thank you!
-
It looks like you have not pasted the code correctly. Have a look at the second part of the code @kokkieh gave you:
.post-type-archive-jetpack-portfolio h1.page-title::before { content: "Portfolio"; font-size: 22px; }In your code, the word Portfolio is not there. Replace this part of the code and it should work fine :)
- The topic ‘How to remove Archive:Portfolio’ is closed to new replies.