You have no items in your shopping cart.

Monday, June 1, 2020 10:23:43 AM

Style 'Read more'-button

Posted: 8 days 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: https://josephiena.nl/NL/vierkanten-stencil
We would like to have it look like https://josephiena.nl/NL/blog, 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?
Avatar

Posted: 6 days ago

#11153 Quote

Support

Posted: 6 days ago

#11153 Quote
Open this file 'AutomaticRelatedProducts.cshtml'
and check it

Example

                    <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>
                        </div>
                    </div>

Posted: 6 days ago

#11155 Quote
Thanks again.

Using your suggestion I could customize the widget.

Powered by nopCommerce

Copyright © 2019 FoxNetSoft. All rights reserved