You have no items in your shopping cart.

Monday, October 3, 2022 10:17:40 AM

Style 'Read more'-button

Posted: 2 years ago

#11151 Quote

We use your great plugin and we like to style the 'Read-more' button (translated as Lees meer) on the 'Blog posts about this product'-list to look more like the 'Read-more'-button used in the blog post list.
Your button has no background:
We would like to have it look like, meaning a blue background, with white text.
This can be done by adding the classes 'btn waves-effect waves-light', but how can I do that?

Posted: 2 years ago

#11153 Quote


Posted: 2 years ago

#11153 Quote

Open this file 'AutomaticRelatedProducts.cshtml'
and check it


                    <div class="blog-details">
                        <div class="buttons">
                            @if (item.AllowComments)
                                <a href="@Url.RouteUrl("BlogPost", new {SeName = item.SeName})#comments" class="read-comments">@string.Format(T("Blog.CommentsLink").Text, item.NumberOfComments)</a>
                            <a href="@Url.RouteUrl("BlogPost", new {SeName = item.SeName})" class="read-more">@T("Blog.MoreInfo")</a>

Posted: 2 years ago

#11155 Quote

Thanks again.

Using your suggestion I could customize the widget.

Powered by nopCommerce

Copyright © 2019 FoxNetSoft. All rights reserved