Page 1 of 1
emptyMiniBasket Style
Posted: Thu Feb 21, 2008 4:09 pm
by Hostmaster
I found the emptyMiniBasket Style in the CSS, However when I adjust it I can not notice any changes in the style of the Empty mini Basket.
My Goal is to adjust the Height of the Empty Mini Basket to be the same as if it had 1 product in it, and while empty have a Empty Image in it to take up the space.
Trying to keep the site some what symmetrical for the end client,
Any Ideas?
Posted: Thu Feb 21, 2008 4:22 pm
by Hostmaster
I opened up
and changed line 85
From
<asp:Panel ID="EmptyBasketPanel" runat="server" CssClass="emptyBasketDialogPanel"
To
<asp:Panel ID="EmptyBasketPanel" runat="server" CssClass="emptyMiniBasket"
and this achieved the effect I wanted
Posted: Thu Feb 21, 2008 6:01 pm
by AbleMods
So in other words, you changed the wrong CSS style in the beginning or is that style reference missing from the style sheet?
Posted: Fri Feb 22, 2008 7:50 am
by Hostmaster
Joe
I opened the original \ConLib\MiniBasket.ascx and on line 85 it has
<asp:Panel ID="EmptyBasketPanel" runat="server" CssClass="emptyBasketDialogPanel" Visible="false">
Which I replaced with
<asp:Panel ID="EmptyBasketPanel" runat="server" CssClass="emptyMiniBasket" Visible="false">
To achieve my desired effect.
In the Style sheet styles for the mini basket section line 1308. The style .emptyMiniBasket
Was what I am and was trying to use.
While I think this was an error on my part as I should have originally search the CSS for emptyBasketDialogPanel which I found this morning at line 1457 in div.emptyBasketDialogPanel and div.emptyBasketDialogPanel span Message.
The first Css description originally had no effect, and I have not yet tested the div.emptyBasketDialogPanel CSS.
It was very misleading, so much so at least to me, that I opened a Bug report on it.
It was not my intention to mislead anybody, and perhaps this post will help others avoid this mistake, As your post help me look at it from a slightly different angle.
Posted: Fri Feb 22, 2008 8:00 am
by AbleMods
edit your previous post and disable HTML, your code snippets didn't come through.
Posted: Fri Feb 22, 2008 8:24 am
by Hostmaster
Thanks Joe I did so and disable HTML on my profile, as its likely to be place into the forum a lot

Posted: Fri Feb 22, 2008 9:13 am
by AbleMods
No problem. That file is huge and with all the styling done in AC7, naming gets tricky after a while.
Appreciate you taking the time to document it as others can now benefit from your experience.