-
-
Hi
I have seen a few posts about this but none of them have worked for me.
I want the portfolio in a grid (on the page ‘works’) with the name of the project underneath it, with no slug-name. I don’t know why the slug name even appears, doesn’t make much sense to me. I have categories such as social-housing (ie, two words) and therefore it just looks weird and incorrectly spelt.
I tried the CSS
.portfolio-item.basic .show_text h6 {display: none !important;}
But this gets rid of the white background around the text, which I really like. The slug name disappears but so does the white background.
How can I make it so that the white background is still there, and ONLY the portfolio-category slug-name disappears??
Many thanks
Rob
-
Hello,
I can not access your site as it is password protected. It is true that this code does removes the white background as well. If you do not want to loose it, then you will have to edit the file responsible for it. But keep in mind that this is a edit you will have to do for every theme update.
Go to file includes\view\portfolio\loop-grid.php and find this line:
<h6><?php echo esc_html($sort_classes) ?></h6>
Replace with this:
<h6><?php echo " " ?></h6>
Let us know.Best regards!
-
Hi
I tried this but it didn’t work unfortunately.
I replaced this code for two lines.
The password is 4sdb
Any other ideas?
Thanks
Rob -
Hello,
This is the responsible code to edit. Go to file includes\view\portfolio\loop-masonry.php and do the same replacement. If still no luck, send us your wp credentials in a private reply. So we can do it for you.
Best regards!
-
Hi,
Nope, none of these work. I will send you my details.
thanks
Rob
-
-
Hello,
You had overwritten the responsible file in your child theme and did not make the needed edit in it. I edited loop-grid.php file in your child theme and now it’s ok. Please check your site. Let us know if you need further help.
Best regards!
-
-
You must be logged in to reply to this topic.