Change buttom size "Add to cart"

  • sofaya
    Inactive member
  • Topic Author
  • Member
  • Member
More
12 years 11 months ago #7307 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

Please Log in to join the conversation.

More
12 years 11 months ago #7318 by ivan.milic
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

Please Log in to join the conversation.

  • sofaya
    Inactive member
  • Topic Author
  • Member
  • Member
More
12 years 11 months ago #7325 by sofaya
Ok. I will do as per your advice. Tks a lot!! :)

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
  • Member
More
12 years 11 months ago #7386 by sofaya
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

Please Log in to join the conversation.

More
12 years 11 months ago #7387 by ivan.milic
Something wrong with your image. Do you have ; - semicolon after:

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
  • Member
More
12 years 11 months ago #7389 by sofaya
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;

Please Log in to join the conversation.

Time to create page: 0.353 seconds
Powered by Kunena Forum