I'm using Helix Ultimate and would like the 'read more' links to be buttons instead of text. Wondering if there's an easy way to do that by adding some custom CSS to the template in the template manager. I know other templates do it, but I like the free Helix Ultimate even though I have a paid subscription.
Read more button instead of text
Accepted answer
Marked as the solutionIf you are talking about the readmore text of the blog list page, then here is sample code, need to put in Custom CSS:
.article-list .article .readmore a{
display: inline-block;
margin: 10px 0 0;
font-size: 16px;
line-height: 20px;
padding: 4px 12px;
text-transform: lowercase;
color: #fff;
background: #f47d56;
}
Note: Path towards custom CSS:
Extensions>Templates>Styles>
Click on your current default template name then choose Template Options.
Then find custom CSS within the custom code.
Hope this helps!
Best Regards
6 more replies
Hi there!
Would you please give me your site URL here?
It will be easier for me then if I can provide some CSS.
Best Regards
Hi,
using custom CSS should take you ~ 3 min, if you know CSS of course.
.readmore { your-styles }
But to replace them from typical link to button tag requires a little more work to edit the php file altogether
Thanks y'all. That's exactly what I was looking for. I do know CSS and I can take it from here. Thanks again for the quick response.
You are always welcome:)
Hello,
I tried the piece of code and it does not work. Will it work in latest Helix? I need to add read more to article.
The butto is not active: https://user-images.githubusercontent.com/1296369/72349841-30083680-36d5-11ea-93c7-c998a764ff27.png
Thank you
Hi radek!
Thanks for your interest.
The code will still work in the latest Helix Ultimate template. It is for the 'read more' text after each article in category blog page.
However, if it doesn't work for you kindly post a new question with your own requirements and site links.
Best Regards