We changed our privacy policy. Read more.

New answers tagged

0

Depends on your apache configuration this in your root directory can save your life... RewriteEngine on RewriteCond %{REQUEST_URI} !^/pub/ RewriteCond %{REQUEST_URI} !^/setup/ RewriteCond %{REQUEST_URI} !^/update/ RewriteCond %{REQUEST_URI} !^/dev/ RewriteRule .* /pub/$0 [L] DirectoryIndex index.php


0

To add unique css class in each <li> element of Magento My account navigation : Override Magento\Customer\Block\Account\Navigation by Adding below in di.xml <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <preference ...


0

The issue is that the CSS looks for an input + label. You can apply this patch that puts the script tag before the input button. How to apply patches: https://devdocs.magento.com/guides/v2.4/comp-mgr/patching.html composer.json: "extra": { "patches": { "magento/module-sales": { "Fix to show radio ...


1

You can use Live Reload and Grunt. https://devdocs.magento.com/guides/v2.4/frontend-dev-guide/css-topics/css_debug.html


1

If you install Grunt you can watch and automatically compile LESS to CSS without having to run any commands. Once installed run grunt less to compile or grunt watch to watch files and automatically compile. For full indepth instructions and more commands see https://devdocs.magento.com/guides/v2.4/frontend-dev-guide/tools/using_grunt.html


0

Please add your css in _email.less file. Below is the file path. app/design/frontend/{themename}/{namespace}/web/css/source/_email.less If _email.less is not exists on this file then copy it from the parent theme.


0

I tried all the steps like rm -rf var/* php bin/magento setup:static-content:deploy -f php bin/magento indexer:reindex php bin/magento cache:clean and still not worked. (These steps are required but it's incomplete) You must have to change .htaccess file with a new one in pub/static whether exists or not. After changing it, I ran cache:clean command again, ...


0

Please try to add important on your custom css changes because if Magento default CSS priority before your CSS in that case you changes not reflected so please check with important. Here is example for you reference. background-color: red !important; Hope it will work for you!


0

Please add email-inline.css instead of email-inline.less on app/design/MyVendor/MyTheme/web/css


0

instead of already theme insert your theme information after that deploy it. bin/magento setup:static-content:deploy en_US --exclude-theme Magento/luma --no-html-minify


0

You can go through Magento docs, Here you can get explanations regarding the tags. I hope it will help you.


0

Try below code. .delivery-date { color: red; position: absolute !important; left: 45% !important; top: 45% !important; }


Top 50 recent answers are included