Questions tagged [merge-css]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
4 views

Exclude CSS file from CSS Merge

I will really appreciate any guidance on how to exclude a CSS file from CSS merge on all pages. The closest post I found is: Magento 2 : Exclude CSS from merged file just for the homepage I purchased ...
user avatar
  • 1
0 votes
0 answers
21 views

Merge css issue in magento 2.4.2

I am using Magento 2.4.2. I am facing an issue while merging CSS. When I enable the Merge CSS setting in the backend https://prnt.sc/0Jjh3ELie7G2 , my site gets completely messed up https://prnt.sc/...
user avatar
0 votes
1 answer
137 views

Help!!!! Homepage is broke. Styles are all messed up but only on the homepage

I need help. Our site Front end home page is broke. I have rm -rf pub/static/* var/cache/* var/generation/* var/di/* var/view_preprocessed/* generated/*. Then I ran magento Commands. 1- set ...
user avatar
3 votes
1 answer
252 views

Defer merged css in Magento 2

I need to Defer merged css using JavaScript. Is there any possibilities to defer merged css. Example code i want to do. <noscript id="deferred-styles"> <link rel="...
user avatar
0 votes
1 answer
360 views

Magento 2.3 Merged css and js. When are files from pub/static/_cache supposed to be created?

I have a Magento 2.3.0 with js and css merging enabled. My first issue is with the fact that the docs say that this option only works in developer mode. This does not make any sense as the ...
user avatar
0 votes
1 answer
29 views

After merge css and js files are turned on, the files remain not contiguous

After turning on merge of css and js files in System > Configuration > Developer and clearing the cache, files are not merged The request numbers do not change
user avatar
  • 138
1 vote
3 answers
371 views

Why after deploying static content I'm receiving 404 to merged css?

I'm using Magento 2.3.3, after deploying some category pages are getting the wrong css, returning 404, I tried flushing the cache but it didn't work. How could I solve it?
user avatar
0 votes
1 answer
152 views

Magento 2.3.2: Minify and merge are not working in Production mode

I am using Magento 2.3.2 When I enabled production mode with Minify and Merge options for both CSS and JS only Minify is working. Js and CSS files are not merged. Did anyone came across the issue. I ...
user avatar
  • 113
0 votes
0 answers
29 views

Magento2 css js minify

A stylesheet doesn't load good after the merge and minifies CSS and js. Every CSS are explored! Used static-content deploy but not works.
user avatar
  • 701
0 votes
1 answer
25 views

Magento2.1 CSS/JS minify and merge

I just put merge and minify html css and js to yes in admin panel of magento2.1. I'm in production mode and clean and flush cache and indexer are reindex but still I see all css and js files in page ...
user avatar
  • 701
2 votes
1 answer
4k views

How do i remove unused css from magento 2 homepage?

I am not getting good performance when i audit my website with chroome lighthouse. I am getting few errors like - Remove unused CSS - Ensure Text Remain Visible during web front load - Minimize main ...
user avatar
1 vote
2 answers
511 views

Merge JS/CSS files

I'm trying to compress the code files on my magento 2 store. And so we wanted to use the Merge JS/CSS files in the magento 2 admin. We are not programmers, and we would like to not have to contact ...
user avatar
  • 15
2 votes
0 answers
371 views

Custom Css issue on deploying theme on magento 2.3.1

I m working on custom extension and I stumble across this The contents from the "/var/www/html/pub/static/frontend/Magento/blank/en_U S/ImaginationMedia_SocialOrder/css/orders/list.css" file can'...
user avatar
  • 173
1 vote
0 answers
125 views

Magento 2 Issue with JavaScript and CSS Merge

I have checked my site for speed and it was requesting 258 requests. I have merged all JavaScript and CSS files and again tested it but still 251 requests are there. While in view page source I can'...
user avatar
  • 1,454
0 votes
2 answers
2k views

Remove merged css and js from layout in magento2

I have enabled js and css merging and bundling from the configuration. we can remove particular js or css using below code. <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
user avatar
  • 1,840
3 votes
1 answer
114 views

Magento 2: Default mode not merged css

I enabled Default Store mode and merge css enabled after that, I have run all the commands from command line but still css not merged. Any one help me? Magento Version:2.2.4
user avatar
  • 1,471
1 vote
0 answers
198 views

CSS and JS merging options is not working on Magento 1.9.2.4

I am simply trying to enable the option of merging JS and CSS on configuration > system > developer and I have cleared the cache and even tried to delete the VAR folder and still having CSS and JS not ...
user avatar
  • 11
2 votes
0 answers
62 views

Magento 2 Merge CSS only works on homepage

I've configured Merge and Minify CSS and Javascript in Magento 2 config (Advanced > Developer). At the homepage, it does merge and minify. However, at all other pages, it does NOT merge CSS. (minify ...
user avatar
  • 43
3 votes
3 answers
15k views

Magento 2 : Merge and minify js and css

It appears that there is no longer a "Developer" tab in the Admin Configuration/Advanced tab in version 2.2.5 production mode. Although the documentation still indicates there is, I have seen a ...
user avatar
3 votes
0 answers
217 views

How to combine JS files in Magento 2.2.4

I am using Magento 2.2.4 and want to combine external JavaScript files but, In the admin section I didn't find the options for it under the Developer section.
user avatar
0 votes
0 answers
406 views

Several css files after merge

I see there are several CSS files loading on the page after Magento 2 merge. Is it possible to have only one merged CSS file? Any details how Magento 2 merge works appreciated. <link rel="...
user avatar
1 vote
2 answers
847 views

How to unhide Developer in Magento 2.2.2

Hi, I am not able to view developer in Store > Configuration > Advance > ??Developer?? is missing. What should we do to unhide the Developer section in Magento 2? I was looking for Minify Js and ...
user avatar
0 votes
1 answer
229 views

What are the pros and cons of activating JS/CSS merging? [closed]

I activated JS/CSS merging, which resulted in 75 less requests and 3-5 seconds faster page load. But the agency which works with my company claims that merging is a big error source and we should not ...
user avatar
  • 2,471
0 votes
0 answers
49 views

Original CSS not loading after adding custom CSS

My website is not loading CSS of colors and fonts. I'm using a customizable theme but after the day I've added custom CSS like ".brand{ overflow: hidden;} etc". Does doing this disconnected any ...
user avatar
  • 63
1 vote
0 answers
111 views

How to debug error "Unable to get content for ..."?

How to find error in this file? I can't find error and fix it. I has moved to production mode and merge all js/css file.
user avatar
1 vote
1 answer
439 views

Magento 2.1.9 - CSS files not being merged

I'm running Magento 2.1.9 on nginx 1.8.1 In Stores - Configuration - Advanced - Developer under CSS Settings I've selected: Merge CSS Files: yes Minify CSS Filey: no Then I'd flush my Magento cache. ...
user avatar
  • 577
1 vote
1 answer
3k views

How to undo bundling, merging, and minifying the JavaScript and CSS in Magento 2.1.x

I attempted to speed up my website by bundling, merging, and minifying the JavaScript and CSS through the Admin. Stores> Settings> Configuration> Advanced> and then Developer, and changed ...
user avatar
  • 167
0 votes
3 answers
845 views

Magento 2 CSS is not coming merged

I have enabled merging for javascript and css from my magento 2 store admin panel. But I can still see all the css coming unmerged in my view source. Javascript merge is working fine and coming merged....
user avatar
  • 371
0 votes
1 answer
127 views

Magento causing css issue after merging in safari

Magento merged css causes issue in safari browser and works well in other browser. Any one could give some idea? no error found in console. Without merging it is working well.
user avatar
  • 3,446
1 vote
1 answer
2k views

Magento : Do not want to Load Calendar CSS or Merge with All CSS Files

I am try to get rid of calendar.css file, because I don't use dates anywhere. When I set merge css files from admin, calendar file still loaded separately. I am just wondering, How can get rid of it ...
user avatar
  • 373
1 vote
1 answer
992 views

Magento2 - CSS merge not working at all

has anyone encountered this problem? Merge CSS is not working at all altough minifying does. I'm still in Developers mode, but it's also not working in Production mode. I tried: php bin/magento ...
user avatar
1 vote
1 answer
809 views

After Merge Js Admin panel menu not work?

I have merge recently css and js from magento backend. after this backend menu not work i got following error. Uncaught TypeError: Cannot read property 'length' of undefined I dont know what is ...
user avatar
  • 1,473
0 votes
1 answer
307 views

Custom JS is not merged into merged JS file

I added a custom JS file, that is located under the following: /skin/frontend/theme/theme/js/frontend.js But when I run a speedtest, that file is not compressed and loaded into the Magento merged JS ...
user avatar
  • 1,508
2 votes
3 answers
2k views

Magento 1.9: Merge CSS breaking frontend UI

Recently I tried enabling CSS merge inside System->Configuration->Developer But this is breaking complete UI in front end. ** It seems like CSS os having issues & I have to make CSS error ...
user avatar
  • 1,946
6 votes
2 answers
26k views

How do I disable merged CSS and JS

I merged CSS and/or JavaScript and my website is all messed up. How do I disable the CSS/JS merge functions? It's so messed up I can't access the Admin panel, how do I do it in the database?
user avatar
  • 7,573