Linked Questions

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?
Mr.farhan's user avatar
  • 172
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!
Damion's user avatar
  • 11
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 ...
Anonymous Record's user avatar
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 ...
dsolivier's user avatar
  • 113
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/...
Francis Kim's user avatar
  • 2,973
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="...
nhinzky's user avatar
  • 709
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?
nukala satish's user avatar
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-...
fefe's user avatar
  • 927
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/...
SNS's user avatar
  • 897
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
Angelo's user avatar
  • 77
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 ...
mageDev0688's user avatar
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 ...
Holly's user avatar
  • 4,813
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 ...
Mohit Rane's user avatar
  • 1,935
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 ...
Abhinav's user avatar
  • 23
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 ...
Miguel Intoy's user avatar

15 30 50 per page