- Posts: 20
- Thank you received: 0
Change buttom size "Add to cart"
-
sofaya
Inactive member -
Topic Author
- Member
-
Less
More
13 years 11 months ago #7307
by sofaya
Change buttom size "Add to cart" was created by sofaya
Hi!, Plss help with sthg :S : I would like to change the buttom size "Add to cart", because i am using another language and the text is longer than the default. I was trying to look for in CSS templates but I couldn´t find something that change this buttom size.
I am new with joomla templates :S, but I am trying to do my best effort
. Tks for your help!
rgds.
Sofía
I am new with joomla templates :S, but I am trying to do my best effort

rgds.
Sofía
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 11 months ago #7318
by ivan.milic
Replied by ivan.milic on topic Re: Change buttom size "Add to cart"
Hi,
open
components\com_virtuemart\themes\hot_furniture\theme.css
you can change widths from there.
Note that you will have to change this image (resize):
templates\hot_furniturestore\images\add-to-cart_box.png
open
components\com_virtuemart\themes\hot_furniture\theme.css
you can change widths from there.
Note that you will have to change this image (resize):
templates\hot_furniturestore\images\add-to-cart_box.png
Please Log in to join the conversation.
-
sofaya
Inactive member -
Topic Author
- Member
-
Less
More
- Posts: 20
- Thank you received: 0
13 years 11 months ago #7325
by sofaya
Replied by sofaya on topic Re: Change buttom size "Add to cart"
Ok. I will do as per your advice. Tks a lot!! 
I love this forum, I always have answer to all my queries
.

I love this forum, I always have answer to all my queries

Please Log in to join the conversation.
-
sofaya
Inactive member -
Topic Author
- Member
-
Less
More
- Posts: 20
- Thank you received: 0
13 years 11 months ago #7386
by sofaya
Replied by sofaya on topic Re: Change buttom size "Add to cart"
Hi,
I've tried according to your guidelines, however now the add box image dissapeared
.
CSS file - Changed the width to 140px
.addtocartfield, .vmCartContainer
{
background: url(../../../../templates/hot_fashionstore/images/add-to-cart_box.png) no-repeat bottom left;
width:140px;
height:28px;
margin:0 auto 45px auto;
text-align:left;
Image was resized and saved it:
templates\hot_furniturestore\images\add-to-cart_box.png
My site: www.dsofaya.com/Joomla/index.php?option=...ory_id=14&Itemid=150 .
I also tried to save the image with other name and linked it, but it didn´t work.
Pls, your answer is welcome.
rgds.
Sofía
I've tried according to your guidelines, however now the add box image dissapeared

CSS file - Changed the width to 140px
.addtocartfield, .vmCartContainer
{
background: url(../../../../templates/hot_fashionstore/images/add-to-cart_box.png) no-repeat bottom left;
width:140px;
height:28px;
margin:0 auto 45px auto;
text-align:left;
Image was resized and saved it:
templates\hot_furniturestore\images\add-to-cart_box.png
My site: www.dsofaya.com/Joomla/index.php?option=...ory_id=14&Itemid=150 .
I also tried to save the image with other name and linked it, but it didn´t work.
Pls, your answer is welcome.
rgds.
Sofía
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 11 months ago #7387
by ivan.milic
Replied by ivan.milic on topic Re: Change buttom size "Add to cart"
Something wrong with your image. Do you have ; - semicolon after:
background: url(../../../../templates/hot_fashionstore/images/add-to-cart_box.png) no-repeat
?
background: url(../../../../templates/hot_fashionstore/images/add-to-cart_box.png) no-repeat
?
Please Log in to join the conversation.
-
sofaya
Inactive member -
Topic Author
- Member
-
Less
More
- Posts: 20
- Thank you received: 0
13 years 11 months ago #7389
by sofaya
Replied by sofaya on topic Re: Change buttom size "Add to cart"
This is the code, actually it is the same code that came with the original file hotstore. It should be linked with the new image automatically (it has the same name) :$
background: url(../../../../templates/hot_fashionstore/images/add-to-cart_box.png) no-repeat bottom left;
background: url(../../../../templates/hot_fashionstore/images/add-to-cart_box.png) no-repeat bottom left;
Please Log in to join the conversation.
Time to create page: 0.126 seconds