monicaamb Posted November 9, 2022 Share Posted November 9, 2022 (edited) I would like to modify the position of the "Out of Stock" text so that it can be read. For example, put it above the little stars. I have done it with CSS and it is okay, the problem is that I don't know how to put it in the different mobile resolutions. Another problem is that any change you make with CSS is also reflected on the product page: Edited November 9, 2022 by monicaamb (see edit history) Link to comment Share on other sites More sharing options...
QuickUpdate.net Posted November 11, 2022 Share Posted November 11, 2022 don't know your situation exactly but you should use a CSS class specifically for the product page as for mobile resolutions there are probably @media rules for specific mobile widths that you need to modify 1 Link to comment Share on other sites More sharing options...
monicaamb Posted November 11, 2022 Author Share Posted November 11, 2022 3 hours ago, QuickUpdate.net said: don't know your situation exactly but you should use a CSS class specifically for the product page as for mobile resolutions there are probably @media rules for specific mobile widths that you need to modify Thank you for the reply. I am customing in that way. Do you know how to indicate a specif width in media query? I mean, for example, a css class for Iphone and other for Iphone 4. Link to comment Share on other sites More sharing options...
QuickUpdate.net Posted November 13, 2022 Share Posted November 13, 2022 The definition for media query width is: @media (min-width: 576px) { css rules here } But you need to know the specific width of the devices you want to define and insert media query for each width. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now