Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
867 views

Using different background images for desktop/mobile display on blocks - widgets

I created a block and a widget in magento 2.4 page top to display as a banner promotion, but i want a different display for desktops and different for mobile. what i have tried: <div style="...
Frank Tobi's user avatar
6 votes
1 answer
363 views

In Magento 2, what is the best practice for loading some CSS for a custom widget, so that the stylesheet only loads when the widget is present?

I have created a Magento 2 widget that displays a list of categories, similar to the one shown in this guide. The widget outputs the correct HTML, so now I need to add some styling to it to make it ...
Eric Seastrand's user avatar
1 vote
0 answers
399 views

How to style recently viewed products horizontally [closed]

I've just recently moved my recently viewed products to just below my product detail page and above the header. However, the items show up vertical and I'd like them to be horizontal. Is there a ...
magin's user avatar
  • 515
0 votes
1 answer
1k views

Add to Cart overlapping Product Price - How to fix? (Magento Product List Widget) [closed]

This is regarding a default MAGENTO WIDGET - "Add to Cart" is overlapping price. I edited Styles.css, but it only changed Category Page Product Positioning. Need to know which file to edit to ...
JasonC91's user avatar
  • 144