Standardizing the product box length

  • Posts: 19
  • Thank you received: 0
12 years 4 months ago #52744

Where can I change the settings to standardize the length of the product boxes. Some of my product names are too long and extend to the next line which maakes the box longer. How can i make the smaller boxes bigger so that all the product boxes are the sane size?

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
12 years 4 months ago #52762

Hello,

I think that you can maybe :

- Go to " Hikashop -> Display -> Content menu -> 'YOUR MENU' "
- set the "Item box margin" to 1

And if it's not enough I think that you'll have to change the CSS to reduce the product's name size.

The following user(s) said Thank You: ryand500

Please Log in or Create an account to join the conversation.

  • Posts: 19
  • Thank you received: 0
12 years 4 months ago #52770

Reducing the font size helped a bit. But i don't realy want to go to small is there any way I could just extend the boxes?

Please Log in or Create an account to join the conversation.

  • Posts: 82728
  • Thank you received: 13343
  • MODERATOR
12 years 4 months ago #52865
The following user(s) said Thank You: ryand500

Please Log in or Create an account to join the conversation.

  • Posts: 19
  • Thank you received: 0
12 years 4 months ago #52895

Thanks a ton nicolas, it works perfectly
your a genius... :)

Please Log in or Create an account to join the conversation.

  • Posts: 9
  • Thank you received: 1
11 years 3 months ago #116182

That works like a charm but still the add to cart buttons and rating are not in sync



Any way to do that?

can we just set the default space taken by name = 2 lines?

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
11 years 3 months ago #116185

Hi,

Can I have a link to your website for testing purpose then I'll probably be able to give you better indication about the CSS code to use ?

Thanks :).

Please Log in or Create an account to join the conversation.

  • Posts: 9
  • Thank you received: 1
11 years 3 months ago #116197

I'm making it on wamp server :)
I'm using leo restro template does that help?

Last edit: 11 years 3 months ago by rahulmalik17.

Please Log in or Create an account to join the conversation.

  • Posts: 2334
  • Thank you received: 403
11 years 3 months ago #116217

Hi there,

Actually the only solution in your case is to look at the html and css of the page (you can for example do a right click on the button and use the "inspect element" function of your browser) in order to see which css property could solve the problem.
In you case, I think it wont be easy because the button is simply aligned on the vote and product name. So if you look, the space between the stars and the button is always the same.
A solution is to set an absolution position for your buttons but it's not very convenient.
I hope it helped.

The following user(s) said Thank You: rahulmalik17

Please Log in or Create an account to join the conversation.

  • Posts: 60
  • Thank you received: 1
10 years 11 months ago #132822

I know its an old post but I thought I will post the solution I use.

Just add below lines to the custom.css

span.hikashop_product_name {
min-height: 40px;
}

I hope this helps.

Thanks and regards
Yogi
www.barnetpcservices.com

Please Log in or Create an account to join the conversation.

Time to create page: 0.127 seconds
Powered by Kunena Forum