Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [css]

Questions related to CSS in the context of Magento

0
votes
1answer
12 views

Front-End stopped working after magento upgrade

Front-end stopped working after a 2.2.6 upgrade. As you can see on screenshots, there is something wrong with the styles-m.css file.
1
vote
3answers
40 views

Frontend styling has disappeared, and I can't get it back

Disclaimer: I'm new to Magento 2 development as of Nov 2018, and new to development generally as of mid-2017. So I'm new to asking development-help questions too. Most of the time I can figure it ...
0
votes
2answers
22 views

How to solve Unable to load CSS and JS after setup magento 2

My using Ubuntu 18 and apache2 I downloaded magento2 zip file and extract uploaded to my /var/www/html/ but always shows the above image I already setup htaccess file Already tried comments: ...
0
votes
2answers
20 views

magento 2 : How to render background images in css pages

How do you render a background image on a css page. i.e #account-links--point { background-image: url(/images/pop-up-box-point.svg); } i realise that for a less you can do this: @{baseDir}...
0
votes
0answers
28 views

No css found and admin url not found on this server magento 2

I have added my project on a virtual machine amazon and when I try to get my FO I have no CSS and when I click on any link example category I get an error The requested URL /Siteindex.php/customer/...
0
votes
1answer
27 views

How do I change CSS priority on magento1?

The button on this page along with other objects are not receiving its module parameters, instead they are receiving from (index):275 which I was not able to discover where it comes from. How do I ...
1
vote
1answer
29 views

Buy On Amazon button

I want to add "Buy on Amazon" button on my product page. I was successful in adding it with this code: <a href="<?php echo $this->getProduct()->getamazonurl(); ?>"><img src="/...
0
votes
0answers
20 views

How to change custom theme print products per row 2 only

How to change custom theme print products per row 2 only In my theme the products per row 3 . but i want to only 2 products per row . How i can change it?.Please help me.
0
votes
1answer
15 views

The number of “Requests” is very large

I tested my website performance with Gtmetrix. I found that my website performance seems to be good, but the number of “Requests” is very large. I want to know if the impact of this problem is big? If ...
0
votes
0answers
12 views

Css .class element has padding: @cpanel-home… where is this reference?

I would like to edit the padding of this class, but it references elsewhere. Where is this reference stored, and how do I edit the reference figures?
0
votes
1answer
33 views

Adding css to magento 1.8.1

I'm trying to add a custom css file when a magento action is loaded. My layout page is as follows : <layout version="0.1.0"> <helloworld_index_index> <reference name="head"> ...
0
votes
1answer
15 views

Magento 2.2.5 styles-m.css and styles-l.css not load

I'm working with new project and editing front-end css (working with less files), everything goes well but suddenly styles-m.css and styles-l.css in front-end not loading. Any ideas why this happened ...
2
votes
3answers
72 views

Show price inclusive tax on checkout

[Magento 1] I want to show prices on checkout inclusive of GST (Indian). Currently, it's adding the tax separately on checkout page resulting in increase final price. We would like to configure it in ...
0
votes
0answers
6 views

Magento 2 opens the product page sometimes reminds error?

Magento 2 opens the product page and sometimes prompts [Identifier "" not exist.] This error sometimes does not prompt. Is this what is the reason?
0
votes
0answers
25 views

Magento 1.9.3.8 remove image class

I am having Magento 1.9.3.8 and my template add these classes in images of category pages: class="img-responsive alt-img lazy" It function with a terrible lazy load in the images which is not ...
0
votes
1answer
16 views

Changing Detail tab property from <h2> to <span>

I've spent a few hours now trying to find this here on Magento StackOverflow. By default in the RWD theme, the Details tab below the short product description is hidden and in an <h2> tag. The ...
2
votes
2answers
24 views

Magento 2 - how to only apply css in catalog product page in grid view but not the list view

If i change the css in the grid view, but and the css will also apply to the list view, which is i don't want it. How can i sovle that? thank you
0
votes
2answers
36 views

how to disable Input Radio button using css

I need to disable Input Radio button using css. Don't want to use <input type="radio" disabled>
0
votes
1answer
24 views

How do I hide the quantity box in bundle product page?

Basically I've already set default quantity(1) for the linked product in the bundle product display page, now I just want to hide the quantity selection for the linked product all together. Appreciate ...
0
votes
1answer
30 views

Add tag “noscript” in HEAD for CSS files ( Magento 2)

I want to add tag "noscript" in head. <head><noscript id="deferred-styles"> <link rel="stylesheet" type="text/css" media="all" href="http://dev.magento2.com/magento2/pub/static/...
0
votes
1answer
17 views

Am I hurting performance or using bad practice by including css within my static block?

When I create a new section for my home page or a block for a category header is it bad practice to include css within that block? My thought process is that when I want to remove or change that ...
0
votes
2answers
75 views

When I set client side less compilation shows me error

Hello I am new in developing in Magento, I have Magento CE. When I set the Front End development workflow to type client side less compilation shows me an error Fatal error: Uncaught TypeError: ...
0
votes
1answer
35 views

Magento 2.2.6 CSS JS not loading in admin panel after changing base and custom admin URLs

It's a multi store site in development and I changed the test URL to one of the production URLs for the default Base URLs and one of the store Base URLs. I also changed the option to Use Custom Admin ...
1
vote
0answers
50 views

display a popup once per day!

this code is to display a pop up once per day. But I'm having trouble making it responsive, and it seems that it shows once a lifetime... Also if I put it in 3 different pages, and it only shows up ...
0
votes
1answer
33 views

Element 'css': This element is not expected. in Magento 2.2.5 (upgraded from Magento 2.1.9)

1 exception(s): Exception #0 (Magento\Framework\Config\Dom\ValidationException): Element 'css': This element is not expected. Line: 542 facing this issue in 2.2.5. I have upgraded from magento 2.1.9 ...
0
votes
1answer
12 views

How to update a main menu in “neoshop” theme?

I would like to modify the frontend main manu in Magento 1.9.1.0 . I'm using the theme neoshop if this info is useful. I've not found menu components into the CMS -> static block nor pages with the ...
0
votes
1answer
34 views

After running some commands Front end css not working

Frontend CSS not working after I ran some commands. Backend working fine all css and js files are working in backend Here's Here's the link of the site: http://testing2.dukaania.com
0
votes
0answers
10 views

magento2 not loading custom css file that is in head.phtml on category page

My Magento2.2.5 has a custom css file that I have listed in the bottom of the head.phtml in my child theme. I list it there instead of in the default_head xml file because i need the css file to load ...
0
votes
3answers
32 views

Magento 2 - Where to put images to use in css

What is the best location to put the images that I use in my custom css file? And what is the best way to get to the image from the css file? The location of my custom css is: app/design/frontend/...
0
votes
1answer
20 views

I am adding my own css it is working only once after that it is not working

I have added a css through this way app/design/frontend/theme/magento_theme/layout "default_head_block.xml" In this <css src="css/own.css"/> i run the command setup:static-content:deploy ...
0
votes
1answer
40 views

Update page layout sidebar-main and column.main widths

I'm on Magento 2.2.4 and I can't figure out how to edit the CSS for the catalog view page. I'm trying to edit .page-layout-2columns-left .column.main and .page-layout-2columns-left .sidebar-...
2
votes
0answers
15 views

Backend login page can't display correclty

After transferring to a new server, the backend login page can't load correctly, but the frontend works well. You can see the links of CSS and JS files are not correct. And the login button can't load ...
0
votes
1answer
35 views

css is not loading in multi STORE VIEW magento 2

I've set up multi-store view with multi language, but I'm facing a weird issue that is default store view is running perfectly but another store view is not able to load CSS.
0
votes
0answers
13 views

Add static top parent in Magento 2 navigation menu frontend

In magento 2 default behaviour, it adds categories in top naviation bar, but as per my requirment I need to add a static work (like shop by categories, same as in amazon) and then need to show all ...
3
votes
1answer
25 views

After Mac OS Update,CSS not working in Magento2

My CSS was working fine.But when I updated my Mac OS, CSS doesn't get applied.I have , 1.Cleared Cache. 2.Deleted var/view-processed/pub folder and pub/static/frontend/ all folders.Deployed again. ...
1
vote
1answer
38 views

How can I change my Magento2 Checkout Page CSS?

When I tried to change checkout Page CSS,It does not get applied.I used to write my CSS on _extend.less file in my theme folder.This applies for Homepage, Catalog Page, Product Detail Page, Cart Page....
4
votes
1answer
61 views

Magento 2.2.6: How to define max width page?

I need the page to be seen with the maximum possible length Class: What do I need to replace?
2
votes
1answer
27 views

How can i make sure the css is added to my theme , it is not working

I have css file design/theme/web/style.css but it is not working or maybe the thing i am adding is not responding . i have tried my own css in header of the theme it is working there but i know it is ...
0
votes
0answers
9 views

After protected-directories got error

Hello i have problem with my store when im in protected-directories mode one my stores Working 100% Loading all images and my color options from backend when i turn off protected-directories for ...
1
vote
1answer
23 views

JavaScript and CSS don´t works in my Magento 2 page

I found a "partial" solution on the Internet, but if I use that "solution", my store don´t works: If I use that, this is the result: Home JS page Store Like you can see, if it makes me choose ...
1
vote
0answers
24 views

Best practices adding css/less to custom widget block

I created a custom widget inside my module and I'm trying to figure out how to add css to widget template. I can do it with the styles tag inside my template (phtml) but I assume that is not the right ...
0
votes
0answers
32 views

CSS changes not showing in frontend

I setup Magento 2.2.5 in my localhost system, and make all changes with customise theme and CSS. After that when I'm uploaded all setup in my live server, all site showing good, except some of the ...
0
votes
1answer
108 views

Sticky header with cart button

I tried to made the header to sticky and put the cart button to the header when the page slide down. I already done with the sticky header, but i can't add the cart button to the sticky header. How ...
3
votes
3answers
43 views

What css is causing my footer to take over the whole body?

I have page in which in responsive on any browser at 768 width everything in the footer looks fine. If you go to 767 the footer goes up the the header and everything is terrible. How can I make that ...
0
votes
0answers
22 views

Have To Click Links Twice CSS/JS Issue?

I don't think this is exclusively related to Magento but it is an issue I am experiencing with Magento. On all browsers (including Safari on Desktop) all links etc work fine. On Safari on an iPad &...
2
votes
1answer
47 views

Magento 2.2.5: Blocks added to footer display in wrong order

I've been working on a magento theme, which inherits from Magento/blank, found at http://murkyapparel.com. As you can see, the footer looks a bit of a mess. I might make some changes, so here is a ...
1
vote
0answers
27 views

Magento CSS Forbidden

After the site has been properly working for awhile (year or so)... we get 403 Forbidden errors on CSS files hosted locally on the server. Changing permissions on the directories and files didn't work....
0
votes
2answers
49 views

How to remove a specific href from a top-menu link in Magento 2

Hello I am trying to make 3 items on menu to be not click-able and I want to ask how to remove a specific href from a top-menu link in magento? (I don't want to remove from all menu ...
0
votes
2answers
21 views

Custom CSS not loading

I created a custom css file in Vendor/theme/web/css and added css/custom.css to my default_head_blocks.xml file. Im in developer mode but I still ran static content deploy -f. I cleaned/flushed cache. ...
0
votes
2answers
37 views

Change CSS style for price (tag)

does anyone know how can I change the style for the price in product listings (not on product details page) on front-end? I would like to make the price bigger and change its color. I tried but I ...