Questions tagged [css]

Questions related to CSS in the context of Magento

Filter by
Sorted by
Tagged with
0
votes
1answer
20 views

I want to over ride Style-l.less file in Magento blank theme?

I have created Custom theme which is inheriting Magento Blank theme... Now I want over ride CSS in style-l.less file of Blank theme How can I do that???
0
votes
0answers
25 views

Magento2 - Change position of wishlist on catalog-category view page

I want to change the position of Wishlist icon on the top of image . Do I have to achieve this through xml or through css? I tried through xml but I couldn't move it over the image. Here is the ...
0
votes
0answers
11 views

Magento 2 Remove print.css file from all pages except Myaccount

I am trying to remove the print.css file and add it to only on customer_account.xml. I removed the CSS in default_head_block.xml and added it in customer_account.xml. But the CSS is not loading on ...
0
votes
0answers
9 views

Media Queries Works on Dev Tools but Doesn't on mobile

The site is https://www.cfcarehospitalar.com.br I use a custom CSS that is working. Yes, it's working! I've already changed many things on site using it, but something is really really weird and I've ...
0
votes
1answer
30 views

Magento 2 Mulitwebsite not loading CSS Js and images

I have a website in IP format like 12.34.56.78 with multi-website like this - 12.34.56.78/dev1 12.34.56.78/dev2 12.34.56.78/dev3 12.34.56.78/dev4 I created Folder in Magento root directory dev1,...
0
votes
1answer
27 views

Magento 2 remove print.min.css from head

i want to remove print.min.css from head of html i tried below code in theme xml file but it is not wokring <head> <remove src="css/print.min.css"/> </head>
0
votes
1answer
51 views

add preload for fonts in magento 2

I want to add below in the head of Magento 2 via default.xml, unable to get the exact syntax for same <link rel="preload" href="https://example.com/static/version1580127835/frontend/theme/...
4
votes
2answers
81 views

Is Less File in Magento 2.3.X mandatory?

I have an eCommerce HTML template with simple CSS. I have a few queries before converting HTML into Magento 2.3.3 Question 1: Is a .less file is mandatory? Can we use a simple CSS file in Magento 2? ...
0
votes
0answers
24 views

Magento 2.3.3 - using CSS Critical Path throws strange syntax in source code - how can we solve this?

Google Page Speed told us, that we have rendering blocking CSS. Now we try to solve this with CSS Critical Path activated. We have created a Critical.css file We have integated the same in our ...
0
votes
1answer
31 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 ...
0
votes
1answer
22 views

Magento 1.9 CSS file isn't loading home page

Using Premium aspire theme. I want customize stylefrom my own css code. Added css file location: skin/frontend/rwd/aspire/css/customstyle.css Added page.xml and local.xml(I know any one add but just ...
0
votes
0answers
15 views

Display format of site and admin panel not working

I am pretty new to magento and was trying to update quantity from magento admin. Not sure what went wrong format, css stopped working. Nothing working on Magento Admin also. I can login to admin but ...
0
votes
1answer
18 views

Styles aren't being applied on some pages. No errors

Some css styles aren’t applying on some pages, but applying everywhere else. I’ve removed view_preprocessed, cache, static/frontend and static/admin, run setup:upgrade, setup:di:compile, static-...
0
votes
0answers
20 views

Website pulls from style-l.css that doesn't exist

After upgrading to Magento 2.3.3 on Windows, and being successful, I attempted to change some CSS but found that while my code is being generated, it is being overwritten by the old code which doesn't ...
1
vote
0answers
13 views

Production Mode - CSS/JS missing when reloading with CTRL + Shift + R

Hello everyone, As the title suggests, I'm currently having some problems with a Magento 2 site, running in production mode, and it's static content / caching. The website loads just fine, but when I ...
0
votes
2answers
31 views

Magento2: Css loading issue on admin login page

On the Admin Login css/js is not loading, I don't have this problem anywhere else on my site. How can i solve this? I did bin/magento setup:static-content:deploy bin/magento, bin/magento ...
0
votes
0answers
13 views

w3c validation parse error

I am getting parse error for following code @media screen and(-ms-high-contrast: active),(-ms-high-contrast: none) { .rating-box{width:65px;height:12px;font-size:0;line-height:0;text-indent:-999em;...
1
vote
0answers
32 views

Magento2: How to add css file in admin backend for RTL?

I want to add custom css in backend that only work when user change the Arabic language from admin side. How can I add css for backend on conditional basis? Can any one help me on this which would ...
0
votes
4answers
47 views

How to add css in custom module using layout file in Magento2?

I wan't to add bootstrap.css to a template in a custom layout.xml, this is my code: view/frontend/web/css/bootstrap.css here is the css file view/frontend/layout/pakke_trackshipment_info.xml <?...
0
votes
1answer
38 views

How to merge CSS files in via config file magento 2

How I can merge CSS files using the app/etc/config.php file in magento 2? I want to enable this so I can improve the loading times of my website. What's the right code to achieve this?
0
votes
1answer
26 views

Magento 2.3.X css updated after certain time in custom theme

I have used Porto theme and create a child theme with custom CSS file. Sometime css is not updated instantly and take certain time to update. I have already contacted the server support and they told ...
3
votes
2answers
68 views

Multi website frontend page is broken after upgrading to 2.3.3

I have a Magento 2 multi-website with each website has their own store view, after I upgrade it from 2.5 to 2.3.3, the main website is looking fine, but the others are broken and when I inspect, got ...
0
votes
2answers
41 views

Put background color css for particular cms page

I want to add background color for this cms page
0
votes
0answers
16 views

Question about the Scripts and Style Sheets field?

I was just wondering about the "Scripts and Style Sheets" field in the default store view in the CMS. I have written custom styles in this field and they reflect on the front end. Why do I need to ...
1
vote
1answer
41 views

Magento 2.3.1 Category Page is not loading in Magento admin panel

My Magento version is 2.3.1. all pages in the admin panel working correctly. but my category page is not loading shows console error. I am already trying some solution like delete pub/static ...
2
votes
1answer
119 views

Magento 2 after running upgrade command images, css & js deleted

Whenever I run upgrade command in Magento 2, some of my CSS and JS and Images files deleted automatically, sometimes deleted from third party modules, and sometimes deleted from magento vendor folder. ...
0
votes
0answers
35 views

Ensure text remains visible during webfont load: Doesn't work on added fonts

In our Magento build we have a custom theme that uses Luma as a parent. After doing an Audit in Chrome we get the message Ensure text remains visible during webfont load and it lists the following. ...
1
vote
0answers
28 views

How to Add an icon next to Payment Method for Amazon Pay?

I have looked up a few similar question but can't figure how. It's the default amazon pay module that came with Magento 2 I'm editing this file /var/www/html/vendor/amzn/amazon-pay-module/view/...
1
vote
2answers
47 views

Magento 2 Css and images are not loading in production mode

I've have changed mode from developer to production,then cleared cache,deployed but css and images are not showing . Image's status is 404 and stylesheet's Refused to apply style from because its MIME ...
0
votes
0answers
36 views

Magento2.3: Cannot add a product to wish-list even after logged in

I'm facing an issue in adding the product to wish-list. I have logged-in the site but still can't add the product to wish-list. When checking the admin configuration, I see the wish-list is enabled ...
1
vote
1answer
19 views

Translate test inside div in magento 2?

I have this piece of code inside app\design\frontend\Company_name\porto_base_child\Magento_Checkout\web\template\shipping.html <div id="poboxmessage" style="display: none; color: red;">...
0
votes
1answer
32 views

How to change styles-m.css in magento 2.3

Can any one tell me how can i change my theme css present in /pub/static/version1573734125/frontend/Hiddentechies/bizkickchristmas/en_US/css/styles-m.css. As we cant change anything in pub/static, is ...
0
votes
0answers
22 views

How to show scrollbar permanent in safari browser on mobile? Not only on hover

How to show scrollbar permanent in safari browser? Not only on hover. Scrollbar not showing in safari browser when i hover then it will show.
2
votes
2answers
48 views

Css can't read content in new area code for theme deploy

Here is my scenario. I have create new area for my theme (Not adminhtml , frontend). Used Developer mode and no symlinks config in admin I have create new module simple for define new area theme ...
1
vote
1answer
24 views

Magento2.3: How to customise the default search design in home page?

I want to customise the default search button in home page. We have the search as below screenshot and want to do that if we click the search icon it should open the input box below the search icon. ...
0
votes
1answer
38 views

Magento 2 - Include css from module in template

I developed a new extension. I have some CSS which I need to include on some templates. CSS: app\code\Fekete\Newsletter2Go\view\frontend\web\css\main.css Block: \app\code\Fekete\...
2
votes
3answers
194 views

Magento2.3: How to upload profile picture and show it on My Account dashboard?

We have customized the My Account dashboard with our own design. Now we wanted to implement the profile picture option while the customer do the registration. After the registration, in My Account ...
0
votes
2answers
103 views

Admin is returning a 404 on styles.css and theme.js on Magento 2.3.3

The backend of my Magento installation is not loading CSS/JS. I have reached a point where I just cannot work out why this is happening and hoping that someone might have an idea. This is what I am ...
1
vote
1answer
196 views

How to change font source url from local to CDN?

I have uploaded google fonts on the local server to a custom directory and it seems to work well so far except that the Ultimo theme I am using is picking the base URL to generate font URL path. ...
0
votes
2answers
50 views

BX-Slider is not working

I have implemented the BX slider to one of my module. After implementing the BX slider, I can see the script and CSS for BX-slider have loaded when i look into the developer tools. However, the Bx ...
0
votes
1answer
22 views

Use css of one theme into another

I want to use CSS from .less file of one theme into another theme phtml file. There are two theme in my Magento 2.3 site. How can i do this?
0
votes
0answers
19 views

Magento 2 How to create separate My Account dashboard for different group of customers?

We have created registration forms for different group of Customers like dealer, employee. Now, we want show separate My Account dashboard for those customers. How can I do that? Any help will be ...
0
votes
1answer
29 views

Changing the design of Myaccount page

We have designed My account page using HTML. Now we have to implement the same design on our website. In order to get the same design, where I have to modify the CSS? Could anyone please help me ...
0
votes
2answers
48 views

Magento 2.3 - removing the login/Signin button on checkout page

I use magento 2.3.2 and i cant locate the SIGN IN button in the checkout page of my website.. i have tried to access magento\vendor\magento\module-checkout\view\frontend\templates\onepage\link.phtml ...
0
votes
1answer
38 views

Dark Overlay over my PDP (Product Description Page) Magento2

I am using Magento 2.3.2 for my Ecommerce and whenever i open a PDP in my magento 2.3.2, i get overlay on the screen, Please check attachment Image. I have tried with CSS to remove this or to disable ...
0
votes
1answer
17 views

In Magento 2, How can I add a custom class to a SPECIFIC customer navigation item, ie “Company Structure”

In Magento 2.3 I'm trying to add a custom class instead of nav item to a specific menu item. In my case it's "Company Structure". A perfect solution would have each item with a distinct class like "...
2
votes
3answers
104 views

How embedded CSS in transactional email works?

I have a very frustrating issue with the Magento 2 sales order emails. Through experimentation, I worked out the locations of the many files that are used to comprise these emails. At some point, I ...
0
votes
0answers
25 views

How CSS loads partially or not at all in Magento 1?

I have an extremely weird problem that I face for the first time. From time to time (it's really absolutely random), the CSS of a Magento 1.9.3.10 store is not fully loaded. It can happen on a ...
0
votes
2answers
34 views

How to change css which is in pub/static folder

I want to change the css which comes from this file /pub/static/frontend/Smartwave/porto/en_US/css/styles-m.css As we cannot change content in this file, then how can i change the css. Is there any ...
1
vote
1answer
37 views

Magento 2: how to add css ONLY to custom module

I created a custom module that overrides the addtocart.phtml file. In that module, I also created a css file. Here is what I did: Here is my layout - catalog_product_view.xml: <?xml version="1.0"...

1 2 3 4 5 23