Linked Questions
19 questions linked to/from How to add a custom CSS file in Magento 2
1
vote
2
answers
2k
views
How to add CSS file to all pages - magento 2 [duplicate]
Currently, I am using a custom theme and my parent theme is LUMA.
I need to add custom.css file which should be available in all pages.
How can I do it?
1
vote
1
answer
196
views
Magento2 Keeping CSS changes after redeployment [duplicate]
Hi I am new to Magento 2, I was wondering what methods people are using to keep CSS changes after they deploy static content as CSS changes are overwritten every time.
Thanks!
0
votes
1
answer
39
views
Creating child theme how will I add css for extensions I have installed [duplicate]
I am newbie in Magento.
Template monster theme has already been installed and along with that I have installed many extensions.
Now for adding custom css I have installed child theme .
I am not ...
11
votes
2
answers
41k
views
Magento 1.9 : Add custom css file to head
I need to add a custom CSS file to Magento that then is used site-wide. I know you have to add this to a local.xml file, however, the stylesheet I add is just not loaded.
Anyone that can help?
Here ...
10
votes
6
answers
3k
views
Magento 2 - Overriding CSS without using !important everywhere
I'm working on a Magento 2 site at the moment for a client. Suppose my client's brand is boofar and the theme I'm trying to extend/override is foobar I've set as the parent theme using frontend/...
4
votes
3
answers
6k
views
Magento 2: How to add Custom CSS/JS that will load last among other CSS/JS files
I need to override CSS/JS that will override the styling and I need it to load the last part among other CSS files link like:
<head>
<title>Home page</title>
<link rel="...
3
votes
2
answers
3k
views
How to add custom css file in magento2.2.6?
I tried to add some custom styles in Magento but I couldn't find out how to do this.
How do I add the custom css stylesheets in magento-2.2.6?
3
votes
2
answers
6k
views
Changing main navigation?
I would like to change the dropdown behaviour of navigation. Which files need to be changed?
I try to give the dropdown 100% width and place items inline
I see this file /vendor/magento/module-...
0
votes
2
answers
7k
views
How to edit custom css In Magento 2 and we using porto theme
How to edit custom css In Magento 2 and we using porto theme ?
I'm using this code base theme working
app/design/frontend/vendor_name/theme_name
run below command to set developer mode
php bin/...
2
votes
1
answer
3k
views
How to add and use a custom font in Magento 2?
I purchased a magento 2 theme, but the theme uses the Google api font.
How can I use a custom local font?
Magento ver. 2.3.0
0
votes
1
answer
4k
views
Magento 2 why CSS was blocked due to MIME type mismatch
I have just added custom CSS in the app/Vendor/theme/Magento_Catalog/web/css/custom.css
After that, I have run the CLI command php bin/magento setup:static-content:deploy and clear the cache.
When ...
2
votes
2
answers
2k
views
How to extend gallery.css in Magento2?
How do you extend gallery.css in Magento2?
gallery.css is loaded after styles-m.css so anything that I put in my theme's _extend.less the file gets overwritten by it.
I don't want to override ...
0
votes
2
answers
2k
views
Magento 2 : How to move the search box next to logo title [SOLVED]
I'm using Magento 2 and trying to change the header part of the theme. I want the search box next to the logo Title "Electro store" as shown in image also i want to know how to change the css of ...
0
votes
2
answers
422
views
How to do customization in the Luma theme CSS?
I have created a child theme with a Luma theme as a parent. and activate the theme from the configuration.
Now I need to do some modifications in the CSS file like I need to change the background ...
1
vote
2
answers
168
views
Edit custom module on Magento 2
I would like to ask if there is a way to override the design of the custom 3rd party module in magento 2 where I can put my own design and still fetch the data from the database. I'd appreciate any ...