You have no items in your shopping cart.

Thursday, November 21, 2024 1:39:33 PM

Style 'Read more'-button

Posted: 4 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: 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?

Posted: 4 years ago

#11153 Quote

Support

Posted: 4 years 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: 4 years ago

#11155 Quote
Thanks again.

Using your suggestion I could customize the widget.

Powered by nopCommerce

Copyright © 2023 FoxNetSoft. All rights reserved