| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Firebug showing main.css styles which aren't there! | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi, I've been editing a site for a client, and Firebug has started showing styles which aren't in the CSS file it says they are.
For example, I've been trying to edit the 'Checkout' button on the first page of Fast Lane Checkout (the one with the arrow pointing right), and according to Firebug, the following style starts at line 56 of main.css: div.flc-3-button { background:url("../../images/but_flc_arrow_right.png") no-repeat scroll right top transparent; padding-right:30px; } But it definitely isn't there, there is no flc-3-button class in main.css. When I turn off the rule for the background, in Firebug, it turns it off, so it definitely must be coming from somewhere! Has anybody come across this, or is it something obvious that I'm missing? The HTML that this style applies to is: Code:
__________________
X-Cart Gold Version 4.3.2 |
|||||||
#2
|
|||||||
|
|||||||
![]() Fast Lane Checkout has its own main.css - in skin1/modules/Fast_Lane_Checkout
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
#3
|
|||||||
|
|||||||
![]() Firebug in that regard cannot always be trusted. If you look, all the classes will probably be on the same line when they're not.
The class you want is in another file, probably altskin.css edit: or what balinor said, didn't notice it was a FLC class. |
|||||||
#4
|
|||||||
|
|||||||
![]() Thanks Balinor! How crafty of them! I would have thought that giving it another name, like main_fastlane.css or something like that, would have been a bit clearer!
(One can never expect the obvious with X-Cart!) Still, having a separate CSS file just for Fastlane Checkout is a good idea, it's easier to work on that one part of the store when you have a smaller CSS file to edit.
__________________
X-Cart Gold Version 4.3.2 |
|||||||
#5
|
|||||||
|
|||||||
![]() I've always found Firebug very reliable. When it says main.css or whichever css file, make sure you hover over the style sheet name and it should show the actual path.
__________________
Jonathon Prevost X-Cart Gold 4.2.X & 4.1.X & 4.3 We've worked with a variety of addon modules as well such as Special Offers, AOM, X-Configurator, X-Magnifier, Smasher Smart Search, Fedex Modules, CDSEO and many other Custom X-Cart Modifications. Sports Training Hockey Sticks |
|||||||
|
#6
|
|||||||
|
|||||||
![]() Yea, never had a reason to doubt Firebug
![]()
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#7
|
|||||||
|
|||||||
![]() Maybe it just hates me
![]() Unless its on localhost, all the classes show as main.php and on the same line. Hovering over doesn't do anything. |
|||||||
#8
|
|||||||
|
|||||||
![]() Sounds like you have a bad install - it is a great tool and I have never run into a bug on it.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#9
|
|||||||
|
|||||||
![]() |
|||||||
#10
|
|||||||||
|
|||||||||
![]() Hi Tal -
For these forums, Firebug is correctly showing that there is no separate style sheet - the style is in the header of the php file.
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold (CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module) |
|||||||||
|
|||
X-Cart forums © 2001-2020
|