Questions tagged [css]

Questions related to CSS in the context of Magento

Filter by
Sorted by
Tagged with
1
vote
1answer
652 views

Home Page Slider is hiding mega menu [closed]

The site i'm working on: http://www.acuity-sports.com/ I've been tinkering around with the theme.css file and with the relative positions & the z-index as well. I've been reading this page for ...
4
votes
1answer
8k views

Trying to add CSS to custom page layout

I want to include a specific CSS file on a custom page layout I created I already created a custom page layout (it is a duplicate of two_columns_left) using : App/Code/Core/Mage/Page/etc/config.xml &...
2
votes
0answers
889 views

How to make magento WYSIWYG styles work [closed]

I am looking for information about how i should be do by to wysiwyg Magento Styles editor work´s. due that from default, this function is not available.
2
votes
1answer
265 views

how to prevent products to jump lines in list view (css)

I have problem with my products on homepage. I want to show my products in 2 row with 4 products in one row but in second row I have 2 products and other 2 products go in next row. This is css that I ...
8
votes
3answers
2k views

Problem with Data URIs and CSS File Merge

Magento CSS file merge is pretending the hostname to my data-uris because the RegEx in Mage_Core_Model_Design_Package (beforeMergeCss) does not work as expected. It should prepend hostname to relative ...
0
votes
1answer
7k views

How to have multiple H1 tags defined in CSS for a theme

I am trying to override my current theme's H1 tag on product view only. Current CSS styles.css .product-view h1 { background: url("../images/image.jpg") repeat scroll 50% 0 ...
3
votes
2answers
214 views

Stylesheet only for ipad device

is there if param only for iOS devices? like it have for IE <params/> <if>IE 7</if>
1
vote
4answers
12k views

Why my css is loading from the base theme instead of custom theme on migrating the site?

I developed a site in magento on windows 7, and now my system has been updated and install an ubuntu 12.04 in it. Now when I am running my site in browser I got an issue that my css is not loaded ...
2
votes
1answer
2k views

Wrap sub menu items in div

I would like the wrap my second and third level categories in my main menu in a div tag so i can make a mega menu using the div to position the links. Is this possible. Heres an example of what i ...
3
votes
1answer
74 views

css/html development for checkout process

I have created a theme and would like to finish it by styling the checkout and payment pages. Which trick can I play to have a »quick-access« to all these pages without the need of »buying« a product ...
2
votes
2answers
2k views

Fooman Speedster, CSS minifying correctly however JS returns a 403?

I installed Fooman Speedster today (I've used it before without problems) and set it up as per the guidelines. I didn't experience any of the common issues however when loading the page I noticed all ...
1
vote
4answers
13k views

Overwriting a CSS style

I've got this style in style.css: .nav-container { margin-left: 80px; } I'd like to overwrite this, so I created a custom.css in my themes folder: .nav-container { margin-left: 40px; } and ...
1
vote
2answers
1k views

Custom styling for product attribute select boxes with jQuery

We have implemented the jQuery FancySelect script (http://code.octopuscreative.com/fancyselect/) to transform all the select boxes in our webshop. This works fine except for the select boxes on the ...
9
votes
4answers
53k views

Adding CSS and JS to <head> using a module layout.xml for block

Synopsis I would like to add a block to my grouped product view and my simple product view. This block will have some nice tooltips for hover states, i'm using a small library with one jquery plugin ...
1
vote
1answer
340 views

ColumnCount on frontpage doesn't work

I'm trying to add the class "first" and "last" to my categories on the frontpage, but it only adds the "first" class - AND to all of the list items. Can someone please help me with this? My .phtml ...
1
vote
1answer
5k views

New Magento theme wont load theme styles

I have installed a new Magento install on my local machine and have given it a new theme. I updated the theme in the Config section in the admin, but the CSS for the theme is not being loaded. Instead,...
2
votes
2answers
13k views

how to remove css files from a custom template

I am using a separate template file only for one category For that i have set up a separate page layout everything is working fine content from my page.xml <page_product_view_brand translate="...
0
votes
2answers
3k views

Using SASS/COMPASS Framework

Has anyone using SASS/Compass framework with Magento. Is it worth using such frameworks? What is the preferred way of building responsive site with Magento.
2
votes
1answer
1k views

Is there a way to add a class name to a category link

I have a menu on my Magento website generated from my categories. For this menu I am using images. The problem is when I remove a category then the image for the links are not attach to the right ...
0
votes
2answers
2k views

How can I know which .css file is used for a certain template?

How can I get to know which styling file is used for a certain template. Because for the billing/shipping checkout templates, there is one css file used. But when I want to modify the template for ...
1
vote
1answer
114 views

Displaybug in Magento backend calendar

The calendar in magento backend double his width when I hover over the hour or minute field. An image show what I mean: hover, right the normal version) Language: german (de_DE) I have this in ...
0
votes
1answer
657 views

CSS onepagecheckout shows vertical

My Onepagecheckout displays vertical. It should look like this: goo.gl/5Hrh4D But now it's this: goo.gl/gV5Gkr I can't find the problem. Is there someone with experience of css/magento/opc who can ...
1
vote
1answer
808 views

Hoe to understand adding class with radio buttons

I've never really had an issue with JS in the past, but for some reason I can't seem to get some quite simple working! In a nutshell, I have some radio buttons, and they're contained in DD tags a few ...
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
950 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
140 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
294 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
438 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
182 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
360 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 ...
60
votes
15answers
40k 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 ...