Questions tagged [css]

Questions related to CSS in the context of Magento

Filter by
Sorted by
Tagged with
0
votes
1answer
3k views

unmerge css and js files on magento admin back-end

I've made some changes on my local. then when i git push my changes to dev environment I don't see them. When I was inspecting my code I noticed that the css on my local are different because the css ...
-1
votes
2answers
1k views

Custom Design/Layout for Simple Products

I’m trying to customize simple products separate from grouped products. I’ve gone as far as creating a layout in catalog.xml with this code below <PRODUCT_TYPE_simple translate="label" module="...
0
votes
2answers
911 views

If the attribute has “No” or not filled out, then do not display for bundled product

I'm currently displaying a block that has a custom attribute for simple products. But, I don't want to display it for grouped products, only for simple products. In Manage Products > Custom ...
4
votes
2answers
951 views

Frontend css cache issue

Having an issue with multisite where I edit css for each store to set image widths and height, for some reason the css isn't updating on certain sites. One of them took effect after clearing css/js ...
0
votes
2answers
141 views

Is it better to remove an element of change it's css to be display: none

I've been working on some css fixes with a custom theme, both css and templates are using the same named theme so in a sense they are a pair, you wouldn't want to have the template work with anything ...
0
votes
1answer
275 views

Magento: Show Top Level Products on Homepage without Hovering

I'm looking to have our top nav on the homepage already "flown-out" or expanded. And, when the customer navigates to any other pages it would be collapsed or hidden, and would only show when hovered ...
1
vote
1answer
1k views

How Can I Add a Body Class in Magento Go When the Browser is IE8? [closed]

I am using the following Custom Layout Update XML in Magento Go to add a body class if the browser is IE8. Currently this code adds the class for every browser instead of only IE8. How can I write ...
2
votes
5answers
8k views

Why the merge CSS files not populating?

I have recently migrated a Magento website which had been using merge_css_files successfully. On the new server, however, I cannot get it to work and would very much appreciate any advice on the ...
6
votes
3answers
10k views

Is there a way to load an external CSS file in local.xml?

I found out on Google CDN jQuery with Local Fallback in Magento Layout XML from @philwinkle answer that an external js can be loaded to the "head" via local.xml. Is there also a way to load an ...
6
votes
1answer
8k views

calling css using layout xml

I have made a custom module and within that module I want to add my own css file. So far I have made all the required phtml files and the necessary layout.xml file. Testing the module I can see that ...
1
vote
1answer
296 views

CSS / JavaScript files not changing in adminhtml (cache?)

I have an unusual issue occurring in the admin panel, I updated M2ePro and it has a new set of css/js files that need to be changed to make it work. The problem is when I change this in my phtml file, ...
0
votes
2answers
448 views

Table cell with scroll in product page

I have an "additional information" table on my product pages that contains several rows of product attributes and their values. I have an "ingredients" attribute that can sometimes be very long, so I ...
0
votes
1answer
183 views

Using Magento Header and Footer with vBulletin

I have a Magento website currently in development and would like to have vBulletin 4 forums setup for my customers. Is it possible to use the Magento Header/Navigation and Footer with vBulletin ...
3
votes
1answer
2k views

Changing the address book drop down (for shipping) from drop down list to radio buttons

I need to know how to change the address book drop down on a registered account checkout to radio buttons (similar to Amazon)
3
votes
2answers
1k views

Best Practices Magento css files

I have a few questions about the css files delivered with magento and the best practices to do changes in them. First of all I was not able to find a basic description for all the css files coming ...
0
votes
2answers
162 views

I am trying to re-size a container: col-2 registered users.

When landing on http://designozstudio.com/magento/index.php/customer/account/login/ there are 2 buttons: 'login' and 'create account'. The login button is in a block or container and the width is ...
4
votes
6answers
4k views

How to implement LESS css with magento?

I want to use LESS CSS processing for theme development. Normally to implement LESS processor all you need to do is to add following lines to <head> tag in your html <link rel="stylesheet/...
0
votes
3answers
3k views

Clearing cache destroys CSS entirely?

I ran this script via php -f cache.php destroy and now it appears as though all site CSS is gone when it is loaded. How could clearing the cache of Magento remove CSS entirely and what would you do to ...
1
vote
1answer
85 views

Paypal Return and Review

My client has recently moved server and Paypal is not returning the customers anymore to the site for review in the middle of the order and return ( to confirm a successful tx) like it used to. What ...
15
votes
3answers
20k views

Magento adding CSS and JS includes to the footer

I'm doing some Yslow optimization of my Magento site and am trying to add the CSS and Js to the footer of the site. At the moment I'm using a head reference tag in the layout XML and using addJs and ...
1
vote
1answer
446 views

Im trying to get the browser to recognize a css.php file

I have this file: <link src="http://mysite.com/theme/skin/frontend/default/beckin/css/options.css.php" rel="stylesheet" type="text/css"> Which shows in the source code. Also when I click on ...
-1
votes
4answers
361 views

Adding values from custom model as CSS in templates

I have a module that needs to display specific CSS values for each entry in my custom model collection. This is trivial enough, as I can simply echo these values with PHP in my template as needed; ...
6
votes
2answers
14k views

Https - layout broken

When I open the site using https://mydomain.com all layout (front/backend) is "broken" and appears inconsistent: The headers contains all js/css but they are loaded with http:// protocol and the css ...
2
votes
2answers
2k views

Slidesjs pagination image is always hidden but can on the function if mouse hovers over [closed]

Using Magento Go due to other users lack of developer knowledge. Slidesjs has been added relatively simply and works except for the pagination, the image has been stored in the media storage system, ...
0
votes
2answers
1k views

Magento Go, changing theme CSS to view media storage image? [closed]

How do I reference a media storage image in a CSS in edit custom.css, so that it overrides the template style. Basically I want to change the colours of the menu bar, but they are not changing. So far ...
15
votes
2answers
11k views

When merging CSS or JS, a new file is generated for each page type

We have a lot of small CSS and JS files and enabling merging seems to be a good choice. Many of the CSS and JS files are used on every page (home page, category page, product detail page). Whenever ...
62
votes
15answers
41k views

How to force flush CSS cache on client side?

Suppose that we changed a lot of functionality for the module (templates, layouts, CSS) and we are going to move these changes to the production site, but a lot of customers have cached CSS in their ...