If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / How to change category box size and placing "your cart is empty"

How to change category box size and placing "your cart is empty"

Started by nandor on 14 Mar 2013, 9:53 PM · Views: 911

Results 1 to 9 of 9
14 Mar 2013, 9:53 PM
#1
nandor avatar

nandor

Zen Follower

Join Date:
Sep 2012
Posts:
104
Plugin Contributions:
0

How to change category box size and placing "your cart is empty"

Hi All!

I'd like to resize the category box (where the two subcategory images are) it is too wide, i suppose it is in some of the stylesheet.css-files but havent been able to figure out which one, which line.

And then there is this naughty shopping cart : your cart is empty text. If its empty it is not under the shopping cart line. i found it file : stylesheet boxes.css. there was :
#shoppingcart #cartBoxEmpty {text-align:center;}

i rewrote it to : left. But then it went too far left, almost out of the site. Is it possible to place it under the shopping cart text?

Attachment 12160

http://szeghalmys.com/index.php?main_page=index&cPath=44

Text is in right place (under shopping cart text) if main page text or something is displayed in the center, or if you have something in your cart.

thanks

Nandor

14 Mar 2013, 10:18 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How to change category box size and placing "your cart is empty"

I usually do not post about Template Monster templates but....
Change the stylesheet for the boxes

#shoppingCart #cartBoxEmpty {
        text-align: left;
        margin-left: 5em;
        }

Zen-Venom Get Bitten

14 Mar 2013, 10:38 PM
#3
nandor avatar

nandor

Zen Follower

Join Date:
Sep 2012
Posts:
104
Plugin Contributions:
0

Re: How to change category box size and placing "your cart is empty"

kobra:

I usually do not post about Template Monster templates but....
Change the stylesheet for the boxes

#shoppingCart #cartBoxEmpty {
text-align: left;
margin-left: 5em;
}


thanks for your help. I tried it. But this margin left doesnt seem to do anyting. it is still too to the left (as if only the text-align: left, would have worked

thanks in advance

Nandor
15 Mar 2013, 12:05 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How to change category box size and placing "your cart is empty"

Make it it's own entry

#cartBoxEmpty {
        text-align: left;
        margin-left: 5em;
        }

Zen-Venom Get Bitten

15 Mar 2013, 7:28 AM
#5
nandor avatar

nandor

Zen Follower

Join Date:
Sep 2012
Posts:
104
Plugin Contributions:
0

Re: How to change category box size and placing "your cart is empty"

kobra:

Make it it's own entry

#cartBoxEmpty {
text-align: left;
margin-left: 5em;
}


I pasted it as an own entry. It moves the text a bit but it is still in the middle, rather than under the shopping cart line. 
Maybe if i would move the category box to the left and could resize it to smaller, that would be good.
Do you know where to cange the size and place of these boxes?
Thanks

Nandor
15 Mar 2013, 8:10 AM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How to change category box size and placing "your cart is empty"

I do not see where you have applied this change??

Zen-Venom Get Bitten

15 Mar 2013, 8:22 AM
#7
nandor avatar

nandor

Zen Follower

Join Date:
Sep 2012
Posts:
104
Plugin Contributions:
0

Re: How to change category box size and placing "your cart is empty"

kobra:

I do not see where you have applied this change??

i changed it back to original. But i did it again now. have a look please.
Thats the difference.

http://szeghalmys.com/index.php?main_page=index&cPath=44

15 Mar 2013, 8:27 AM
#8
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How to change category box size and placing "your cart is empty"

You have left the original entry

#cartBoxEmpty {
        text-align: left;
        margin-left: 5em;
        }
#shoppingcart {}
#shoppingcart .cart_line {}
#shoppingcart #cartBoxEmpty {text-align:center;}

Change these to

#cartBoxEmpty {
        text-align: left;
        margin-left: 5em;
        }
#shoppingcart {}
#shoppingcart .cart_line {}
#shoppingcart  {text-align:left;}

Zen-Venom Get Bitten

15 Mar 2013, 8:35 AM
#9
nandor avatar

nandor

Zen Follower

Join Date:
Sep 2012
Posts:
104
Plugin Contributions:
0

Re: How to change category box size and placing "your cart is empty"

kobra:

You have left the original entry

#cartBoxEmpty {
text-align: left;
margin-left: 5em;
}
#shoppingcart {}
#shoppingcart .cart_line {}
#shoppingcart #cartBoxEmpty {text-align:center;}

> Change these to
> ```
#cartBoxEmpty {
        text-align: left;
        margin-left: 5em;
        }
#shoppingcart {}
#shoppingcart .cart_line {}
#shoppingcart  {text-align:left;}

Its perfect!!!! Thanks Kobra!!!!!!
I did as instructed, but after a trying i changed the margin left to 4em (i fidured its meaning in the meantime)
because the german - your cart is empty is a bit longer. But it is perfect now.
it looks like this now :
**#cartBoxEmpty {
text-align: left;
margin-left: 4em;
}
#shoppingcart {}
#shoppingcart .cart_line {}
#shoppingcart {text-align:left;}
#shoppingcart li a{
background:none;
padding:0;
}
**

**I hope i wrote it in right order.

Do you know about my other problem? The category box. In which css file, row ca i look for it?
I have two problems with it. Its outer box line is too big, it was smaller in original and the whole box with the subcategories images is too in the right.

thanks in advance

Nandor**