How do I get rid of the read more button for portfolio items?
Remove Read More button on Portfolio Items.
10 posts from 4 voices-
Posted 1 year ago #
-
Hey,
you can remove them in includes/loop-portfolio.php - search for following code and remove it:echo '<a class="more-link" href="'. get_permalink().'">'.__('Read more','avia_framework').'</a>';Posted 1 year ago # -
I'm not able to locate the loop-portfolio.php page in the includes folder. Has the name or location changed? I'd also like to remove the titles that show up underneath the thumbnails. Can this be done?
Posted 1 year ago # -
Hey,
the loop-portfolio.php file for Brightbox can still be found in brightbox\includes\.
On line 56 you'll find the line, as Dude commented.
echo '<a class="more-link" href="'. get_permalink().'">'.__('Read more','avia_framework').'</a>';To hide the titles you can add this to your Quick CSS or custom.css
.template-portfolio-overview .post-title{display:none;}OR you can remove this from your loop-portfolio.php, on line 46
echo "<h1 class='post-title'><a href='".get_permalink()."' rel='bookmark' title='".__('Permanent Link:','avia_framework')." ".get_the_title()."'>".get_the_title()."</a></h1>";I hope this helps :)
Cheers,
ChrisPosted 1 year ago # -
I'm a little confused. I'm using the Clean Cut theme and I can't find anything about Brightbox in my theme. All I need to do is supress the "read more" buttons. The titles are fine.
Posted 1 year ago # -
Sorry, I should have added a link to my test site as this would clarify what I'm using. My bad.
http://test.singularsoftware.com/video-tutorials-pluraleyes/
Posted 1 year ago # -
Hey,
That's because you've posted in a topic regarding the Brightbox theme, we didn't know.
A quick solution to hide the links is to add this to the bottom your style1.css located in the css folder.
.page-template-template_portfolio-php .more-link{display:none;}Let us know if this works for you :)
Cheers,
ChrisPosted 1 year ago # -
Sorry for posting in the wrong area.
It worked for one of the portfolio pages: http://test.singularsoftware.com/video-tutorials-pluraleyes/
The read more links are still showing for two other portfolio pages in spite of clearing my cache:
http://test.singularsoftware.com/video-tutorials-dualeyes/
http://test.singularsoftware.com/video-tutorials-presto/Any thoughts?
Posted 1 year ago # -
Hey,
you can try this instead of the previous, it should cover everything portfolio related.
.portfolio .more-link { display: none; }I hope this helps :)
Regards,
ChrisPosted 1 year ago # -
Thanks, that worked perfectly.
Posted 1 year ago #
Topic Closed
This topic has been closed to new replies.














