Close

Hover Effect on Product Item Box Image

DJB88
9 years ago
#8652 Quote
Avatar
  • 2
Referring to the circle that pops up over the image when hovering over a product box. What view controls what is displayed there? My short descriptions are far too long and get all jumbled up. I'd like that feature to only display the product title.

Thank you!
Peter.Zhekov
9 years ago
#8653 Quote
Avatar
  • Moderator
  • 104
Hi DJB88, What you need to do is to open the 'Product Box' view (which you can find in: "~Views\Shared\_ProductBox.cshtml") and in the markup just change the description model with the title model (in the following code replace the bold text with the one below that is bold and italic):


<div class="description-wrapper">
            <a class="description" href="@Url.RouteUrl("Product", new { SeName = Model.SeName })">
                @Html.Raw(Model.ShortDescription)
            </a>
        </div>



            @Model.Name
Regards,
Peter Zhekov
Nop-Templates.com
DJB88
9 years ago
#8655 Quote
Avatar
  • 2
Perfect. Thank you for the help!