Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 81

Questions related to CSS in the context of Magento

19 votes

How to force flush CSS cache on client side?

You can use the OpenSource Module Aoe_JsCssTstamp which adds timestamp information to the merged CSS files. … Timestamps for plain (un-merged) CSS files are not yet supported however but this would be easy to implement. …
Alex's user avatar
  • 14k
1 vote

Why its adding version_no in js and css url in magento2?

This should actually not lead to a 404 error - you should check your .htaccess in pub/static/ - did you maybe accidentially delete it? As Salma Saiyad points out in the other answer's comment, this i …
Alex's user avatar
  • 14k
15 votes
2 answers
12k views

When merging CSS or JS, a new file is generated for each page type

We have a lot of small CSS and JS files and enabling merging seems to be a good choice. Many of the CSS and JS files are used on every page (home page, category page, product detail page). … Whenever we saw that a different merged file is loaded again on each page, even the contained CSS must be overlapping. How can we avoid this and reuse more data? …
Alex's user avatar
  • 14k
2 votes

Change CSS for navigation bar

Use the developer tools of Chrome to identify the CSS you want to change. Using the map files generated, you should be able to use to identify the LESS code causing the problem. … selector to overwrite the core CSS/LESS. …
Alex's user avatar
  • 14k
0 votes

Magento Inline small CSS

You could use the Google PageSpeed module which is available for different webservers and can do such kind of things on webserver level.
Alex's user avatar
  • 14k
29 votes
7 answers
28k views

Clear Theme/CSS Cache in Magento 2

When I am theming a Magento 2 store, what is the suggested way to clean the caches? I edit the .less files and then I currently do rm -rf pub/static/frontend/* var/view_preprocessed/ var/*cache/* …
Alex's user avatar
  • 14k