Characteristic in radial display

  • Posts: 441
  • Thank you received: 24
11 years 6 months ago #136219

-- HikaShop version -- :2.2.3
-- Joomla version -- : 3.2
I would like to display the characteristic in radial wich i have chosen and it is displayed, but i also want to have the title of the characteristic in one line and the radial options below,

i mean:
COLOR:
·BLUE
·RED
·WHITE

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

  • Posts: 12953
  • Thank you received: 1778
11 years 6 months ago #136238

Hi,
A solution can be to use some CSS code like :

.hikashop_product_characteristics_table td input, .hikashop_product_characteristics_table td {
display: block;
}
or :
.hikashop_product_characteristics_table td input {
display: block;
}

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

  • Posts: 441
  • Thank you received: 24
11 years 6 months ago #136240

That worked but another question:
how can i add a class to the first row to make the title bigger:
So the characterist name woudl be
Color - font-size 36 and color red
Red - normal
White
Blue

----OTHER ONE


how can i add a separator between options in title so when the product is tshirt the name with options it would be tshirt red xl
and i would like it to be tshirt | red | Xl for example

Last edit: 11 years 6 months ago by condorazul.

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

  • Posts: 13201
  • Thank you received: 2322
11 years 6 months ago #136268

Hi,

you can use:

.hikashop_product_characteristics_table td input:first, .hikashop_product_characteristics_table td:first {
font-size: 36px;
color: red;
}

For the separator, you actually have to edit a core file: "administrator/components/com_hikashop/classes/product.php" in the function "checkVariant()" replace:
$separator = $config->get('characteristics_values_separator',' ');
By:
$separator = $config->get('characteristics_values_separator',' | ');

Then in the language file (Configuration > Language) add this translation override:
HIKA_VARIANT_SEPARATOR=" "

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

  • Posts: 441
  • Thank you received: 24
11 years 6 months ago #136300

Css did not worked:
.hikashop_product_characteristics_table td input:first, .hikashop_product_characteristics_table td:first {
font-size: 36px;
color: red;
}

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

  • Posts: 83995
  • Thank you received: 13605
  • MODERATOR
11 years 6 months ago #136315

Then please provide a link to that page.

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

Time to create page: 0.085 seconds
Powered by Kunena Forum