emptyMiniBasket Style

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
Hostmaster
Commander (CMDR)
Commander (CMDR)
Posts: 126
Joined: Fri Jan 04, 2008 3:30 pm
Location: Melbourne Fl
Contact:

emptyMiniBasket Style

Post by Hostmaster » Thu Feb 21, 2008 4:09 pm

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?

User avatar
Hostmaster
Commander (CMDR)
Commander (CMDR)
Posts: 126
Joined: Fri Jan 04, 2008 3:30 pm
Location: Melbourne Fl
Contact:

Post by Hostmaster » Thu Feb 21, 2008 4:22 pm

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

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Post by AbleMods » Thu Feb 21, 2008 6:01 pm

So in other words, you changed the wrong CSS style in the beginning or is that style reference missing from the style sheet?
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

User avatar
Hostmaster
Commander (CMDR)
Commander (CMDR)
Posts: 126
Joined: Fri Jan 04, 2008 3:30 pm
Location: Melbourne Fl
Contact:

Post by Hostmaster » Fri Feb 22, 2008 7:50 am

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.
Last edited by Hostmaster on Fri Feb 22, 2008 8:08 am, edited 1 time in total.

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Post by AbleMods » Fri Feb 22, 2008 8:00 am

edit your previous post and disable HTML, your code snippets didn't come through.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

User avatar
Hostmaster
Commander (CMDR)
Commander (CMDR)
Posts: 126
Joined: Fri Jan 04, 2008 3:30 pm
Location: Melbourne Fl
Contact:

Post by Hostmaster » Fri Feb 22, 2008 8:24 am

Thanks Joe I did so and disable HTML on my profile, as its likely to be place into the forum a lot :lol:

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Post by AbleMods » Fri Feb 22, 2008 9:13 am

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.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

Post Reply