All Questions
78
questions
0
votes
0
answers
23
views
How to remove unused js and css from magento scandi pwa website
In website usually chunk css and js files will be generating while building. how to remove those unused css and js files from our sites to improve site performance.
is there any ways to avoid them and ...
0
votes
0
answers
31
views
Responsive slider
.item-slider.object-fit {
height: 220px;
}
@media screen and (min-width: 768px) {
.item-slider.object-fit {
height: 250px;
}
}
@media screen and (min-width: 992px) {
.item-slider.object-...
0
votes
1
answer
187
views
magento 2.4.6 styles overide issue
I have a magento 2.4 theme which defines its css using a styles-m.less file
app/design/frontend/Vendor/theme/web/css/styles-m.less
There is also a source subdirectory, with different .less files per ...
0
votes
0
answers
54
views
How can I hide too many variants using an expand button
Since my Magento has many selection fields like 20 for some attributes like color, I only want to display 7 and have the rest expand using an expand button.
Is there this function in Magento or an ...
0
votes
1
answer
228
views
PayPal buttons overlapping site elements - can't control positioning due to inline CSS
I have integrated PayPal buttons on my Magento website but these buttons get their CSS classes inline and always overlap other elements when scrolling.
For example, on the site's fixed header, the ...
0
votes
1
answer
1k
views
Tailwind css "npm run watch" is not working
I am working on Magento 2. We are using tailwind for design.
Here is my tailwind directory
app/design/frontend/ThemeVendor/themename/web/tailwind/
in here I have package.json it contains below code
{
...
0
votes
1
answer
89
views
Blank screen and css js not loading after magento2 installation
While going through the installtion of Magento2 in Ubuntu. many problems are occured.Magento2 code cloned through GitHub
Blank screen after running installtion command
css nd js not loading
I have ...
0
votes
1
answer
1k
views
How to add a cart icon with add to cart button in catalog category page in magento 2?
Can anybody tell me that how can i add a cart icon with add to cart button in catalog category page in magento2 ?
I tried to this by adding CSS but cant get successful. Can anybody tell me how to do ...
1
vote
1
answer
266
views
Adding CSS to Shadow-root created by a third party module
I'm working on a Magento2 website and I've installed an Amazon pay module that has created a few extra buttons on the checkout page (default Luma theme). Most of these new elements are fine when it ...
0
votes
0
answers
73
views
How to stop Playing video in the background when popup modal is closed or click on out side of the popup [duplicate]
I have a button. When user click on button i am showing the video in popup modal. But when i click on outside of the popup the popup is closing but video is keep playing in background and also when i ...
0
votes
1
answer
34
views
Function to scroll and open an accordian
I am struggling to get my Javascript code to work.
I want it so that when someone clicks on the product review summary of my website that it will scroll to the reviews section and open the relevant ...
2
votes
1
answer
135
views
Have describing text appear in specific location on icon/image hover
I know how to get the text to appear on hover but I want the text to appear in a specific location (location attached), when hovering the image/icon. I say icons because they are used as mounting ...
0
votes
1
answer
38
views
Where is this element?
Good day all. I've inspected my page and found the particular element and I wish to style out or delete but it seems not to be attached to any document or sheet in my website, yet it appears ...
2
votes
1
answer
137
views
Flex Box aligning items in center instead of left
So I am using a col-3 / col-12 grid system using a flexbox .row to align my items in the product display. For whatever reason when I don't have four col-3's in each row it aligns my .product-display ...
0
votes
1
answer
270
views
Less file not compile @keyframes
I tried to create an animation with keyframes in my Magento2 website and works fine if i use my code inline or in a simple file css. But if i put my css code with @keyframes inside LESS files this not ...