Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [merge-css]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
137 views

How to exclude custom extension JS : Magento 2.4

I want to exclude some custom extension JS from merge functionality. so how can i achieve this functionality?
Kushal Dani's user avatar
  • 2,114
0 votes
1 answer
299 views

Find Javascript Merge Knockout Error In Extensions Uncaught Error: Cannot find closing comment tag to match: ko template:

Magento 2.4.3 Apache Nginx MariaDB Hello Thanks for taking the time to read this. We have a dev site we are trying to enable Swissup Pagespeed Extension however it is getting 1 error - the merge ...
nem3943's user avatar
  • 43
0 votes
1 answer
406 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 ...
Jonathan's user avatar
  • 113
3 votes
1 answer
543 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="...
Jagveer Singh's user avatar
0 votes
1 answer
730 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 ...
vitoriodachef's user avatar
0 votes
1 answer
48 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
Alice's user avatar
  • 148
1 vote
1 answer
418 views

Magento 2.3.4 - Need to Merge CSS on Page wise

Many of them using Custom Theme with multiple custom modules. In custom module, we are calling particular css module on Layout xml file. When we enable Merge CSS file option under admin -> Stores &...
Sathishkumar's user avatar
1 vote
3 answers
1k 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?
Rafael Corrêa Gomes's user avatar
0 votes
1 answer
290 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 ...
Nagamani's user avatar
  • 143
0 votes
0 answers
31 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.
MGPM's user avatar
  • 751
0 votes
1 answer
29 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 ...
MGPM's user avatar
  • 751
2 votes
1 answer
5k 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 ...
Ashar Riaz's user avatar
  • 1,035
1 vote
2 answers
810 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 ...
Kenneth's user avatar
  • 15
2 votes
0 answers
407 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'...
Ed Tan's user avatar
  • 183
1 vote
0 answers
133 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'...
Magecode's user avatar
  • 1,514
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:...
Rizwan Khan's user avatar
  • 1,939
3 votes
1 answer
130 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
Harshil Parekh's user avatar
1 vote
0 answers
261 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 ...
jaylab's user avatar
  • 11
2 votes
0 answers
80 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 ...
Joris's user avatar
  • 43
5 votes
2 answers
20k 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 ...
DStephens's user avatar
3 votes
0 answers
224 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.
Rishabh Rai's user avatar
0 votes
0 answers
536 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="...
Dima Portenko's user avatar
1 vote
2 answers
934 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 ...
Rachna Thakur's user avatar
0 votes
1 answer
240 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 ...
Black's user avatar
  • 3,369
0 votes
0 answers
52 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 ...
Laiba's user avatar
  • 63
1 vote
0 answers
131 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.
Toan Duc Vu's user avatar
1 vote
1 answer
505 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. ...
Chris's 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 ...
Krang's user avatar
  • 167
0 votes
3 answers
1k 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....
vibhu's user avatar
  • 371
1 vote
1 answer
141 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.
Arjun's user avatar
  • 3,586
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 ...
Vygantas's user avatar
  • 373
1 vote
1 answer
1k 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 ...
Andrej Zemplényi's user avatar
1 vote
1 answer
817 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 ...
Ajay Patel's user avatar
  • 1,513
0 votes
1 answer
336 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 ...
JGeer's user avatar
  • 1,418
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 ...
Akhil Gupta's user avatar
  • 1,946
6 votes
2 answers
27k 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?
Fiasco Labs's user avatar
  • 7,593